Section 2. SimplePB.DLL Reference
Compile Status: Datalogger Program Running
Program Name: BATT.CR2
Program Sig.: 54451
Compile Result: Program Running
Batt=12.38V
2.15 GetTableNames()
Query the datalogger for its table names and numbers.
Syntax
GetTableNames (pakbus_address, device_type, return_data, return_data_len)
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
return_data: Char – The location in memory where the data returned from the
datalogger exists.
return_data_len: Integer – Number of bytes in the data returned from the
datalogger.
Return Codes
0 = Successful.
-1 = Communication timed out.
-2 = Cannot read table definitions from the datalogger.
Example of data returned by function call
1 Status
2 DataTable1
3 DataTable2
4 Public
2-12
Summary of Contents for BMP5 Direct SDK
Page 2: ......
Page 8: ......
Page 10: ...Section 1 BMP5 Direct SDK Overview 1 2 ...
Page 31: ......