CNiIviScopeMeasurement::IsWaveformElementInvalid

Measurement Studio IVI

Class
CNiIviScopeMeasurement::
IsWaveformElementInvalid()
Base ClassesFunctionsGo to hierarchy chart    Prev page: InitiateNext page: ReadWaveform    
Public Function Declared in:
NiIviScope.h

'Declaration' icon -- Shortcut to top of page. Declaration

inline bool IsWaveformElementInvalid(
    double elementValue);

'Description' icon -- Shortcut to top of page. 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.

Shortcut to top of page. Parameters

double elementValue

The value to test for validity.

'See Also' icon -- Shortcut to top of page. See Also