beautypg.com

Description, Logmonitor_onserverconnectstarted(), Name – Campbell Scientific LoggerNet-SDK Software Development Kit User Manual

Page 164: Logmonitor_ontranlogfailure()

background image

Section 19. CsiLogMonitor Control Reference

Description

This event indicates there was an error with the connection to the LoggerNet
server. This event triggers when an error has occurred that affects the control
as a whole.

Table of Possible failure codes.

Enumeration Name

Value Description

server_failure_unknown

0

Indicates that an error has occurred
but its nature is unknown

server_failure_logon

1

Indicates that this control was unable
to logon to the LoggerNet server
because either the logonName or
logonPassword property is incorrect

server_failure_session

2

Indicates that the communication
session with the LoggerNet server
failed resulting in a failed transaction

server_failure_unsupported

3

The version of the LoggerNet server
does not support this transaction

server_failure_security 4 Indicates that the account specified

by logonName does not have
sufficient privileges to start this
transaction with the LoggerNet
server

server_failure_bad_host_or_
port

5

Indicates that either the serverName
or the serverPort property is
incorrect

LogMonitor_onServerConnectStarted()

Name

onServerConnectStarted()

Description

This event triggers when the LogMonitor control has connected to the
LoggerNet server.

LogMonitor_onTranLogFailure()

Name

onTranLogFailure(log_monitor_failure_type
failure_code)

19-10