NI-RFSG VI Reference

Table of Contents

niRFSG Write Arb Waveform VI

  • Updated2025-02-03
  • 15 minute(s) read

niRFSG Write Arb Waveform VI

Writes an arbitrary waveform to the NI-RFSG device. This VI configures the I and Q vectors of a complex baseband signal. If the waveform to write is already allocated using the niRFSG Allocate Arb Waveform VI, the more data pending? parameter is ignored. This VI has nine polymorphic instances that accept as data input a complex cluster, a waveform datatype (CWDT), Complex DBL, Complex SGL, I16, and I/Q arrays. The PXI-5670/5671 must be in the Configuration state before you call this VI. When streaming is enabled, you can call this VI when the PXIe-5672/5673/5673E, PXIe-5820/5830/5831/5832/5840/5841/5842/5860 is in the Generation state.

Note  On the PXIe-5644/5645/5646, PXIe-5672/5673/5673E, and PXIe-5820/5830/5831/5832/5840/5841/5842/5860, the more data pending? parameter is always ignored. To write data in blocks on these devices, you must allocate the waveform before writing it.

Supported Devices: PXIe-5644/5645/5646, PXI-5670/5671, PXIe-5672/5673/5673E, PXIe-5820/5830/5831/5832/5840/5841/5842/5860

Related Topics

Streaming

Assigning Properties or Attributes to a Waveform

Examples

niRFSG Write Arb Waveform (Complex DBL)

Writes an arbitrary waveform to the NI-RFSG device. This VI accepts the complex baseband data in the form of complex double data type.

Supported Devices: PXIe-5644/5645/5646, PXI-5670/5671, PXIe-5672/5673/5673E, PXIe-5820/5830/5831/5832/5840/5841/5842/5860

niRFSG Write Arb Waveform (Complex DBL)

cio.gif

instrument handle identifies your instrument session. instrument handle is obtained from either the niRFSG Initialize VI or the niRFSG Initialize With Options VI.

cstr.gif

name specifies the name used to store the waveform. This string is case-insensitive and alphanumeric, and it cannot use reserved words.

c1dcdb.gif

waveform data specifies the array of data to load into the waveform. You must normalize the data points in the array to have polar magnitudes between 0.0 and +1.00.

cbool.gif

more data pending? specifies whether the data block contains the end of the waveform. Set more data pending? to TRUE to allow data to be appended to the waveform later. Splitting the waveform into multiple data blocks can reduce the memory requirements of the write operation. You can append data to a previously written waveform by using the saved waveform name. Set this parameter to FALSE to indicate that this data block contains the end of the waveform.

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 to your instrument session to the next VI. instrument handle out is obtained from the niRFSG Initialize VI or the niRFSG Initialize With Options VI.

ierrcodeclst.gif

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

niRFSG Write Arb Waveform (Complex SGL)

Writes an arbitrary waveform to the NI-RFSG device. This VI accepts the complex baseband data in the form of complex single data type.

Supported Devices: PXIe-5644/5645/5646, PXI-5670/5671, PXIe-5672/5673/5673E, PXIe-5820/5830/5831/5832/5840/5841/5842/5860

niRFSG Write Arb Waveform (Complex SGL)

cio.gif

instrument handle identifies your instrument session. instrument handle is obtained from either the niRFSG Initialize VI or the niRFSG Initialize With Options VI.

cstr.gif

name specifies the name used to store the waveform. This string is case-insensitive and alphanumeric, and it cannot use reserved words.

c1csg.gif

waveform data specifies the array of data to load into the waveform. You must normalize the data points in the array to have polar magnitudes between 0.0 and +1.00.

cbool.gif

