Datalogger_onprogramsent(), Name, Description – Campbell Scientific LoggerNet-SDK Software Development Kit User Manual

Page 121: Com return values, Datalogger_onselectivemanualpollcomplete(), Parameters

Advertising
background image

Section 17. CsiDatalogger Control Reference

Datalogger_onProgramSent()

Name

onProgramSent()

Description

This event returns notification when the program has been sent but gets called
before the program has been compiled on the datalogger and table definitions
have been retrieved.

COM Return Values

Table of Possible Values

Code Meaning

S_OK

Success: Normal return

Datalogger_onSelectiveManualPollComplete()

Name

onSelectiveManualPollComplete(Boolean successful,

selective_manual_poll_outcome_type response_code)

Description

The response from the LoggerNet server when the selective manual poll
completes

Parameters

Table of response_code values

Enumeration Name

Value

Description

smp_outcome_unknown

0

Indicates that an unknown error as occurred

smp_outcome_success

1

Indicates that the selective manual poll was
successful

smp_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

smp_outcome_server_session_failed

3

Indicates that the communication session with
the server failed causing the selective manual
poll transaction to fail

smp_outcome_invalid_device_name

4

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

smp_outcome_unsupported

5

Indicates that the device does not support the
selective manual poll process

17-23

Advertising