Datalogger_onmanualpollcomplete(), Name, Description – Campbell Scientific LoggerNet Server SDK User Manual

Page 115: Parameters

Advertising
background image

Section 17. CsiDatalogger Control Reference

Datalogger_onManualPollComplete()

Name

onManualPollComplete(Boolean successful,
manual_poll_outcome_type response_code) — A response from
the server upon the completion of a manual poll transaction.

Description

A response from the LoggerNet server upon the completion of a manual poll.

Parameters

success: Describes whether the manual poll was successful.

response_code:The following list describes the possible response codes from a
manual poll transaction.

Table of response_code values.

Enumeration Name

Value

Description

mp_outcome_unknown

0

Indicates that an error has occurred but its
nature is unknown

mp_outcome_success 1

Indicates

that the manual poll was successful

on the specified datalogger

mp_outcome_invalid_logon

2

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

mp_outcome_server_session_failed 3

Indicates that the communication session
with the server failed resulting in the manual
poll transaction failing

mp_outcome_invalid_device_name

4

Indicates that the datalogger device
“loggerName” was not found in the broker
map

mp_outcome_unsupported

5

Indicates that the device does not support the
manual poll transaction

mp_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

mp_outcome_logger_security_blocked

7

Indicates that security is set on the datalogger
blocking this transaction

mp_outcome_comm_failure

8

Indicates that there was a communication
failure between the LoggerNet server and the
datalogger. If this happens, retry the
transaction

17-17

Advertising