Write Script
- Updated2023-02-17
- 2 minute(s) read
Write Script
Writes a script to the device to control waveform generation in Script mode.
Before using this node, you must first configure your device for Script generation mode by calling Configure Generation Mode.
The NI-RFSG device must be in the Configuration state before you call this node.
Inputs/Outputs

error in
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Default value: No error

script
Script that controls waveform generation.
Supported Scripts
NI-RFSG supports generating multiple scripts that you select using the Selected Script property.
If you are using a vector signal transceiver, some script instructions are not supported.

session out
Reference to your instrument session passed to the next node.

error out
Error information.
The node produces this output according to standard error behavior.
Hardware Support
This node supports the following hardware:
- PXIe-5644/5645/5646
- PXIe-5673E
- PXIe-5820/5840
Examples
Search within the programming environment to access the following installed examples:
- RFSG Getting Started Script
