Table Of Contents

Adjust Flatness Calibration (G Dataflow)

Last Modified: May 16, 2018

Calculates calibration constants pertaining to flatness.

During external calibration, the waveform generator is configured with the different analog settings, and measurements are taken of the resulting output voltage at different frequencies. 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

frequencies array

Frequencies at which different sine tones were generated in hertz (Hz).

datatype_icon

configuration

Configuration of the waveform generator for this stage of calibration.

Name Value Description
NIFGEN_VAL_CAL_CONFIG_LOW_GAIN_PATH_PRE_AMP_0DB 0 The waveform generator was configured to use the low-gain amplifier path with preamplifier gain of 0 dB.
NIFGEN_VAL_CAL_CONFIG_LOW_GAIN_PATH_PRE_AMP_3DB 1 The waveform generator was configured to use the low-gain amplifier path with preamplifier gain of -3 dB.
NIFGEN_VAL_CAL_CONFIG_LOW_GAIN_PATH_PRE_AMP_6DB 2 The waveform generator was configured to use the low-gain amplifier path with preamplifier gain of -6 dB.
NIFGEN_VAL_CAL_CONFIG_LOW_GAIN_PATH_PRE_AMP_9DB 3 The waveform generator was configured to use the low-gain amplifier path with preamplifier gain of -9 dB.
NIFGEN_VAL_CAL_CONFIG_LOW_GAIN_PATH_PRE_AMP_12DB 4 The waveform generator was configured to use the low-gain amplifier path with preamplifier gain of -12 dB.
NIFGEN_VAL_CAL_CONFIG_HIGH_GAIN_PATH_PRE_AMP_0DB 5 The waveform generator was configured to use the high-gain amplifier path with preamplifier gain of 0 dB.
NIFGEN_VAL_CAL_CONFIG_HIGH_GAIN_PATH_PRE_AMP_3DB 6 The waveform generator was configured to use the high-gain amplifier path with preamplifier gain of -3 dB.
NIFGEN_VAL_CAL_CONFIG_HIGH_GAIN_PATH_PRE_AMP_6DB 7 The waveform generator was configured to use the high-gain amplifier path with preamplifier gain of -6 dB.
NIFGEN_VAL_CAL_CONFIG_HIGH_GAIN_PATH_PRE_AMP_9DB 8 The waveform generator was configured to use the high-gain amplifier path with preamplifier gain of -9 dB.
NIFGEN_VAL_CAL_CONFIG_HIGH_GAIN_PATH_PRE_AMP_12DB 9 The waveform generator was configured to use the high-gain amplifier path with preamplifier gain of -12 dB.
NIFGEN_VAL_CAL_CONFIG_DIRECT_PATH 10 The waveform generator was configured to use the direct path.
NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_0DB 12 The waveform generator was configured to use the main path with preamplifier gain of 0 dB.
NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_9DB 13 The waveform generator was configured to use the main path with preamplifier gain of -9 dB.
NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_33DB 14 The waveform generator was configured to use the main path with preamplifier gain of -33 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

requested amplitude

Amplitude used to generate the sine tones at different frequencies in volts (V).

datatype_icon

measured amplitudes array

Amplitudes measured for each corresponding frequency in the frequencies array input in volts (V).

datatype_icon

session out

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

datatype_icon

error out

Error information.

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

Web Server: Not supported in VIs that run in a web application


Recently Viewed Topics