![]() |
FetchWaveform()





Public Function |
Declared in: NiIviScope.h |
Declaration
inline void FetchWaveform( const CString &channel, CNiReal64Vector &waveform, double &xFirst, double &xIncrement);
Description
This function returns the waveform the oscilloscope acquires for the channel you specify. The waveform is from an acquisition that you initiate prior to calling this function. You must call this function separately for each enabled channel to obtain the waveforms.
Each element in the waveform is either a voltage or a value indicating that the oscilloscope could not sample a voltage. You can test a waveform value for an invalid value condition by calling the IsWaveformElementInvalid function.
Parameters
The channel on which you want to obtain a waveform.
Returns the acquired waveform.
The time in seconds of the first point in the waveform relative to the trigger event.
The length of time in seconds between points in the waveform.