Advisor.maxrecordsperblock, Name, Description – Campbell Scientific LoggerNet-SDK Software Development Kit User Manual

Page 143: Com return values, 2 methods, Advisor.columns, Visual basic, Advisor.start()

Advertising
background image

Section 18. CsiDataSource Control Reference

Advisor.maxRecordsPerBlock

Name

Advisor.maxRecordsPerBlock As Long

Description

This property sets the maximum number of records that will be included in a
block of records received from LoggerNet if the sendRecordBlocks property is
set to TRUE.

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

18.2.2 Methods

Advisor.columns

Name

Advisor.columns() As Object

Description

This method returns a reference to the DataColumnCollection for this advisor,
which can be used to iterate through the DataColumns.

Visual Basic

Return Value
DataColumnCollection

Example
Dim dcc As DataColumnCollection

dcc = myAdvisor.Columns

Advisor.start()

Name

Advisor.start()

Description

This method starts the advisor to monitor data for a specified station, table, and
column. This is an asynchronous event that calls onAdvisorRecord(). If the
advisor fails the onAdvisorFailure() event will get called.

18-19

Advertising