Initiates an acquisition and fetches a single I/Q data record. Do not use this method if you have configured the device to continuously acquire data samples or to acquire multiple records.

Syntax

Namespace: NationalInstruments.ModularInstruments.NIRfsa

public ComplexWaveform< ComplexDouble > ReadIQSingleRecordComplexWaveform(PrecisionTimeSpan timeout)

Parameters

NameTypeDescription
timeoutPrecisionTimeSpan

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

Returns

Returns the acquired waveform.

Exceptions

TypeDescription
System.ObjectDisposedException

The ReadIQSingleRecordComplexWaveform method was accessed after the associated NIRfsa object was disposed.