niUSRP Write Tx Data (I16) VI
- Updated2024-10-14
- 4 minute(s) read
Writes complex, 16-bit signed integer data to the specified channel. To use the niUSRP Write Tx Data (I16) VI, you must set the Host Data Type property to I16.
data accepts binary values that range from 32,767 to -32,768. The corresponding floating-point values range from 1.0 to ‑1.0. Use the following equations to convert values from binary to floating-point or from floating-point to binary:
floating-point value = binary value/32,768
binary value = floating-point value x 32,767

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, 16-bit signed integer data. The real and imaginary components of the data correspond to the in-phase (I) and quadrature-phase (Q) data, respectively. I and Q are interleaved [I, Q, I, Q, ...] in the array. 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 signed, 16-bit integer values that range from 32,767 to -32,768. The maximum complex magnitude is 32,767. However, because the DSP frequency response varies over frequency and over I/Q rates, some tones with a complex magnitude less than but close to 32,767 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
—