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

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

Komentarze do niniejszej Instrukcji

Brak uwag