Timing.SampleClockMaximumRate Property
- Updated2023-02-21
- 1 minute(s) read
TimingSampleClockMaximumRate Property
Indicates the maximum Sample Clock rate supported by the task, based on other timing settings. For output tasks, the maximum Sample Clock rate is the maximum rate of the DAC. For input tasks, NI-DAQmx calculates the maximum sampling rate differently for multiplexed devices than simultaneous sampling devices.
Namespace: NationalInstruments.DAQmx
Assembly: NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 20.7.40.49302
Syntax
public double SampleClockMaximumRate { get; }
Public ReadOnly Property SampleClockMaximumRate As Double Get
Property Value
Type: DoubleIndicates the maximum Sample Clock rate supported by the task, based on other timing settings. For output tasks, the maximum Sample Clock rate is the maximum rate of the DAC. For input tasks, NI-DAQmx calculates the maximum sampling rate differently for multiplexed devices than simultaneous sampling devices.
Exceptions
Exception | Condition |
---|---|
DaqException | The NI-DAQmx driver returned an error. |
Remarks
For multiplexed devices, NI-DAQmx calculates the maximum sample clock rate based on the maximum AI Convert Clock rate unless you set AIConvertRate. If you set that property, NI-DAQmx calculates the maximum sample clock rate based on that setting. Use AIConvertMaximumRate to query the maximum AI Convert Clock rate. NI-DAQmx also uses the minimum sample clock delay to calculate the maximum sample clock rate unless you set DelayFromSampleClock.
For simultaneous sampling devices, the maximum Sample Clock rate is the maximum rate of the ADC.