Method GetSampleClockRateDistinct Deprecated
This method has been deprecated, do not use this method. Consider calling GetSampleClockRates().Distinct().Single() for the same functionality.
- Assembly
- NationalInstruments.SemiconductorTestLibrary.Extensions.dll
GetSampleClockRateDistinct(DAQmxTasksBundle) Deprecated
This method has been deprecated, do not use this method. Consider calling GetSampleClockRates().Distinct().Single() for the same functionality.
Specifies the sampling rate in samples per channel per second. If you use an external source for the Sample Clock, set this input to the maximum expected rate of that clock.
[Obsolete("This method has been deprecated, do not use this method. Consider calling GetSampleClockRates().Distinct().Single() for the same functionality.", true)]
public static double GetSampleClockRateDistinct(this DAQmxTasksBundle tasksBundle)Parameters
tasksBundleDAQmxTasksBundle-
The NationalInstruments.SemiconductorTestLibrary.InstrumentAbstraction.DAQmx.DAQmxTasksBundle object.
Returns
- double
-
Sample clock rate.
Remarks
This method is the same as NationalInstruments.SemiconductorTestLibrary.InstrumentAbstraction.DAQmx.Configure.GetSampleClockRates(NationalInstruments.SemiconductorTestLibrary.InstrumentAbstraction.DAQmx.DAQmxTasksBundle), except it also checks if the sample clock rate is the same value across all sessions in the bundle. If the values are the same, it returns the single double value. Otherwise, it throws an exception.
Exceptions
- NISemiconductorTestException
-
The value for the sample clock rate is not the same for all underlying instrument sessions.