more data pending? specifies whether the data block contains the end of the waveform. Set more data pending? to TRUE to allow data to be appended to the waveform later. Splitting the waveform into multiple data blocks can reduce the memory requirements of the write operation. You can append data to a previously written waveform by using the saved waveform name. Set this parameter to FALSE to indicate that this data block contains the end of the waveform.

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 to your instrument session to the next VI. instrument handle out is obtained from the niRFSG Initialize VI or the niRFSG Initialize With Options VI.

ierrcodeclst.gif

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

niRFSG Write Arb Waveform (Complex Input)

Writes an arbitrary waveform to the NI-RFSG device. This VI accepts complex baseband signal data in the form of a complex cluster.

Supported Devices: PXIe-5644/5645/5646, PXI-5670/5671, PXIe-5672/5673/5673E, PXIe-5820/5830/5831/5832/5840/5841/5842/5860

niRFSG Write Arb Waveform (Complex Input)

cio.gif

instrument handle identifies your instrument session. instrument handle is obtained from either the niRFSG Initialize VI or the niRFSG Initialize With Options VI.

cstr.gif

name specifies the name used to store the waveform. This string is case-insensitive and alphanumeric, and it cannot use reserved words.

ccclst.gif

IQ waveform specifies the complex baseband signal to write to the NI-RFSG device.

cdbl.gif

t0 specifies the trigger (start) time of the acquired Y array.

cdbl.gif

dt specifies the time interval between the samples in the acquired Y array. dt is the reciprocal of the I/Q rate.

c1dcdb.gif

Y specifies an array of complex-valued time domain data. The real and imaginary parts of this complex data array correspond to the in-phase (I) and quadrature-phase (Q) data, respectively.

cbool.gif

use waveform dt for IQ rate? specifies TRUE if the VI uses the waveform dt to configure the I/Q rate and FALSE if it does not configure the I/Q rate.

cbool.gif

more data pending? specifies whether the data block contains the end of the waveform. Set more data pending? to TRUE to allow data to be appended to the waveform later. Splitting the waveform into multiple data blocks can reduce the memory requirements of the write operation. You can append data to a previously written waveform by using the saved waveform name. Set this parameter to FALSE to indicate that this data block contains the end of the waveform.

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 to your instrument session to the next VI. instrument handle out is obtained from the niRFSG Initialize VI or the niRFSG Initialize With Options VI.

ierrcodeclst.gif

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

niRFSG Write Arb Waveform (Complex Input SGL)

Writes an arbitrary waveform to the NI-RFSG device. This VI accepts complex baseband signal data in the form of a complex cluster.

Supported Devices: PXIe-5644/5645/5646, PXI-5670/5671, PXIe-5672/5673/5673E, PXIe-5820/5830/5831/5832/5840/5841/5842/5860

niRFSG Write Arb Waveform (Complex Input SGL)

cio.gif

instrument handle identifies your instrument session. instrument handle is obtained from either the niRFSG Initialize VI or the niRFSG Initialize With Options VI.

cstr.gif

name specifies the name used to store the waveform. This string is case-insensitive and alphanumeric, and it cannot use reserved words.

ccclst.gif

IQ waveform specifies the complex baseband signal to write to the NI-RFSG device.

cdbl.gif

t0 specifies the trigger (start) time of the acquired Y array.

cdbl.gif

dt specifies the time interval between the samples in the acquired Y array. dt is the reciprocal of the I/Q rate.

c1csg.gif

Y specifies an array of complex-valued time domain data. The real and imaginary parts of this complex data array correspond to the in-phase (I) and quadrature-phase (Q) data, respectively.

cbool.gif

use waveform dt for IQ rate? specifies TRUE if the VI uses the waveform dt to configure the I/Q rate and FALSE if it does not configure the I/Q rate.

cbool.gif

more data pending? specifies whether the data block contains the end of the waveform. Set more data pending? to TRUE to allow data to be appended to the waveform later. Splitting the waveform into multiple data blocks can reduce the memory requirements of the write operation. You can append data to a previously written waveform by using the saved waveform name. Set this parameter to FALSE to indicate that this data block contains the end of the waveform.

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 to your instrument session to the next VI. instrument handle out is obtained from the niRFSG Initialize VI or the niRFSG Initialize With Options VI.

