Table Of Contents

Adjust Main Path Pre Amp Gain Calibration (G Dataflow)

Last Modified: August 3, 2017

Calculates calibration constants pertaining to the preamplifier gain of the main analog path.

During external calibration, you can put the waveform generator in different configurations; program different gain, offset, and main DAC values; and take measurements of the resulting output voltages. Using the configuration data and the measurements, this node calculates the appropriate calibration constants and, when the calibration session is committed, stores them in the onboard EEPROM.

connector_pane_image
datatype_icon

main DAC values

Array of the values programmed to the main output DAC during this calibration stage.

datatype_icon

configuration

Configuration of the waveform generator for this stage of calibration.

Name Value Description
NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_OFF_0DB 0 The waveform generator was configured to have the analog filter disabled and preamplifier gain of 0 dB.
NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_OFF_3DB 1 The waveform generator was configured to have the analog filter disabled and preamplifier gain of -3 dB.
NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_OFF_6DB 2 The waveform generator was configured to have the analog filter disabled and preamplifier gain of -6 dB.
NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_OFF_9DB 3 The waveform generator was configured to have the analog filter disabled and preamplifier gain of -9 dB.
NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_OFF_12DB 4 The waveform generator was configured to have the analog filter disabled and preamplifier gain of -12 dB.
NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_ON_0DB 5 The waveform generator was configured to have the analog filter enabled and preamplifier gain of 0 dB.
NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_ON_3DB 6 The waveform generator was configured to have the analog filter enabled and preamplifier gain of -3 dB.
NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_ON_6DB 7 The waveform generator was configured to have the analog filter enabled and preamplifier gain of -6 dB.
NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_ON_9DB 8 The waveform generator was configured to have the analog filter enabled and preamplifier gain of -9 dB.
NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_ON_12DB 9 The waveform generator was configured to have the analog filter enabled and preamplifier gain of -12 dB.
datatype_icon

session in

Handle that identifies your instrument session previously allocated by Initialize External Calibration.

datatype_icon

error in

Error conditions that occur before this node runs.

The node responds to this input according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Default: No error

datatype_icon

channel name

Name of the waveform generator channel that the node uses.

datatype_icon

gain DAC values

Array of the values programmed to the gain calibration DAC during this calibration stage.

datatype_icon

measured outputs

Array of the analog output voltages measured during this calibration stage.

datatype_icon

offset DAC values

Array of the values programmed to the offset calibration DAC during this calibration stage.

datatype_icon

session out

Reference to your instrument session to wire to the next node.

datatype_icon

error out

The node produces this output according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Where This Node Can Run:

Desktop OS: Windows

FPGA: Not supported


Recently Viewed Topics