niFgen Initialize
Performs the following initialization actions:
- Creates a new IVI instrument driver session.
- Opens a session to the specified device using the interface and address that you specify for Resource Name.
- If ID Query is set to TRUE, this VI queries the device ID and checks that the ID is valid for NI-FGEN.
- If Reset Device is set to TRUE, this VI resets the device to a known state.
- Sends initialization commands to set the device to the state necessary for the operation of NI-FGEN.
- Returns a session handle that you can use to identify the device in all subsequent NI-FGEN VI calls.
Resource Name specifies the instrument name, for example "PXI1Slot3" where "PXI1Slot3" is an instrument name assigned by Measurement & Automation Explorer.
Syntax:
If you use the "DAQ::n" syntax and an NI-DAQmx device name already exists with the same name, the NI-DAQmx device will be matched first. You can also pass in the name of a virtual instrument or logical name that you configure with the IVI Configuration utility. The virtual instrument identifies a specific device and specifies the initial settings for the session. A logical name identifies a particular virtual instrument. Example resource names:
|
|||||||||||||||||||||||
Id Query specifies whether or not to verify that NI-FGEN supports the device you initialize.
Circumstances can arise where sending an ID query to the device is undesirable. When you set this parameter to FALSE, the VI initializes the device without performing an ID query. |
|||||||||||||||||||||||
Reset Device specifies whether you want to reset the device during the initialization procedure. | |||||||||||||||||||||||
error in describes error conditions that occur before this VI or function runs.
| |||||||||||||||||||||||
Instrument Handle Out passes a reference to your instrument session to the next VI. | |||||||||||||||||||||||
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
|