niFgen Init Ext Cal

LabView FGEN

niFgen Init Ext Cal

Creates and initializes a special NI-FGEN external calibration session. The ViSession returned is an FGEN session that can be used to configure the device using normal attributes and functions. However, flags have been set that allow the user to program an external calibration procedure using the special calibration properties and VIs. The NI 5401/5404/5411/5431 have different calibration VIs. Refer to the calibration procedure of the signal generator for more information.

Resource Name specifies the instrument name, for example "PXI1Slot3" where "PXI1Slot3" is an instrument name assigned by Measurement & Automation Explorer. Syntax:
Configured in MAX Under Valid Syntax
NI-DAQmx Devices DAQmxDeviceName
NI-DAQmx Devices
(alternate syntax)
DAQ::DAQmxDeviceName
Traditional NI-DAQ Devices DAQ::DeviceNumber
Caution  The alternate syntax allowed for NI-DAQmx devices is intended to allow application that may have originally been designed for a Traditional NI-DAQ device use an NI-DAQmx device. For example, if the application expects "DAQ::1", you can rename the device to"1" in MAX and pass in "DAQ::1" for the resource name.

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:

Resource Name Description
DAQ::1 Traditional NI-DAQ device, device number = 1
DAQ::2 NI-DAQmx device, device name ="2"
myDAQmxDevice NI-DAQmx device, device name ="myDAQmxDevice"
DAQ::myDAQmxDevice NI-DAQmx device, device name ="myDAQmxDevice"
myLogicalName IVI logical name or virtual instrument, name = "myLogicalName"
Traditional NI-DAQ and NI-DAQmx device names are not case-sensitive. However, all IVI names, such as logical names, are case-sensitive. If you use logical names, driver session names, or virtual names in your program, you must make sure that the name you use matches the name in the IVI Configuration Store file exactly, without any variations in the case of the characters.

Password specifies calibration password required to open an external calibration session to the device.
error in describes error conditions that occur before this VI or function runs.
status is TRUE (X) if an error occurred before this VI or function ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI or function ran. The default is FALSE.
code is the error or warning code. The default is 0. If status is TRUE, code is a negative error code. If status is FALSE, code is 0 or a warning code.
source identifies where an error occurred. The source string includes the name of the VI that produced the error, what inputs are in error, and how to eliminate the error.
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.
status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.
code is the error or warning code. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
source identifies where and why an error occurred. The source string includes the name of the VI that produced the error, what inputs are in error, and how to eliminate the error.