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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 32
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 19
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
Przeglądanie stron 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 ... 31 32

Komentarze do niniejszej Instrukcji

Brak uwag