Parameters – Campbell Scientific LoggerNet Server SDK User Manual

Page 119

Advertising
background image

Section 17. CsiDatalogger Control Reference

Parameters

successful: Describes if the programSendStart was successful.
response_code: Found in the table of possible response codes.
compile_result: Result string from the datalogger.

Table of possible response codes.

Enumeration Name

Value

Description

ps_outcome_unknown

0

Indicates that an error has occurred but its
nature is unknown

ps_outcome_success 1

Indicates

that the program was sent

successfully

ps_outcome_in_progress

2

Indicates that another program file send
transaction is already in progress

ps_outcome_invalid_program_name

3

Indicates that the program specified to send is
invalid or non-existent

ps_outcome_server_resource_error 4 Indicates that the LoggerNet server has

encountered a resource error

ps_outcome_communication_failed

5

Indicates that the connection failed. This can
happen if a connection has been successfully
established but then lost or because an invalid
serverName or serverPort 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.

ps_outcome_communication_disabled

6

Indicates that LoggerNet has not been set up
to communicate with this datalogger

ps_outcome_logger_compile_error

7

Indicates that the datalogger was unable to
compile the program. The program should be
reviewed for errors and resent to the
datalogger

ps_outcome_logger_security_failed 8 Indicates that the LoggerNet server can not

communicate with the datalogger because the
datalogger security code is incorrect

ps_outcome_invalid_logon 9

Indicates

that the property serverLogonName

or serverLogonPassword is invalid

ps_outcome_session_failed

10

Indicates that the communication session with
the server failed causing the program send
transaction to fail

ps_outcome_invalid_device_name

11

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

17-21

Advertising