Campbell-scientific LoggerNet-SDK Software Development Kit Uživatelský manuál Strana 111

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 178
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 110
1 2 ... 106 107 108 109 110 111 112 113 114 115 116 ... 177 178

Komentáře k této Příručce

Žádné komentáře