RFmxInstrMX.FetchRawIQData Method
- Updated2024-07-17
- 2 minute(s) read
RFmx
Fetches I/Q data from a single record in an acquisition.
Namespace: NationalInstruments.RFmx.InstrMX
Assembly: NationalInstruments.RFmx.InstrMX.Fx40 (in NationalInstruments.RFmx.InstrMX.Fx40.dll) Version: 24.5.0.49285 (24.5.0.49285)
Syntax
public int FetchRawIQData( string selectorString, double timeout, int recordsToFetch, long samplesToRead, ref ComplexWaveform<ComplexSingle> data )
Public Function FetchRawIQData ( selectorString As String, timeout As Double, recordsToFetch As Integer, samplesToRead As Long, ByRef data As ComplexWaveform(Of ComplexSingle) ) As Integer
Parameters
- selectorString String
- Pass an empty string.
- timeout Double
- 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.
- recordsToFetch Int32
- Specifies the record to retrieve. Record numbers are zero-based. The default value is 0.
- samplesToRead Int64
- Specifies the number of samples to fetch. A value of -1 specifies that RFmx fetches all samples. The default value is -1.
- data ComplexWaveformComplexSingle
- 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.
Return Value
Int32Returns the status code of this method. The status code either indicates success or describes a warning condition.