ierrcodeclst.gif

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

niRFSG Write Arb Waveform (CWDT)

Writes an arbitrary waveform to the NI-RFSG device. This VI accepts the complex baseband signal data in the form of a complex waveform datatype.

Supported Devices: PXIe-5644/5645/5646, PXI-5670/5671, PXIe-5672/5673/5673E, PXIe-5820/5830/5831/5832/5840/5841/5842/5860

niRFSG Write Arb Waveform (CWDT)

cio.gif

instrument handle identifies your instrument session. instrument handle is obtained from either the niRFSG Initialize VI or the niRFSG Initialize With Options VI.

cstr.gif

name specifies the name used to store the waveform. This string is case-insensitive and alphanumeric, and it cannot use reserved words.

cwfm.gif

IQ Waveform specifies the complex waveform to write to the NI-RFSG device.

cbool.gif

use waveform dt for IQ rate? specifies TRUE if the VI uses the waveform dt to configure the I/Q rate and FALSE if it does not configure the I/Q rate.

cbool.gif

more data pending? specifies whether the data block contains the end of the waveform. Set more data pending? to TRUE to allow data to be appended to the waveform later. Splitting the waveform into multiple data blocks can reduce the memory requirements of the write operation. You can append data to a previously written waveform by using the saved waveform name. Set this parameter to FALSE to indicate that this data block contains the end of the waveform.

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 to your instrument session to the next VI. instrument handle out is obtained from the niRFSG Initialize VI or the niRFSG Initialize With Options VI.

ierrcodeclst.gif

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

niRFSG Write Arb Waveform (CWDT SGL)

Writes an arbitrary waveform to the NI-RFSG device. This VI accepts the complex baseband signal data in the form of a complex waveform datatype consisting of singles.

Supported Devices: PXIe-5644/5645/5646, PXI-5670/5671, PXIe-5672/5673/5673E, PXIe-5820/5830/5831/5832/5840/5841/5842/5860

niRFSG Write Arb Waveform (CWDT SGL)

cio.gif

instrument handle identifies your instrument session. instrument handle is obtained from either the niRFSG Initialize VI or the niRFSG Initialize With Options VI.

cstr.gif

name specifies the name used to store the waveform. This string is case-insensitive and alphanumeric, and it cannot use reserved words.

cwfm.gif

IQ Waveform specifies the complex waveform to write to the NI-RFSG device.

cbool.gif

use waveform dt for IQ rate? specifies TRUE if the VI uses the waveform dt to configure the I/Q rate and FALSE if it does not configure the I/Q rate.

cbool.gif

more data pending? specifies whether the data block contains the end of the waveform. Set more data pending? to TRUE to allow data to be appended to the waveform later. Splitting the waveform into multiple data blocks can reduce the memory requirements of the write operation. You can append data to a previously written waveform by using the saved waveform name. Set this parameter to FALSE to indicate that this data block contains the end of the waveform.

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 to your instrument session to the next VI. instrument handle out is obtained from the niRFSG Initialize VI or the niRFSG Initialize With Options VI.

ierrcodeclst.gif

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

niRFSG Write Arb Waveform (I-Q)

Writes an arbitrary waveform to the NI-RFSG device. This VI accepts the I and Q vectors of a complex baseband signal. To write only I Data of waveform through NI-RFSG, pass an empty array for Q Data parameter.

Supported Devices: PXIe-5644/5645/5646, PXI-5670/5671, PXIe-5672/5673/5673E, PXIe-5820/5830/5831/5832/5840/5841/5842/5860

niRFSG Write Arb Waveform (I-Q)

cio.gif

instrument handle identifies your instrument session. instrument handle is obtained from either the niRFSG Initialize VI or the niRFSG Initialize With Options VI.

