Com return values, Record.valuescount, Name – Campbell Scientific LoggerNet Server SDK User Manual

Page 151: Description, 2 methods, Record.item()

Advertising
background image

Section 18. CsiDataSource Control Reference

COM Return Values

Table of Possible Values

Code Meaning

S_OK

Success: Normal return

Record.valuesCount

Name

Record.valuesCount As Long

Description

This read-only property returns the number of values in this record.

COM Return Values

Table of Possible Values

Code Meaning

S_OK

Success: Normal return

18.5.2 Methods

Record.Item()

Name

Record.Item(id) As Value

Description

This method returns a reference to a value found by the specified ID. A broker
can be referenced by an integer (a Long) or by the name of the broker (a
String). If the number is less than zero or is greater than the number of
brokers, then the COM error E_CSI_ARRAY_OUT_OF_BOUNDS will be
returned. If the broker cannot be found by name, then the COM error
E_CSI_NOT_FOUND will be returned.

18-27

Advertising