niRFSG Write Script VI
- Updated2025-10-14
- 2 minute(s) read
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.
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.

Inputs/Outputs
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.
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.
error in
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
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.
error out
—
error out contains error information. This output provides standard error out functionality. |
instrument handle
—
script
—
error in
—
instrument handle out
—
error out
—