Fetches I/Q data from a single record in an acquisition.

Syntax

Namespace: NationalInstruments.RFmx.InstrMX

public int FetchRawIQData(string selectorString, double timeout, int recordsToFetch, long samplesToRead, ref ComplexWaveform< ComplexSingle > data)

Parameters

NameTypeDescription
selectorStringstring

Pass an empty string.

timeoutdouble

Specifies the timeout, in seconds, for fetching the raw IQ data. A value of -1 specifies that the VI waits until all data is available. A value of 0 specifies the VI immediately returns available data. The default value is 10.

recordsToFetchint

Specifies the record to retrieve. Record numbers are zero-based. The default value is 0.

samplesToReadlong

Specifies the number of samples to fetch. A value of -1 specifies that RFmx fetches all samples. The default value is -1.

dataref ComplexWaveform< ComplexSingle >

Returns the complex-value time domain data array. The real and imaginary parts of this complex data array correspond to the in-phase (I) and quadrature-phase (Q) data, respectively. To calculate the instantaneous power of a sampled I/Q point, use the equation (I2 + Q2) / 2R, where R is the input impedance in ohms. For RFmx, R = 50 ohms.

Returns

Returns the status code of this method. The status code either indicates success or describes a warning condition.