cstr.gif

name specifies the name used to store the waveform. This string is case-insensitive and alphanumeric, and it cannot use reserved words.

c1ddbl.gif

I Data specifies the in-phase (I) component of the complex baseband signal.

c1ddbl.gif

Q Data specifies the quadrature-phase (Q) component of the complex baseband signal.

cbool.gif

more data pending? specifies whether the data block contains the end of the waveform. Set more data pending? to TRUE to allow data to be appended to the waveform later. Splitting the waveform into multiple data blocks can reduce the memory requirements of the write operation. You can append data to a previously written waveform by using the saved waveform name. Set this parameter to FALSE to indicate that this data block contains the end of the waveform.

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 to your instrument session to the next VI. instrument handle out is obtained from the niRFSG Initialize VI or the niRFSG Initialize With Options VI.

ierrcodeclst.gif

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

niRFSG Write Arb Waveform (I-Q SGL)

Writes an arbitrary waveform to the NI-RFSG device. This VI accepts the I and Q vectors of a complex baseband signal containing singles. To write only I Data of waveform through NI-RFSG, pass an empty array for Q Data parameter.

Supported Devices: PXIe-5644/5645/5646, PXI-5670/5671, PXIe-5672/5673/5673E, PXIe-5820/5830/5831/5832/5840/5841/5842/5860

niRFSG Write Arb Waveform (I-Q SGL)

cio.gif

instrument handle identifies your instrument session. instrument handle is obtained from either the niRFSG Initialize VI or the niRFSG Initialize With Options VI.

cstr.gif

name specifies the name used to store the waveform. This string is case-insensitive and alphanumeric, and it cannot use reserved words.

c1dsgl.gif

I Data specifies the in-phase (I) component of the complex baseband signal.

c1dsgl.gif

Q Data specifies the quadrature-phase (Q) component of the complex baseband signal.

cbool.gif

more data pending? specifies whether the data block contains the end of the waveform. Set more data pending? to TRUE to allow data to be appended to the waveform later. Splitting the waveform into multiple data blocks can reduce the memory requirements of the write operation. You can append data to a previously written waveform by using the saved waveform name. Set this parameter to FALSE to indicate that this data block contains the end of the waveform.

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 to your instrument session to the next VI. instrument handle out is obtained from the niRFSG Initialize VI or the niRFSG Initialize With Options VI.

ierrcodeclst.gif

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

niRFSG Write Arb Waveform (I16)

Writes an arbitrary waveform to the NI-RFSG device. This VI accepts the interleaved I/Q data of a complex baseband signal.

Note  When using this VI, you must set the Power Level Type property to Peak Power. If you download a waveform when using this VI, you cannot set the Power Level Type property to Average Power without causing error in the output.

Supported Devices: PXIe-5644/5645/5646, PXI-5670/5671, PXIe-5672/5673/5673E, PXIe-5820/5830/5831/5832/5840/5841/5842/5860

niRFSG Write Arb Waveform (I16)

cio.gif

instrument handle identifies your instrument session. instrument handle is obtained from either the niRFSG Initialize VI or the niRFSG Initialize With Options VI.

cstr.gif

name specifies the name used to store the waveform. This string is case-insensitive and alphanumeric, and it cannot use reserved words.

c1di16.gif

interleaved IQ Data specifies an array of interleaved I data and Q data to load into the waveform, paired in binary (I16) format.

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 to your instrument session to the next VI. instrument handle out is obtained from the niRFSG Initialize VI or the niRFSG Initialize With Options VI.

ierrcodeclst.gif

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

Examples

Refer to the following VIs for examples of using the niRFSG Write Arb Waveform VI.

  • RFSG Getting Started Finite Generation VI: labview\examples\instr\niRFSG

  • RFSG Getting Started Script (Script) VI: labview\examples\instr\niRFSG

    Log in to get a better experience