Fetches I/Q data from multiple records in an acquisition.

Syntax

Namespace: NationalInstruments.ModularInstruments.NIRfsa

public ComplexWaveformCollection< ComplexDouble > FetchIQMultiRecordComplexWaveforms(long startingRecord, long numberOfRecords, long numberOfSamples, PrecisionTimeSpan timeout, out RfsaWaveformInfo[] waveformInfo, out ComplexWaveformCollection< ComplexDouble > waveforms)

Remarks

A fetch transfers acquired waveform data from device memory to computer memory. The data was acquired to onboard memory previously by the hardware after the acquisition was initiated. This method is not necessary if you use the ReadIQSingleRecordComplex, ReadIQSingleRecordComplexWaveform, MemoryOptimizedReadIQSingleRecordComplex, or MemoryOptimizedReadIQSingleRecordComplexWaveform methods, as the fetch is performed as part of these methods.

Parameters

NameTypeDescription
startingRecordlong

Specifies the first record to retrieve. Record numbers are zero-based.

numberOfRecordslong

Specifies the number of records to fetch.

numberOfSampleslong

Specifies the number of samples per record.

timeoutPrecisionTimeSpan

Specifies the time, in seconds, allotted for the method to complete before returning a timeout error. A value of NationalInstruments.PrecisionTimeSpan.MaxValue specifies the method waits until all data is available. A value of 0 specifies the method immediately returns available data.

waveformInfoout RfsaWaveformInfo[]

Contains the absolute and relative timestamps for the operation, the time interval, and the actual number of samples read.

waveformsout ComplexWaveformCollection< ComplexDouble >

Specifies the acquired waveform for each record fetched.

Returns

The acquired waveform for each record fetched.

Exceptions

TypeDescription
System.ObjectDisposedException

The FetchIQMultiRecordComplexWaveforms<T> method was accessed after the associated NIRfsa object was disposed.