Com return values, Advisor.state, Name – Campbell Scientific LoggerNet-SDK Software Development Kit User Manual
Page 141: Description, Advisor.stationname, Stationname

Section 18. CsiDataSource Control Reference
COM Return Values
Table of Possible Values
Code Meaning
S_OK
Success: Normal return
E_CSI_BUSY
Error: The Advisor is started and already accessing the
LoggerNet server data
Advisor.state
Name
Advisor.state As advisor_state
Description
This property returns the current state of the advisor. The following table
describes the states that might be returned:
Table of possible advisor_state values
Enumeration Name
Value
Description
advisorStopped
1
The advisor is stopped and its properties can be modified. This
is the default state when an advisor is created.
advisorStarting
2
The control is starting but is not yet in a state to listen for data.
No properties can be set at this point. The control is in a state
where none of its properties can be set.
advisorStarted
3
The advisor is waiting for data from the server and will notify
the client through onAdviseRecord when new data arrives.
COM Return Values
Table of Possible Values
Code Meaning
S_OK
Success: Normal return
Advisor.stationName
Name
Advisor.stationName As String
Description
This property describes the name of the station that will be monitored for data.
Whenever this property is set, the DataColumns in the DataColumnCollection
for this advisor are removed in order to avoid having invalid columns in the
collection for a station and table.
18-17