rfsg_Resample and Write VI
- Updated2025-05-22
- 7 minute(s) read
rfsg_Resample and Write VI
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/5830/5831/5832/5840/5841/5842
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.
![]() |
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. |
![]() |
waveform name specifies the name used to store the waveform. This string is case-insensitive. Example: "waveform::waveform0" |
![]() |
new IQ rate specifies the new I/Q rate at which to resample. |
![]() |
I specifies the in-phase (I) component of the complex baseband signal. |
![]() |
Q specifies the quadrature-phase (Q) component of the complex baseband signal. |
![]() |
input IQ rate specifies the I/Q rate of the input waveform. |
![]() |
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. |
![]() |
IQ rate tolerance specifies how much to limit the adjusted I/Q rate over the original I/Q rate, in parts per million. |
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. |
![]() |
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. |
![]() |
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 |
![]() |
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.
![]() |
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. |
||||||
![]() |
waveform name specifies the name used to store the waveform. This string is case-insensitive. Example: "waveform::waveform0" |
||||||
![]() |
new IQ rate specifies the new I/Q rate at which to resample. |
||||||
![]() |
complex waveform specifies the complex waveform to resample.
|
||||||
![]() |
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. |
||||||
![]() |
IQ rate tolerance specifies how much to limit the adjusted I/Q rate over the original I/Q rate, in parts per million. |
||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. |
||||||
![]() |
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. |
||||||
![]() |
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 |
||||||
![]() |
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.
![]() |
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. |
![]() |
waveform name specifies the name used to store the waveform. This string is case-insensitive. Example: "waveform::waveform0" |
![]() |
new IQ rate specifies the new I/Q rate at which to resample. |
![]() |
complex waveform specifies the complex waveform to split into I and Q components. |
![]() |
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. |
![]() |
IQ rate tolerance specifies how much to limit the adjusted I/Q rate over the original I/Q rate, in parts per million. |
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. |
![]() |
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. |
![]() |
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 |
![]() |
error out contains error information. This output provides standard error out functionality. |