niScope Multi Fetch VI
- Updated2025-10-21
- 4 minute(s) read
Retrieves data from multiple records or multiple channels. Returns a two-dimensional array of scaled voltage waveforms. This VI makes it easy for you to save data to a disk or perform math operations.

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.
wfm
—
wfm is an array of waveforms; that is, a two-dimensional array. This output can be wired directly to the LabVIEW waveform graph, but each waveform is plotted without timing information. The 2D array includes waveforms from multiple channels, records, and acquisition types. For example, if the acquisition type is normal, there is one waveform per channel per record. If you call the fetch VI during a normal acquisition with the channel string "0,1" and the record number set to –1, the order of the output is: record 0, channel 0 record 0, channel 1 record 1, channel 0 record 1, channel 1 The order of the channels is the order specified by the channels parameter.
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
—
wfm
—
error out
—