rfsg_Resample and Write VI

NI RF Signal Generators Help (NI-RFSG 18.1)

Edition Date: June 2018

Part Number: 371025V-01

»View Product Info
Download Help (Windows Only)

Resamples the complex waveform to the new I/Q rate and writes it to the NI-RFSG device. This VI preserves the phase continuity of a phase-continuous complex waveform while resampling.

Supported Devices: PXIe-5644/5645/5646, PXI-5670/5671, PXIe-5672/5673/5673E, PXIe-5820/5840

Use the pull-down menu to select an instance of this VI.

rfsg_Resample and Write (I-Q)

Resamples the complex waveform to the new I/Q rate and writes it to the NI-RFSG. Given a phase continuous complex waveform, this VI preserves the phase continuity while resampling. This VI also optimizes memory usage by resampling and writing in blocks of 100 k samples and by deallocating unused memory after the VI executes.

rfsg_Resample and Write (I-Q)

/images/reference/en-XX/help/371025V-01/cio.gif

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

/images/reference/en-XX/help/371025V-01/cstr.gif

waveform name specifies the name used to store the waveform.

/images/reference/en-XX/help/371025V-01/cdbl.gif

new IQ rate specifies the new I/Q rate at which to resample.

/images/reference/en-XX/help/371025V-01/c1ddbl.gif

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

/images/reference/en-XX/help/371025V-01/c1ddbl.gif

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

/images/reference/en-XX/help/371025V-01/cdbl.gif

input IQ rate specifies the I/Q rate of the input waveform.

/images/reference/en-XX/help/371025V-01/cbool.gif

repeat waveform until tolerance met allows the resampled waveform to contain multiple copies of the original waveform. This parameter increases the size of the resampled waveform and reduces the I/Q rate error introduced when the resample waveform size is coerced to a multiple of the quantum.

/images/reference/en-XX/help/371025V-01/cdbl.gif

IQ rate tolerance specifies how much to limit the adjusted I/Q rate over the original I/Q rate, in parts per million.

/images/reference/en-XX/help/371025V-01/cerrcodeclst.gif

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

/images/reference/en-XX/help/371025V-01/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.

/images/reference/en-XX/help/371025V-01/idbl.gif

adjusted IQ rate / original IQ rate indicates how much the frequency content or the symbol rate of the original waveform changed. Before resampling the waveform, the original waveform I/Q rate is adjusted so that the resampled waveform size is a multiple of the quantum.

The resampled waveform I/Q rate is calculated with the following equation:

Resampled Waveform I/Q Rate = (Adjusted I/Q Rate / Original I/Q Rate) * Original Symbol Rate

/images/reference/en-XX/help/371025V-01/ierrcodeclst.gif

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

rfsg_Resample and Write (Complex Input)

Resamples the complex waveform to the new I/Q rate and writes it to NI-RFSG. Given a phase continuous complex waveform, this VI preserves the phase continuity while resampling. This VI also optimizes memory usage by resampling and writing in blocks of 100k samples and by deallocating unused memory after the VI executes.

rfsg_Resample and Write (Complex Input)

/images/reference/en-XX/help/371025V-01/cio.gif

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

/images/reference/en-XX/help/371025V-01/cstr.gif

waveform name specifies the name used to store the waveform.

/images/reference/en-XX/help/371025V-01/cdbl.gif

new IQ rate specifies the new I/Q rate at which to resample.

/images/reference/en-XX/help/371025V-01/cerrcodeclst.gif

complex waveform specifies the complex waveform to resample.

/images/reference/en-XX/help/371025V-01/cdbl.gif

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

/images/reference/en-XX/help/371025V-01/cdbl.gif

dt specifies the time between values in the Y array.

Default Value: 1.0

/images/reference/en-XX/help/371025V-01/c1dcdb.gif

Y specifies the complex-valued signal-only baseband modulated waveform. The real and imaginary parts of this complex data array correspond to the in-phase (I) and quadrature-phase (Q) data, respectively.

/images/reference/en-XX/help/371025V-01/cbool.gif

repeat waveform until tolerance met allows the resampled waveform to contain multiple copies of the original waveform. This parameter increases the size of the resampled waveform and reduces the I/Q rate error introduced when the resample waveform size is coerced to a multiple of the quantum.

/images/reference/en-XX/help/371025V-01/cdbl.gif

IQ rate tolerance specifies how much to limit the adjusted I/Q rate over the original I/Q rate, in parts per million.

/images/reference/en-XX/help/371025V-01/cerrcodeclst.gif

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

/images/reference/en-XX/help/371025V-01/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.

/images/reference/en-XX/help/371025V-01/idbl.gif

adjusted IQ rate / original IQ rate indicates how much the frequency content or the symbol rate of the original waveform changed. Before resampling the waveform, the original waveform I/Q rate is adjusted so that the resampled waveform size is a multiple of the quantum.

The resampled waveform I/Q rate is calculated with the following equation:

Resampled Waveform I/Q Rate = (Adjusted I/Q Rate / Original I/Q Rate) * Original Symbol Rate

/images/reference/en-XX/help/371025V-01/ierrcodeclst.gif

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

rfsg_Resample and Write (CWDT)

Resamples the complex waveform to the new I/Q rate and writes it to NI-RFSG. Given a phase continuous complex waveform, this VI preserves the phase continuity while resampling. This VI also optimizes memory usage by resampling and writing in blocks of 100 k samples and by deallocating unused memory after the VI executes.

rfsg_Resample and Write (CWDT)

/images/reference/en-XX/help/371025V-01/cio.gif

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

/images/reference/en-XX/help/371025V-01/cstr.gif

waveform name specifies the name used to store the waveform.

/images/reference/en-XX/help/371025V-01/cdbl.gif

new IQ rate specifies the new I/Q rate at which to resample.

/images/reference/en-XX/help/371025V-01/cwfm.gif

complex waveform specifies the complex waveform to split into I and Q components.

/images/reference/en-XX/help/371025V-01/cbool.gif

repeat waveform until tolerance met allows the resampled waveform to contain multiple copies of the original waveform. This parameter increases the size of the resampled waveform and reduces the I/Q rate error introduced when the resample waveform size is coerced to a multiple of the quantum.

/images/reference/en-XX/help/371025V-01/cdbl.gif

IQ rate tolerance specifies how much to limit the adjusted I/Q rate over the original I/Q rate, in parts per million.

/images/reference/en-XX/help/371025V-01/cerrcodeclst.gif

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

/images/reference/en-XX/help/371025V-01/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.

/images/reference/en-XX/help/371025V-01/idbl.gif

adjusted IQ rate / original IQ rate indicates how much the frequency content or the symbol rate of the original waveform changed. Before resampling the waveform, the original waveform I/Q rate is adjusted so that the resampled waveform size is a multiple of the quantum.

The resampled waveform I/Q rate is calculated with the following equation:

Resampled Waveform I/Q Rate = (Adjusted I/Q Rate / Original I/Q Rate) * Original Symbol Rate

/images/reference/en-XX/help/371025V-01/ierrcodeclst.gif

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

WAS THIS ARTICLE HELPFUL?

Not Helpful