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

datatype_icon

session in

Instrument session obtained from Initialize With Options.

datatype_icon

error in

Error conditions that occur before this node runs.

The node responds to this input according to standard error behavior.

Standard Error Behavior

Default value: No error

datatype_icon

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.

datatype_icon

session out

Reference to your instrument session passed to the next node.

datatype_icon

error out

Error information.

The node produces this output according to standard error behavior.

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