Campbell-scientific LoggerNet-SDK Software Development Kit Manuale Utente Pagina 111

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 178
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 110
Section 17. CsiDatalogger Control Reference
Datalogger.serverConnect()
Name
Datalogger.serverConnect()
Description
This method attempts to connect to the LoggerNet server using the previously
set properties: serverName, serverPort, serverLogonName, and
serverLogonPassword. This method triggers onServerConnectStarted or
onServerConnectFailure depending on its success or failure.
COM Return Values
Table of Possible Values
Code Meaning
S_OK
Success: Normal return
E_CSI_BAD_HOST_OR_PORT
Error: Server name or port is invalid or
unreachable
E_CSI_ALREADY_CONNECTED
Error: Already connected to the
LoggerNet server
Datalogger.serverDisconnect()
Name
Datalogger.serverDisconnect()
Description
This method will disconnect from the LoggerNet server. This method will set
serverConnected to FALSE and should only be called when the value of
serverConnected is TRUE.
COM Return Values
Table of Possible Values
Code Meaning
S_OK
Success: Normal return
17.1.3 Events
Datalogger_onClockComplete()
Name
onClockComplete(Boolean successful,
clock_outcome_type response_code, Date current_date)
17-13
Vedere la pagina 110
1 2 ... 106 107 108 109 110 111 112 113 114 115 116 ... 177 178

Commenti su questo manuale

Nessun commento