niRFSG Write Script

NI-RFSG LabVIEW

niRFSG Write Script

Identifies a string containing a script to control waveform generation in Script mode. Use the niRFSG Configure Generation Mode VI to configure the device for Script mode. The NI-RFSG device must be in the Configuration state before calling this VI. Refer to the topic Scripting Instructions in the NI RF Signal Generators Help for information about using scripts.

Supported Devices: NI 5670/5671/5672

niRFSG Write Script

cio.gif

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

cstr.gif

script specifies the script that controls waveform generation. NI-RFSG supports multiple scripts that may be selected by name with the Selected Script property.

iio.gif

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 and identifies a particular instrument session.

icclst.gif

error out passes error or warning information out of a VI to be used by other VIs. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

ibool.gif

status is either TRUE (X) for an error, or FALSE (?) for no error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

ii32.gif

code identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

istr.gif

source describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

ccclst.gif

error in accepts error information from previously called VIs. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

cbool.gif

status is either TRUE (X) for an error, or FALSE (?) for no error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

ci32.gif

code identifies the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

cstr.gif

source describes the origin of the error or warning. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.