Campbell-scientific BMP5 Direct SDK Manual do Utilizador Página 13

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 32
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 12
Section 2. SimplePB.DLL Reference
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 by function call
14:12:35 04/16/2004
2.6 SetClock()
Sets the date and time of the datalogger to match the PC clock.
Syntax
SetClock(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
2-3
Vista de página 12
1 2 ... 8 9 10 11 12 13 14 15 16 17 18 ... 31 32

Comentários a estes Manuais

Sem comentários