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

Page 140: Default value, Notes, Com return values, Advisor.startrecordnostring

Advertising
background image

Section 18. CsiDataSource Control Reference

Advisor.startRecordNo

Name

Advisor.startRecordNo As Long

Description

This property, in conjunction with the property startFileMarkNo, specifies the
first record to be sent when the value of startOption is equal to
csidsStartAtRecordId. Any value can be assigned to this property.

Default Value

The default value for this property is 0.

Notes

This property can be read at any time but can only be set when the state of the
property is advisorStopped. Internally the control and the LoggerNet server
treat this property as an unsigned 32-bit integer. Visual Basic and other
container environments, however, do not have the capability of formatting and
properly manipulating unsigned integers. Developers in these environments
should consider using the startRecordNoString property instead.

COM Return Values

Table of Possible Values

Code Meaning

S_OK

Success: Normal return.

E_CSI_BUSY

Error: Cannot write to property. Advisor has already
started. Stop the advisor first.

Advisor.startRecordNoString

Name

Advisor.startRecordNoString As String

Description

This property, in conjunction with startFileMarkNo, is used to specify the first
record to be sent when the value of startOption is equal to
csidsStartAtRecordId. This string should be formatted as an unsigned integer
with a range of 0 to 4294967295.

Default Value

The default value for this property is 0.

Notes

This property can be read at any time but can only be set when the state of the
property is advisorStopped.

18-16

Advertising