niFgen Cal Adjust Main Path Pre Amp Gain VI
- Updated2025-10-07
- 3 minute(s) read
Calculates calibration constants pertaining to the preamplifier gain of the main analog path. During external calibration, you can put the device in different configurations; program different gain, offset, and main DAC values; and take measurements of the resulting output voltages. The configuration data, as well as the measurements, are passed to this VI so that NI-FGEN can calculate the appropriate calibration constants and, when the calibration session is committed, store them in the onboard EEPROM.

Inputs/Outputs
MainDACValues
—
MainDACValues specifies an array of the values programmed to the main output DAC during this calibration stage.
Configuration
—
Configuration specifies the configuration of the device for this stage of calibration.
Instrument Handle
—
Instrument Handle identifies your instrument session. Instrument Handle is obtained from the niFgen Init Ext Cal VI.
Channel Name
—
Channel Name specifies the channel that this VI uses.
GainDACValues
—
GainDACValues specifies an array of the values programmed to the gain calibration DAC during this calibration stage.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. Default value: no error
MeasuredOutputs
—
MeasuredOutputs specifies an array of the analog output voltages measured during this calibration stage.
OffsetDACValues
—
OffsetDACValues specifies an array of the values programmed to the offset calibration DAC during this calibration stage.
Instrument Handle Out
—
Instrument Handle Out passes a reference to your instrument session to the next VI.
error out
—
error out contains error information. This output provides standard error out functionality. |
MainDACValues
—
Configuration
—
Instrument Handle
—
Channel Name
—
error in (no error)
—
MeasuredOutputs
—
Instrument Handle Out
—
error out
—