GetSampleInfo()

Returns the sample interval, sample count, and the date and time of the first data point in a binary file.

Member of the DataLogger class.

Function Prototype

VB .NET

Public Function GetSampleInfo(ByRef sampleInterval As Integer, ByRef sampleCount As Integer, ByRef startDate As Integer, ByRef startTime As Integer) As MccDaq.ErrorInfo

C# .NET

public MccDaq.ErrorInfo GetSampleInfo(ref int sampleInterval, ref int sampleCount, ref int startDate, ref int startTime)

Parameter

sampleInterval

The time, in seconds, between samples.

sampleCount

The number of samples contained in the file.

startDate

The date of the first data point logged in the file. Date values are packed in the following format:

Byte 0: day
Byte 1: month
Byte 2 - 3: year

startTime

The time when the first data point was logged in the file. Time values are packed in the following format:

Byte 0: seconds
Byte 1: minutes
Byte 2: hours
Byte 3: 0xff = 24hour format, 0x0 = AM, 0x1 = PM

Returns

Notes