Datalogger_onserverconnectfailure(), Name, Description – Campbell Scientific LoggerNet-SDK Software Development Kit User Manual
Page 122: Parameters

Section 17. CsiDatalogger Control Reference
Enumeration Name
Value
Description
smp_outcome_server_security_blocked 6
Indicates that the account specified by
serverLogonName does not have sufficient
privileges assigned to start the transaction
with the LoggerNet server
smp_outcome_logger_security_blocked
7
Indicates that security is set on the datalogger
blocking this transaction
smp_outcome_comm_failure
8
Indicates that there was a communication
failure between the LoggerNet server and the
datalogger
smp_outcome_communication_disabled
9
Indicates that communication to this
datalogger has been disabled in the LoggerNet
server
smp_outcome_table_defs_invalid
10
Indicates that the table definitions in the
LoggerNet server do not match those in the
datalogger
smp_outcome_table_name_invalid
11
Indicates that the table specified was not
found
smp_outcome_file_io_failure
12
Indicates that the LoggerNet server could not
write to the data cache table
Datalogger_onServerConnectFailure()
Name
onServerConnectFailure(server_failure_type
failure_code)
Description
This event gets called if a connection cannot be established with the LoggerNet
server using the serverConnect() method.
Parameters
failure_code: The following are possible values for failure_code.
Table of possible failure codes
Enumeration Name
Value
Description
server_failure_unknown
0
Indicates that an unknown failure has occurred
server_failure_logon 1
Indicates
that
there was a failure connecting to the
LoggerNet server because either serverLogonName
or serverLogonPassword is incorrect
17-24