Com return values, 2 methods, Datalogger.clockcancel() – Campbell Scientific LoggerNet-SDK Software Development Kit User Manual

Page 104: Name, Description, Datalogger.clockcheckstart()

Advertising
background image

Section 17. CsiDatalogger Control Reference

COM Return Values

Table of Possible Values

Code Meaning

S_OK

Success: Normal return

E_CSI_INVALIDARG Error: The port value is invalid

E_CSI_BUSY

Error: Attempt to set serverPort while connected
to the LoggerNet server

17.1.2 Methods

Datalogger.clockCancel()

Name

Datalogger.clockCancel()

Description

This method should be called to cancel either a clockCheckStart(), or a
clockSetStart(). If the clock set or clock check was successfully cancelled,
then the event onClockComplete(), will return a cancellation code. If the
clockCancel() was called too late in the process, then the event
onClockComplete(), will return either a success or failure code instead. This
method should only be called when the clockCheckStart() method or the
clockSetStart() method is in process.

COM Return Values

Table of Possible Values

Code Meaning

S_OK

Success: Normal return

Datalogger.clockCheckStart()

Name

Datalogger.clockCheckStart()

Description

This method should be called to check the date and time on a 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 will fire the event

onClockComplete.

17-6

Advertising