DAQTaskAI.ReadSamples Property
- 已更新2023-02-21
- 閱讀時間為 2 分鐘
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.SystemDefinitionAPIAssembly: 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.
Reading small amounts of data makes the data available to the system sooner, but those operations consume system resources. |