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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 32
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 11
Section 2. SimplePB.DLL Reference
2.3 OpenIPPort()
Opens an IP port to allow a connection to a datalogger.
Syntax
OpenIPPort(ip_address, tcp_port)
Parameters
ip_address: String – A valid IP address for the datalogger.
tcp_port: Integer – The port that will be used when communicating with the
datalogger.
Return Codes
0 = Successful.
-1 = IP port failed to open or is already open.
2.4 CloseIPPort()
Closes the previously opened IP port.
Syntax
CloseIPPort()
Return Codes
0 = Successful.
-1 = IP port failed to close or was not open.
2.5 GetClock()
Query the datalogger for its current date and time.
Syntax
GetClock(pakbus_address, device_type, return_data, return_data_len)
Parameters
pakbus_address: Integer – The PakBus address of the datalogger.
2-2
Vista de página 11
1 2 ... 7 8 9 10 11 12 13 14 15 16 17 ... 31 32

Comentários a estes Manuais

Sem comentários