RFmx Instruments VIs

Content Type
Programming Language
Current manual

RFmxInstr Fetch Raw IQ (1Rec) (VI)

RFmxInstr Fetch Raw IQ (1Rec) (VI)

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

RFmxInstr Fetch Raw IQ (1Rec)

cio.gif

Instrument Handle In identifies the instrument session. Instrument Handle In is obtained from the RFmxInstr Initialize NIRFSA VI or the RFmxInstr Initialize NIRFSA (Array) VI.

cdbl.gif

Timeout (s)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.

ci32.gif

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

cci64.gif

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

cerrcodeclst.gif

error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

iio.gif

Instrument Handle Out passes a reference of the instrument session to the next VI.

icclst.gif

IQ Data returns the acquired data as a cluster.

idbl.gif

t0 returns the start time of the first sample. The timestamp corresponds to the difference, in seconds, between the returned first sample and the reference trigger location.

idbl.gif

dt returns the time interval between data points in the acquired signal. The I/Q data sample rate is the reciprocal of this value.

i1dcsg.gif

Y 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 (I 2 + Q 2) / 2R, where R is the input impedance in ohms. For RFmx, R = 50 ohms.

ierrcodeclst.gif

error out contains error information. This output provides standard error out functionality.

Was this information helpful?