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.


icon

Inputs/Outputs

  • cstr.png waveform name

    waveform name specifies the name used to store the waveform. This string is case-insensitive.

    Example:

    "waveform::waveform0"

  • cdbl.png new IQ rate (S/s)

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

  • civrn.png instrument handle in

    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.

  • ccclst.png complex waveform

    complex waveform specifies the complex waveform to resample.

  • cdbl.png t0

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

  • cdbl.png dt

    dt specifies the time between values in the Y array. Default Value: 1.0

  • c1dcdb.png Y

    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.

  • cerrcodeclst.png error in

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

  • cbool.png repeat waveform until tolerance met

    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.

  • cdbl.png IQ rate tolerance (ppm)

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

  • iivrn.png instrument handle out

    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.

  • idbl.png adjusted IQ rate / original IQ rate

    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

  • ierrcodeclst.png error out

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