niScope Fetch VI
- Updated2025-10-21
- 4 minute(s) read
Retrieves data from a single channel and record. Returns a one-dimensional array of scaled voltages.

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 waveform data containing one waveform without any timing information.
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
—