![]() |
IsWaveformElementInvalid()





Public Function |
Declared in: NiIviScope.h |
Declaration
inline bool IsWaveformElementInvalid( double elementValue);
Description
This function determines whether a value you pass from the waveform array is invalid. After the read and fetch waveform functions execute, each element in the waveform array contains either a voltage or a value indicating that the oscilloscope could not sample a voltage. The driver uses an IEEE defined NaN (Not a Number) value to mark as invalid each element in the waveform array for which the oscilloscope could not sample a voltage.
Parameters
double elementValue
The value to test for validity.