ReadIQSingleRecordComplex(PrecisionTimeSpan)
- Updated2025-10-14
- 1 minute(s) read
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 ComplexDouble[] ReadIQSingleRecordComplex(PrecisionTimeSpan timeout)
Parameters
| Name | Type | Description |
|---|---|---|
| timeout | PrecisionTimeSpan | 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. |
Returns
Returns the acquired waveform.
Exceptions
| Type | Description |
|---|---|
| System.ObjectDisposedException | The ReadIQSingleRecordComplex method was accessed after the associated NIRfsa object was disposed. |