VeriStand .NET API Reference

DAQTaskAI.ReadSamples Property

Gets or sets the requested number of samples per channel to read at a time. This property is valid if AutomaticReadSize is false (False in Visual Basic).

Namespace: NationalInstruments.VeriStand.SystemDefinitionAPI
Assembly: NationalInstruments.VeriStand.SystemDefinitionAPI (in NationalInstruments.VeriStand.SystemDefinitionAPI.dll) Version: 2013.0.0.0 (2013.0.0.0)
Visual Basic (Declaration)
Public Property ReadSamples As UInteger
C#
public uint ReadSamples { get; set; }
Visual C++
public:
property unsigned int ReadSamples {
	unsigned int get ();
	void set (unsigned int value);
}

Property Value

The number of samples per channel to read at a time. The default value is (Rate / 10).

Remarks

The interval, in seconds, at which the task performs reads is equal to ReadSamples / Rate.
Note:

Reading small amounts of data makes the data available to the system sooner, but those operations consume system resources.

See Also

Log in to get a better experience