Writes a script to the device to control waveform generation in Script mode. First, configure your device for Script mode by calling the niRFSG Configure Generation Mode VI. The NI-RFSG device must be in the Configuration state before calling the niRFSG Write Script VI.

Note If you are using an RF vector signal transceiver (VST) device, some script instructions may not be supported.

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

Related Topics

Scripting Instructions—Refer to this topic for information about VST restrictions on scripts.

Common Scripting Use Cases


icon

Inputs/Outputs

  • civrn.png instrument handle

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

  • cstr.png script

    script specifies the script that controls waveform generation. NI-RFSG supports multiple scripts that are selected with the Selected Script property. Refer to Scripting Instructions for more information about using scripts.

  • cerrcodeclst.png error in

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

  • 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.

  • ierrcodeclst.png error out

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