Com return values, Record.valuescount, Name – Campbell Scientific LoggerNet-SDK Software Development Kit User Manual
Page 151: Description, Change record.nanosec to record.nanoseconds, Record.nanoseconds

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
Change Record.nanoSec to Record.nanoSeconds
Record.nanoSeconds
Name
Record.nanoSeconds As Long
Description
This read-only property returns the sub-second resolutions of the timestamp
associated with the current record. This property can take on any value from 0
to 2147483647.
COM Return Values
Table of Possible Values
Code Meaning
S_OK
Success: Normal return
18-27