Calculates calibration constants pertaining to the post-amplifier gain and offset 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 voltage. 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.


icon

Inputs/Outputs

  • c1di32.png MainDACValues

    MainDACValues specifies an array of the values programmed to the main output DAC during this calibration stage.

  • cu16.png Configuration

    Configuration specifies the configuration of the device for this stage of calibration.

    Input Value Configuration Setting
    0 NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_LOW_GAIN_0DB
    1 NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_LOW_GAIN_12DB
    2 NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_LOW_GAIN_24DB
    3 NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_LOW_GAIN_36DB
    4 NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_HIGH_GAIN_0DB
    5 NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_HIGH_GAIN_12DB
    6 NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_HIGH_GAIN_24DB
    7 NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_HIGH_GAIN_36DB
  • civrn.png Instrument Handle

    Instrument Handle identifies your instrument session. Instrument Handle is obtained from the niFgen Init Ext Cal VI.

  • cstr.png Channel Name

    Channel Name specifies the channel that this VI uses.

  • c1di32.png GainDACValues

    GainDACValues specifies an array of the values programmed to the gain calibration DAC during this calibration stage.

  • cerrcodeclst.png 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

  • c1ddbl.png MeasuredOutputs

    MeasuredOutputs specifies an array of the analog output voltages measured during this calibration stage.

  • c1di32.png OffsetDACValues

    OffsetDACValues specifies an array of the values programmed to the offset calibration DAC during this calibration stage.

  • iivrn.png Instrument Handle Out

    Instrument Handle Out passes a reference to your instrument session to the next VI.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.