Section 2. SimplePB.DLL Reference
The SimplePB.DLL is a call-level API that does not need to be registered on
the PC. However, the SimplePB.DLL wrapper accesses and therefore requires
the included communications engine, CORALIB3D.DLL, to be installed in the
same folder. The SimplePB wrapper provides an easy interface through the
CORALIB3D.DLL communications engine to access a single datalogger. The
following commands are available in the SimplePB.DLL:
2.1 OpenPort()
Opens a COM port to allow a direct connection to the datalogger.
Syntax
OpenPort(com_port_no, baud)
Parameters
com_port_no: Integer – The COM port to open.
baud: Integer – The baud rate used by the COM port.
Return Codes
0: Integer – Successful.
-1: Integer – COM port failed to open or is already open.
2.2 ClosePort()
Closes the previously opened COM port.
Syntax
ClosePort()
Return Codes
0 = Successful.
-1 = COM port failed to close or was not open.
2-1
Summary of Contents for BMP5 Direct SDK
Page 2: ......
Page 8: ......
Page 10: ...Section 1 BMP5 Direct SDK Overview 1 2 ...
Page 31: ......