Campbell-scientific LoggerNet-SDK Software Development Kit Manual de usuario Pagina 163

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 178
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 162
Section 19. CsiLogMonitor Control Reference
Table of Possible failure codes.
Enumeration Name Value Description
lm_failure_unknown 0 Indicates that an error has occurred
but its nature is unknown
lm_failure_session_failure 1 Indicates that communication with
the LoggerNet server failed resulting
in a failed session
lm_failure_invalid_logon 2 Indicates that this control was unable
to logon to the LoggerNet server
because either the logonName or
logonPassword property is incorrect
lm_failure_server_security_
blocked
3 Indicates that the account specified
by logonName does not have
sufficient privileges to start this
transaction with the LoggerNet
server
lm_failure_unsupported_tran
saction
4 This version of the LoggerNet server
does not support this transaction
lm_invalid_log_id 5 The log ID is not valid.
Note: this ID is only used internally
by the LogMonitor control
lm_failure_server_cancelled 6 The LoggerNet server is shutting
down the connection
LogMonitor_onCommLogRecord()
Name
LogMonitor.onCommLogRecord(Date timestamp, String
comm_log_record)
Description
When actively monitoring the communication log, this event is triggered when
a new log record is passed from the LoggerNet server. The communication log
entry is a string that contains the station name, message type, and message.
Possible message types include “S” for Status, “W” for Warning, and “F” for
failure.
LogMonitor_onServerConnectFailure()
Name
onServerConnectFailure(server_failure_type
failure_code)
19-9
Vista de pagina 162
1 2 ... 158 159 160 161 162 163 164 165 166 167 168 ... 177 178

Comentarios a estos manuales

Sin comentarios