Com return values, Datalogger_onloggerconnectfailure(), Name – Campbell Scientific LoggerNet-SDK Software Development Kit User Manual

Page 113: Description, Parameter, Or onloggerconnectfailure, de

Advertising
background image

Section 17. CsiDatalogger Control Reference

Enumeration Name

Value

Description

co_outcome_invalid_device_name

9

Indicates that the device named by
loggerName was not found in the broker
map

co_outcome_unsupported 10

Indicates that the device “loggerName”
does not support this transaction

co_outcome_cancelled 11

Indicates

that a previous clock check or

set command was cancelled successfully

co_outcome_device_busy

12

Indicates the datalogger is busy with
another transaction

COM Return Values

Table of Possible Values

Code Meaning

S_OK

Success: Normal return

Datalogger_onLoggerConnectFailure()

Name

onLoggerConnectFailure(logger_failure_type fail_code)

Description

This event indicates there was an error when making an persistent connection
with the specified datalogger.

Parameter

Table of fail_code values.

Enumeration Name

Value

Description

lf_failure_unknown

0

Indicates that an error has occurred but its
nature is unknown

lf_failure_unexpected 1

Indicates than an unexpected error has
occurred

lf_failure_connection_failed

2

Indicates that the connection failed. This
can happen if a connection has been
successfully established but then lost or an
invalid serverName or serverHostPort
property value was specified. This type of
failure can also occur if the IP stack on the
server host or on the host for this
application is not configured correctly.

17-15

Advertising