Campbell-scientific BMP5 Direct SDK Instrukcja Użytkownika Strona 21

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 32
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 20
Section 2. SimplePB.DLL Reference
Return Codes
0 = Successful.
-1 = Communication timed out.
-2 = Port is not open.
Example of data returned by function call
PakBusAddress=1;
2.14 GetStatus()
Query the datalogger for its current status.
Syntax
GetStatus(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 = Port is not open
Example of data returned from a CR200
OS Version: v03A
OS Signature: 43529
Serial Number:
PowerUp Progr:
2-11
Przeglądanie stron 20
1 2 ... 16 17 18 19 20 21 22 23 24 25 26 ... 31 32

Komentarze do niniejszej Instrukcji

Brak uwag