niRFSG Initialize

NI-RFSG LabVIEW

niRFSG Initialize

Initializes the NI-RFSG device and performs the following initialization actions:

- Creates a new instrument driver session.

- Opens a session to the device you specify as the resource name parameter.

- If reset device is set to TRUE, this VI resets the device to a known state.

- Returns an instrument handle that you use to identify the NI-RFSG device in all subsequent NI-RFSG VIs.

Supported Devices: NI 5650/5651/5652/5670/5671/5672

Details

niRFSG Initialize

cio.gif

resource name specifies the resource name of the device to initialize.

cbool.gif

id query specifies whether NI-RFSG performs an ID query. Set this parameter to TRUE to perform an ID query. Set this parameter to FALSE to not perform an ID query.

cbool.gif

reset device specifies whether you want to reset the NI-RFSG device during the initialization procedure. Set this parameter to TRUE if to reset the device. Set this parameter to FALSE to not reset the device.

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.

iio.gif

instrument handle passes a reference to your instrument session to the next VI. instrument handle is obtained from this 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.

Details

Before initializing the NI 5670/5671/5672, an NI 5421/5441/5442 AWG module must be associated with the NI 5610 upconverter module in MAX. After association, pass the NI 5610 upconverter module device name to this VI to initialize both modules. To change the AWG association, modify the NI 5610 Properties page in MAX, or use the niRFSG Initialize With Options VI to override the association in MAX. Refer to the NI RF Signal Generators Getting Started Guide for information on MAX association.