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

Section 17. CsiDatalogger Control Reference
Datalogger_onProgramReceiveComplete()
Name
onProgramReceiveComplete(Boolean successful,
prog_receive_outcome_type response_code)
Description
This event gets called when the method programReceiveStart() has completed.
Parameters
successful: Describes if the program was retrieved successfully.
response_code:
Table of possible response codes.
Enumeration Name
Value
Description
pr_success 0
Indicates
that the program was received
successfully
pr_failure_unknown
1
Indicates that an unknown failure has
occurred
pr_failure_no_cached_file 2
Indicates
that the datalogger does not have a
file to receive
pr_failure_logger_communication_error
3
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.
pr_failure_disabled_communication
4
Indicates that LoggerNet has not been set up
to communicate with this datalogger
pr_failure_logger_security
5
Indicates that the LoggerNet server can not
communicate with the datalogger because
the datalogger security code is incorrect
pr_failure_invalid_server_logon
6
Indicates that the serverLogonName or the
serverLogonPassword is incorrect
pr_failure_server_connection_failure
7
Indicates that the control could not connect
to the server
pr_failure_invalid_device_name
8
Indicates that the device set in the property
loggerName could not be found in the
network map
17-19