
Section 2. SimplePB.DLL Reference
return_data_len: Integer – Number of bytes in the data returned from the
datalogger.
Return Codes
0 = Successful.
-1 = Communication timed out.
-2 = Port is not open.
Example of data returned by function call
12.753,111.9,1.239
(Swath of 3 values from fields)
2.8 SetValue()
Set a value in the datalogger.
Syntax
SetValue(pakbus_address, device_type, table_name, field_name, value)
Parameters
pakbus_address: Integer – The PakBus address of the datalogger.
device_type: Integer – The type of datalogger:
•
1=CR200
•
2=CR10XPB, CR23XPB, CR510PB
•
3=CR1000
•
4=CR3000
•
5=CR800, CR850
table_name: String – The name of the table in which the field will be set.
field_name: String – The field that will be set with the new value.
value: String – The value used to set the field.
Return Codes
0 = Successful.
-1 = Communication timed out.
-2 = Port is not open.
2-5
Содержание BMP5 Direct SDK
Страница 2: ......
Страница 8: ......
Страница 10: ...Section 1 BMP5 Direct SDK Overview 1 2 ...
Страница 31: ......