Logmonitor_oncommlogrecord(), Name, Description – Campbell Scientific LoggerNet-SDK Software Development Kit User Manual
Page 163: Logmonitor_onserverconnectfailure()

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