Section 2. SimplePB.DLL Reference
Return Codes
0 = Successful.
1 = Success but more data to transfer.
-1 = Communication timed out.
-2 = Port is not open.
-3 = Cannot open source file.
-4 = File name is to long.
-5 = Datalogger timed out.
-6 = File offset does not match.
-7 = Datalogger reported an error.
-8 = File control error.
-9 = Cannot get program status.
Example of data returned from a CR1000
OS Version : CR1000.Std.05
OS Signature : 19128
Serial Number : 1031
PowerUp Progr : CPU:Program.cr1
Compile Status: Datalogger Program Running
Program Name : CPU:Program.cr1
Program Sig. : 32083
Compile Result: Compiled in SequentialMode.
2.13 GetAddress()
Query a datalogger for its PakBus address.
Syntax
GetAddress(device_type, return_data, return_data_len)
Parameters
Device: Integer –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.
2-10
Summary of Contents for BMP5 Direct SDK
Page 2: ......
Page 8: ......
Page 10: ...Section 1 BMP5 Direct SDK Overview 1 2 ...
Page 31: ......