beautypg.com

Com return values, Advisor.stop(), Name – Campbell Scientific LoggerNet-SDK Software Development Kit User Manual

Page 144: Description, Advisor.variablesetcancel(), Parameter

background image

Section 18. CsiDataSource Control Reference

COM Return Values

Table of Possible Values

Code Meaning

S_OK

Success: Normal return

E_CSI_ALREADY_CONNECTED Error: This advisor has already been

started

E_FAIL

Error: An unexpected error has
occurred

Advisor.stop()

Name

Advisor.stop()

Description

This method will stop the advisor from monitoring the LoggerNet data cache
for transactions. When an advisor is stopped, its properties can be modified.

COM Return Values

Table of Possible Values

Code Meaning

S_OK

Success: Normal return.

Advisor.variableSetCancel()

Name

Advisor.variableSetCancel(Long tran_id)

Description

This method attempts to cancel a variableSetStart() transaction. The event
onVariableSetComplete() will notify you if the cancellation was successful.
This method should only be called when the state of advisorStarted is TRUE.

Parameter

tran_id: The unique transaction ID given by variableSetStart()

COM Return Values

Table of Possible Values

Code Meaning

S_OK

Success: Normal return

18-20