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
resource name specifies the resource name of the device to initialize. |
|||||||
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. |
|||||||
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. |
|||||||
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.
|
|||||||
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. |
|||||||
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.
|
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.