Datalogger.manualpollcancel(), Name, Description – Campbell Scientific LoggerNet Server SDK User Manual

Page 107: Com return values, Datalogger.manualpollstart()

Advertising
background image

Section 17. CsiDatalogger Control Reference

Datalogger.manualPollCancel()

Name

Datalogger.manualPollCancel()

Description

This method should be called to cancel a manualPollStart() command. If the
manual poll was successfully cancelled, then the event
onManualPollComplete(), will return a cancellation code. If the
manualPollCancel() was called too late in the manual poll process, then the
event onManualPollComplete(), will return either a success or failure code
instead. This method should only be called when a manual poll is in process.

COM Return Values

Table of Possible Values

Code Meaning

S_OK

Success: Normal return

Datalogger.manualPollStart()

Name

Datalogger.manualPollStart()

Description

This method should be called when the client desires to perform a manual poll
of the specified datalogger. This method should only be called when the value
of serverConnected, is TRUE. If not, this method will return

E_CSI_NOT_CONNECTED

. Upon completion, this method calls the event

onManualPollComplete().

COM Return Values

Table of Possible Values

Code Meaning

S_OK

Success: Normal return

E_CSI_BUSY

Error: Manual poll communication is busy
servicing a request

E_CSI_FAIL

Error: Unexpected error

E_CSI_NOT_CONNECTED

Error: Not connected to the LoggerNet server

17-9

Advertising