Com return values, Dsource.state, Name – Campbell Scientific LoggerNet-SDK Software Development Kit User Manual

Page 127: Description, Dsource.sendrecordblocks

Advertising
background image

Section 18. CsiDataSource Control Reference

COM Return Values

Table of Possible Values

Code Meaning

S_OK

Success: Normal return.

E_CSI_BUSY

Error: Cannot write to this property because
there is a connection to the LoggerNet server.

E_CSI_INVALIDARG Error: Value out of range.

DSource.state

Name

DSource.state As data_source_state

Description

This property describes the state of the control in regards to a connection with
the LoggerNet server. The following are the possible values of this property:

Table of Possible values.

Enumeration Name

Value

Description

dataSourceDisconnected 1 The

control is currently disconnected and its read/write

properties are accessible

dataSourceConnecting 2

The

connect method has been invoked and the control is

attempting to connect to the LoggerNet server.
Properties are read-only at this time

dataSourceConnected 3

The

connect method has been successfully invoked and

the control has a connection to the server. It is
appropriate at this time to create advisors and start them.

COM Return Values

Table of Possible Values

Code Meaning

S_OK

Success: Normal return.

DSource.sendRecordBlocks

Name

DSource.sendRecordBlocks As Boolean

Description

When set to TRUE, records will be sent back from LoggerNet to an Advisor in
blocks rather than one at a time. This is a more efficient method of receiving
records if a large number of records are being collected.

18-3

Advertising