niScope Fetch Cluster VI
- Updated2025-10-21
- 4 minute(s) read
Retrieves the waveform the digitizer has acquired for the specified channel from a previously initiated acquisition. Returns scaled voltage waveforms in a cluster that includes timing information.

Inputs/Outputs
timeout
—
timeout is the time (in seconds) to wait for the data to be acquired. Use 0 for this parameter to tell NI-SCOPE to fetch whatever is currently available. Using -1 for this parameter implies infinite timeout.
instrument handle
—
instrument handle identifies a particular instrument session.
channels
—
channels specifies the channel(s) from which to acquire data. For more information, refer to Channel String Syntax.
numSamples
—
numSamples is the maximum number of samples to fetch for each waveform; if the acquisition finishes with fewer points than requested, some devices return partial data if the acquisition finished, was aborted, or a timeout of 0 was used. Use –1 for this parameter if you want to fetch all available samples. The VI reads the actual record length and attempts to acquire all available samples. If it fails to complete within the timeout period, the VI returns an error.
error in
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
instrument handle out
—
instrument handle out has the same value as the instrument handle.
wfm info
—
wfm info contains all the timing and scaling information about the waveform.
waveform
—
waveform is a cluster containing the initial x value, xIincrement, and a waveform array. This output can be wired directly to the LabVIEW waveform graph, so the waveform is plotted with timing information. The initial x value in the cluster is relative to the trigger. The relative initial x value is the time from the trigger to the first point so the trigger always occurs at time equals zero.
error out
—
error out contains error information. This output provides standard error out functionality. |
timeout
—
instrument handle
—
channels
—
numSamples
—
error in
—
instrument handle out
—
wfm info
—
actualSamples
—
absoluteInitialX
—
waveform
—
wfm
—
error out
—