Section 2. SimplePB.DLL Reference
2.3 OpenIPPort()
Opens an IP port to allow a connection to a datalogger.
Syntax
OpenIPPort(ip_address, tcp_port)
Parameters
ip_address: String – A valid IP address for the datalogger.
tcp_port: Integer – The port that will be used when communicating with the
datalogger.
Return Codes
0 = Successful.
-1 = IP port failed to open or is already open.
2.4 CloseIPPort()
Closes the previously opened IP port.
Syntax
CloseIPPort()
Return Codes
0 = Successful.
-1 = IP port failed to close or was not open.
2.5 GetClock()
Query the datalogger for its current date and time.
Syntax
GetClock(pakbus_address, device_type, return_data, return_data_len)
Parameters
pakbus_address: Integer – The PakBus address of the datalogger.
2-2
Summary of Contents for BMP5 Direct SDK
Page 2: ......
Page 8: ......
Page 10: ...Section 1 BMP5 Direct SDK Overview 1 2 ...
Page 31: ......