![Campbell BMP5 Direct SDK Скачать руководство пользователя страница 11](http://html1.mh-extra.com/html/campbell/bmp5-direct-sdk/bmp5-direct-sdk_instruction-manual_3776422011.webp)
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
Содержание BMP5 Direct SDK
Страница 2: ......
Страница 8: ......
Страница 10: ...Section 1 BMP5 Direct SDK Overview 1 2 ...
Страница 31: ......