niUSRP Write Tx Data (2D CDB) VI
- Updated2024-10-14
- 3 minute(s) read
Writes complex, double-precision floating-point data to the specified channels.

Inputs/Outputs
channel list
—
channel list specifies the channel(s) to which to write the data.
session handle
—
session handle identifies your instrument session. session handle is obtained from the niUSRP Open Tx Session VI and identifies a particular transmit (Tx) session.
data
—
data specifies the baseband samples to transmit as an array of complex, double-precision floating-point data. The real and imaginary components of the data correspond to the in-phase (I) and quadrature-phase (Q) data, respectively. Each row of the 2D array corresponds to a separate channel. The time between samples in the waveform (the sample period) equals 1 divided by the coerced I/Q rate. Determine the coerced I/Q rate by reading the IQ Rate property after you set it or by reading the coerced IQ rate output of the Configure Signal VI. data accepts complex, double-precision floating-point values whose real and imaginary components range from 1.0 to -1.0. Maintain the maximum complex magnitude to a value less than 1.0 to prevent DSP overflow. Because the DSP frequency response varies over frequency and over I/Q rates, some tones with a complex magnitude less than but close to 1 may cause DSP overflow. Consider reducing the amplitude if you observe unexpected spurs in the spectrum of your generated signal. Use the following equation to determine the complex magnitude of the signal:
timeout
—
timeout specifies the time to wait, in seconds, before returning an error if the requested number of samples have not been generated. A negative value indicates to the driver to wait indefinitely.
end of data?
—
end of data? specifies whether this is the last call to the niUSRP Write Tx Data VI for the current contiguous transmit operation. The default value is FALSE.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
session handle out
—
session handle out passes a reference to your instrument session to the next VI. session handle out is obtained from the niUSRP Open Tx Session VI and identifies a particular transmit (Tx) session.
error out
—
error out contains error information. This output provides standard error out functionality. |
channel list
—
session handle
—
data
—
timeout
—
end of data?
—
error in (no error)
—
session handle out
—
error out
—