National Instruments NI 5402 Calibration Procedure

National Instruments NI 5402 Calibration Procedure

Hide thumbs Also See for NI 5402:

Advertisement

Quick Links

CALIBRATION PROCEDURE
NI 5402/5406
Contents
This document contains instructions for writing a calibration procedure for
the NI PCI/PXI-5402/5406 arbitrary function generators. This calibration
procedure is intended for metrology labs.
Refer to
ni.com/calibration
calibration solutions from National Instruments.
Conventions ............................................................................................ 2
Software Requirements ........................................................................... 3
Documentation Requirements................................................................. 4
Password ................................................................................................. 4
Calibration Interval ................................................................................. 4
Test Equipment ....................................................................................... 5
Test Conditions ....................................................................................... 5
Calibration Procedures ............................................................................ 6
Initial Setup...................................................................................... 6
Self-Calibration................................................................................ 7
MAX ......................................................................................... 7
FGEN Soft Front Panel............................................................. 7
NI-FGEN .................................................................................. 8
Verification ...................................................................................... 9
Verifying the Oscillator Frequency Accuracy.......................... 11
Updating the Calibration Date and Temperature ............................. 38
Adjustment....................................................................................... 39
Adjusting the Calibration ADC ................................................ 41
Adjusting the Analog Output.................................................... 54
Adjusting the Sine Wave Flatness Correction .......................... 81
Adjusting the Oscillator Frequency .......................................... 90
for additional information about

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NI 5402 and is the answer not in the manual?

Questions and answers

Summary of Contents for National Instruments NI 5402

  • Page 1: Table Of Contents

    NI PCI/PXI-5402/5406 arbitrary function generators. This calibration procedure is intended for metrology labs. Refer to for additional information about ni.com/calibration calibration solutions from National Instruments. Contents Conventions .................... 2 Software Requirements ................3 Documentation Requirements..............4 Password ....................4 Calibration Interval .................
  • Page 2: Conventions

    This font is also used for the proper names of disk drives, paths, directories, programs, subprograms, subroutines, device names, functions, operations, variables, filenames, and extensions. Text in this font denotes a specific platform and indicates that the text Platform following it applies only to that platform. NI 5402/5406 Calibration Procedure ni.com...
  • Page 3: Software Requirements

    Software Requirements Calibrating the NI 5402/5406 requires installing NI-FGEN version 2.4 or later on the calibration system. You can download NI-FGEN from the Instrument Driver Network website at . NI-FGEN supports ni.com/idnet programming a Self-Calibration and an External Calibration in the ™...
  • Page 4: Documentation Requirements

    Documentation Requirements For information about NI-FGEN and the NI 5402/5406, you may find the following documents helpful: • NI Signal Generators Getting Started Guide—provides instructions for installing and configuring NI signal generators. • NI Signal Generators Help—includes detailed information about the NI 5402/5406 and the NI-FGEN VIs and functions.
  • Page 5: Test Equipment

    Follow these guidelines to optimize the connections and the environment during calibration: • Keep connections to the NI 5402/5406 short. Long cables and wires act as antennae, picking up noise that can affect measurements. • Keep relative humidity between 10% and 90% non-condensing.
  • Page 6: Calibration Procedures

    Power off the computer or chassis that will hold the device and install the device in an available slot. Power on the computer or chassis and launch MAX. Configure the device identifier and select Self-Test to ensure that the device is working properly. NI 5402/5406 Calibration Procedure ni.com...
  • Page 7: Self-Calibration

    NI Signal Generators Getting Started Guide. Self-Calibration The NI 5402/5406 is capable of performing self-calibration, which adjusts the square waveform analog path and the gain and offset voltage of the main analog path. Self-calibration uses an onboard ADC to measure the output voltage.
  • Page 8: Ni-Fgen

    NI-FGEN Complete the following steps to programatically perform a self-calibration on the NI 5402/5406 using NI-FGEN: Open an instrument driver session, initialize the device for operation, and return a session handle that will be used to identify the device in future NI-FGEN calls by calling the niFgen Initialize VI.
  • Page 9: Verification

    This section provides instructions for verifying the NI 5402/5406 specifications. Refer to Table 1 for recommendations on choosing an instrument to use for each test. Note Always self-calibrate the NI 5402/5406 after warm-up and before beginning a verification procedure. You can verify the following NI 5402/5406 specifications: •...
  • Page 10 Refer to Figure 1 for the names and locations of the NI 5402/5406 front panel connectors. NI PXI-540X ACCESS ACTIVE CH 0 CH 0 REF IN SYNC OUT/ SYNC PFI 0 OUT/ PFI 0 PFI 1 PFl 1 NI PCI-540X Figure 1.
  • Page 11: Verifying The Oscillator Frequency Accuracy

    Verifying the Oscillator Frequency Accuracy Complete this test to verify the frequency accuracy of the oscillator on the NI 5402/5406. In this test, you generate a 10 MHz sine wave with the NI 5402/5406 and measure the sine wave frequency with a frequency counter.
  • Page 12 Use the frequency counter to measure the frequency output at the CH 0 front panel connector of the NI 5402/5406. This value is the measured frequency of the generated sine wave. Compare the measured frequency of the generated sine wave to the calibration test limits and published specifications shown in Table 2.
  • Page 13 C/C++ Function Call Call niFgen_close using the following parameter: vi: The session handle returned from niFgen_init If any of the errors are greater than the calibration test limits, perform an external Adjustment. © National Instruments Corporation NI 5402/5406 Calibration Procedure...
  • Page 14: Verifying The Sine Wave Flatness Correction Accuracy

    Accuracy This test verifies the Sine Wave Flatness Correction Accuracy of the NI 5402/5406. In this procedure, you will compare the signal generator’s output power level during the generation of sine waves of various frequencies to the output power level measured during the generation of a 50 kHz sine wave.
  • Page 15 Connect the NI 5402/5406 CH 0 front panel connector to the power meter. Open an instrument driver session, initialize the device for operation, and return a session handle that will be used to identify the device in future NI-FGEN calls by calling the niFgen Initialize VI.
  • Page 16 NIFGEN_VAL_ FIXED_HIGH_GAIN_ ANALOG_PATH 3.00 12.00 1.780000 ±0.13 ±0.4 NIFGEN_VAL_ FIXED_HIGH_GAIN_ ANALOG_PATH 6.00 12.00 1.260000 ±0.13 ±0.4 NIFGEN_VAL_ FIXED_HIGH_GAIN_ ANALOG_PATH 9.00 12.00 0.890000 ±0.13 ±0.4 NIFGEN_VAL_ FIXED_HIGH_GAIN_ ANALOG_PATH 12.00 12.00 0.630000 ±0.13 ±0.4 NIFGEN_VAL_ FIXED_HIGH_GAIN_ ANALOG_PATH NI 5402/5406 Calibration Procedure ni.com...
  • Page 17 AttributeViReal64 using the following parameters: vi: The session handle returned from niFgen_init channelName: "0" attributeID: NIFGEN_ ATTR_PRE_AMPLIFIER_ ATTENUATION value: The Pre-Amplifier Attenuation value listed in Table 3 for the current iteration © National Instruments Corporation NI 5402/5406 Calibration Procedure...
  • Page 18 LabVIEW Block Diagram Function Call Call niFgen_Set AttributeViReal64 using the following parameters: vi: The session handle returned from niFgen_init channelName: "0" attributeID: NIFGEN_ ATTR_FUNC_AMPLITUDE value: The Amplitude value listed in Table 3 for the current iteration NI 5402/5406 Calibration Procedure ni.com...
  • Page 19 Use the power meter to measure the output power level of the NI 5402/5406. This value is the measured power of the 50 kHz sine wave. 10. In this step you generate a sine wave configured for the current iteration of Table 3 at each of the frequencies listed in Table 4.
  • Page 20 Table 4 Use the power meter to measure the power level output of the NI 5402/5406. This value is the measured power of the generated sine wave (dB). Check to see whether the sine wave flatness error falls between the high and low flatness error calibration test limits.
  • Page 21: Verifying The Main Path Gain And Offset Accuracy

    DC voltages and offsets, measure the voltage with a DMM, and compare the results to the error limits. Connect the NI 5402/5406 CH 0 front panel connector to the DMM. Open an instrument driver session, initialize the device for operation, and return a session handle that will be used to identify the device in future NI-FGEN calls by calling the niFgen Initialize VI.
  • Page 22 Set the load impedance by calling the niFgen Property Node and selecting Output Attributes»Load Impedance. C/C++ LabVIEW Block Diagram Function Call Call niFgen_Set AttributeViReal64 using the following parameters: vi: The session handle returned from niFgen_init channelName: "0" attributeID: NIFGEN_ ATTR_LOAD_IMPEDANCE value: 10,000,000,000 NI 5402/5406 Calibration Procedure ni.com...
  • Page 23 Set the output impedance by calling the niFgen Property Node and selecting Basic Operation»Output Impedance. C/C++ LabVIEW Block Diagram Function Call Call niFgen_Set AttributeViReal64 using the following parameters: vi: The session handle returned from niFgen_init channelName: "0" attributeID: NIFGEN_ATTR_OUTPUT_ IMPEDANCE value: 50.00 © National Instruments Corporation NI 5402/5406 Calibration Procedure...
  • Page 24 C/C++ LabVIEW Block Diagram Function Call Call niFgen_ DefineUserStandard using the Waveform following parameters: vi: The session handle returned from niFgen_init channelName: "0" waveformSize: 16,384 waveformDataArray: The array of waveform samples created in step 8 NI 5402/5406 Calibration Procedure ni.com...
  • Page 25 ±0.001715 ±0.00603 0.012 –0.794 –0.794 ±0.001715 ±0.00603 0.012 0.594 0.594 ±0.001415 ±0.00503 0.012 –0.594 –0.594 ±0.001415 ±0.00503 0.012 0.394 0.394 ±0.001115 ±0.00403 0.012 –0.394 –0.394 ±0.001115 ±0.00403 0.012 0.269 0.269 ±0.000928 ±0.003405 © National Instruments Corporation NI 5402/5406 Calibration Procedure...
  • Page 26 0.012 –0.014 –0.014 ±0.000545 ±0.00213 0.012 0.008 0.008 ±0.000536 ±0.0021 0.012 –0.008 –0.008 ±0.000536 ±0.0021 0.012 0.004 0.004 ±0.00053 ±0.00208 0.012 –0.004 –0.004 ±0.00053 ±0.00208 0.012 0.002 0.002 ±0.000527 ±0.00207 0.012 –0.002 –0.002 ±0.000527 ±0.00207 NI 5402/5406 Calibration Procedure ni.com...
  • Page 27 C/C++ Function Call Call niFgen_Set AttributeViReal64 using the following parameters: vi: The session handle returned from niFgen_init channelName: "0" attributeID: NIFGEN_ ATTR_DIGITAL_GAIN value: The Digital Gain value for the current iteration from Table 5 © National Instruments Corporation NI 5402/5406 Calibration Procedure...
  • Page 28 14. Wait 200 ms for the output to settle. 15. Use the DMM to measure the DC voltage output of the NI 5402/5406. This value is the measured DC output value. 16. Determine the error for positive full scale using the following formula: DC Error = (Measured DC Output –...
  • Page 29 C/C++ Function Call Call niFgen_close using the following parameter: vi: The session handle returned from niFgen_init 20. If any of the errors are greater than the calibration test limits, perform an Adjustment. © National Instruments Corporation NI 5402/5406 Calibration Procedure...
  • Page 30: Verifying Square Wave Gain And Offset Accuracy

    DC offsets, measure the voltage with a DMM, and compare the results to the error limits. Connect the NI 5402/5406 CH 0 front panel connector to the DMM. Open an instrument driver session, initialize the device for operation, and return a session handle that will be used to identify the device in future NI-FGEN calls by calling the niFgen Initialize VI.
  • Page 31 ±0.087 7FFF ±0.015 ±0.072 FFFF8000 –7 ±0.015 ±0.072 7FFF ±0.011 ±0.052 FFFF8000 –5 ±0.011 ±0.052 7FFF ±0.008 ±0.037 FFFF8000 –3.5 ±0.008 ±0.037 7FFF ±0.006 ±0.027 FFFF8000 –2.5 ±0.006 ±0.027 7FFF ±0.005 ±0.022 © National Instruments Corporation NI 5402/5406 Calibration Procedure...
  • Page 32 ±0.0025 FFFF8000 –0.05 ±0.0011 ±0.0025 7FFF 0.07 0.035 ±0.00107 ±0.00235 FFFF8000 0.07 –0.035 ±0.00107 ±0.00235 7FFF 0.05 0.025 ±0.00105 ±0.00225 FFFF8000 0.05 –0.025 ±0.00105 ±0.00225 7FFF 0.04 0.02 ±0.00104 ±0.0022 FFFF8000 0.04 –0.02 ±0.00104 ±0.0022 NI 5402/5406 Calibration Procedure ni.com...
  • Page 33 –1.5 ±0.00325 ±0.01325 7FFF ±0.0031 ±0.0125 FFFF8000 –0.7 –1.4 ±0.0031 ±0.0125 7FFF ±0.0025 ±0.0095 FFFF8000 –0.5 –1 ±0.0025 ±0.0095 7FFF 0.35 ±0.00205 ±0.00725 FFFF8000 –0.35 –0.7 ±0.00205 ±0.00725 7FFF 0.25 ±0.00175 ±0.00575 © National Instruments Corporation NI 5402/5406 Calibration Procedure...
  • Page 34 0.015 0.0075 0.015 ±0.001022 ±0.0021125 FFFF8000 0.015 –0.0075 –0.015 ±0.001022 ±0.0021125 7FFF 0.012 0.005 0.011 ±0.001017 ±0.002085 FFFF8000 0.012 –0.005 –0.011 ±0.001017 ±0.002085 7FFF 0.012 0.002 0.008 ±0.001014 ±0.00207 FFFF8000 0.012 –0.002 –0.008 ±0.001014 ±0.00207 NI 5402/5406 Calibration Procedure ni.com...
  • Page 35 Output Attributes»Data Mask»Analog Data Mask. LabVIEW Block Diagram C/C++ Function Call Call niFgen_Set AttributeViInt32 using the following parameter: vi: The session handle returned from niFgen_init channelName: "0" attributeID: NIFGEN_ATTR_ANALOG_ DATA_MASK value: © National Instruments Corporation NI 5402/5406 Calibration Procedure...
  • Page 36 The session handle returned from niFgen_init Wait 200 ms for the output to settle. 10. Use the DMM to measure the DC voltage output of the NI 5402/5406. This is the measured DC output value. NI 5402/5406 Calibration Procedure ni.com...
  • Page 37 The session handle returned from niFgen_init 15. If any of the errors are greater than the calibration test limits, perform a self-calibration procedure, followed by a reverification procedure. © National Instruments Corporation NI 5402/5406 Calibration Procedure...
  • Page 38: Updating The Calibration Date And Temperature

    Updating the Calibration Date and Temperature If the NI 5402/5406 passed verification within the calibration test limits and you do not want to perform an adjustment, you can update the calibration date and onboard calibration temperature without making any adjustments...
  • Page 39: Adjustment

    Updating the Calibration Date and Temperature section for instructions on updating the calibration date and temperature without performing an adjustment. If the NI 5402/5406 is not within the calibration test limits for each verification procedure, perform the adjustment procedure to improve the accuracy of the NI 5402/5406.
  • Page 40 Adjust Calibration ADC Initialize Analog Output Calibration Adjust Main Path Pre-Amp Offset Adjust Main Path Pre-Amp Gain Adjust Main Path Post-Amp Gain and Offset Adjust Flatness Correction Adjust Oscillator Frequency Figure 3. NI 5402/5406 External Calibration Procedure NI 5402/5406 Calibration Procedure ni.com...
  • Page 41: Adjusting The Calibration Adc

    NI 5402/5406 that is used during self-calibration and external calibration. You will characterize the gain and offset associated with this ADC. Connect the NI 5402/5406 CH 0 front panel connector to a DMM. Open an NI-FGEN external calibration session by calling the niFgen Init Ext Cal VI.
  • Page 42 Set the gain DAC value by calling the niFgen Property Node and selecting Calibration»Gain DAC Value. C/C++ LabVIEW Block Diagram Function Call Call niFgen_Set AttributeViInt32 using the following parameters: vi: The session handle returned from niFgen_InitExtCal channelName: "0" attributeID: NIFGEN_ ATTR_GAIN_DAC_VALUE value: 1,700 NI 5402/5406 Calibration Procedure ni.com...
  • Page 43 Output Attributes»Analog Filter Enabled. C/C++ LabVIEW Block Diagram Function Call Call niFgen_ SetAttribute using the ViBoolean following parameters: vi: The session handle returned from niFgen_InitExtCal channelName: "0" attributeID: NIFGEN_ATTR_ANALOG_ FILTER_ENABLED value: VI_FALSE © National Instruments Corporation NI 5402/5406 Calibration Procedure...
  • Page 44 Set the post-amplifier attenuation by calling the niFgen Property Node and selecting Calibration»Post-Amplifier Attenuation. C/C++ LabVIEW Block Diagram Function Call Call niFgen_Set AttributeViReal64 using the following parameters: vi: The session handle returned from niFgen_InitExtCal channelName: "0" attributeID: NIFGEN_ ATTR_POST_AMPLIFIER _ATTENUATION value: NI 5402/5406 Calibration Procedure ni.com...
  • Page 45 11. Disable the analog output by calling the niFgen Property Node and selecting Basic Operation»Output Enabled. LabVIEW Block Diagram C/C++ Function Call Call niFgen_Set AttributeViBoolean using the following parameters: vi: The session handle returned from niFgen_InitExtCal channelName: "0" attributeID: NIFGEN_ ATTR_OUTPUT_ENABLED value: VI_FALSE © National Instruments Corporation NI 5402/5406 Calibration Procedure...
  • Page 46 13. Set the calibration ADC input by calling the niFgen Property Node and selecting Calibration»Cal ADC Input. LabVIEW Block Diagram C/C++ Function Call Call niFgen_Set AttributeViInt32 using the following parameters: vi: The session handle returned from niFgen_InitExtCal channelName: (empty string) "" attributeID: NIFGEN_ ATTR_CAL_ADC_INPUT value: NIFGEN_VAL_ ANALOG_OUTPUT NI 5402/5406 Calibration Procedure ni.com...
  • Page 47 Returns a ViReal64 variable. The variable passed by reference through this parameter receives the voltage measured by the onboard ADC. This value cal ADC , which measurement 0 is used in step 30. © National Instruments Corporation NI 5402/5406 Calibration Procedure...
  • Page 48 The session handle returned from niFgen_InitExtCal 19. Wait 500 ms for the output to settle. 20. Use the DMM to measure the NI 5402/5406 output voltage. This measurement is , which is used in external measurement 0 step 30.
  • Page 49 22. Disable the analog output by calling the niFgen Property Node and selecting Basic Operation»Output Enabled. C/C++ LabVIEW Block Diagram Function Call Call niFgen_Set AttributeViBoolean using the following parameters: vi: The session handle returned from niFgen_InitExtCal channelName: "0" attributeID: NIFGEN_ ATTR_OUTPUT_ENABLED value: VI_FALSE © National Instruments Corporation NI 5402/5406 Calibration Procedure...
  • Page 50 Returns a ViReal64 variable. The variable passed by reference through this parameter receives the voltage measured by the onboard ADC. This value is cal ADC , which measurement 1 is used in step 30. NI 5402/5406 Calibration Procedure ni.com...
  • Page 51 The session handle returned from niFgen_InitExtCal 28. Wait 500 ms for the output to settle. 29. Use the DMM to measure the NI 5402/5406 output voltage. This measurement is , which is used in external measurement 1 step 30.
  • Page 52 31. Disable the analog output by calling the niFgen Property Node and selecting Basic Operation»Output Enabled. C/C++ LabVIEW Block Diagram Function Call Call niFgen_Set AttributeViBoolean using the following parameters: vi: The session handle returned from niFgen_InitExtCal channelName: "0" attributeID: NIFGEN_ ATTR_OUTPUT_ENABLED value: VI_FALSE NI 5402/5406 Calibration Procedure ni.com...
  • Page 53 33. Commit the attribute values to the device by calling the niFgen Commit VI. C/C++ LabVIEW Block Diagram Function Call Call niFgen_Commit using the following parameter: vi: The session handle returned from niFgen_InitExtCal © National Instruments Corporation NI 5402/5406 Calibration Procedure...
  • Page 54: Adjusting The Analog Output

    Main path post-amplifier gain and offset In each of these sub-procedures, you put the device in several configurations and take several output measurements. You then pass these measurements to NI-FGEN, which determines the calibration constants for the device. NI 5402/5406 Calibration Procedure ni.com...
  • Page 55 Initializing Analog Output Calibration Connect the NI 5402/5406 CH 0 front panel connector to the DMM. Open an NI-FGEN external calibration session by calling the niFgen Init Ext Cal VI. C/C++ LabVIEW Block Diagram Function Call Call niFgen_Init using the...
  • Page 56 Set the analog path value by calling the niFgen Property Node and selecting Output Attributes»Analog Path. C/C++ LabVIEW Block Diagram Function Call Call niFgen_Set AttributeViInt32 using the following parameters: vi: The session handle returned from niFgen_InitExtCal channelName: "0" attributeID: NIFGEN_ATTR_ ANALOG_PATH value: NIFGEN_VAL_ FIXED_LOW_GAIN_ ANALOG_PATH NI 5402/5406 Calibration Procedure ni.com...
  • Page 57 Set the offset DAC value by calling the niFgen Property Node and selecting Calibration»Offset DAC Value. C/C++ LabVIEW Block Diagram Function Call Call niFgen_Set AttributeViInt32 using the following parameters: vi: The session handle returned from niFgen_InitExtCal channelName: "0" attributeID: NIFGEN_ATTR_OFFSET_ DAC_VALUE value: 32,767 © National Instruments Corporation NI 5402/5406 Calibration Procedure...
  • Page 58 Set the pre-amplifier attenuation by calling the niFgen Property Node and selecting Calibration»Pre-Amplifier Attenuation. C/C++ LabVIEW Block Diagram Function Call Call niFgen_Set AttributeViReal64 using the following parameters: vi: The session handle returned from niFgen_InitExtCal channelName: "0" attributeID: NIFGEN_ ATTR_PRE_AMPLIFIER_ ATTENUATION value: 0.00 NI 5402/5406 Calibration Procedure ni.com...
  • Page 59 11. Set the load impedance by calling the niFgen Property Node and selecting Output Attributes»Load Impedance. C/C++ LabVIEW Block Diagram Function Call Call niFgen_Set AttributeViReal64 using the following parameters: vi: The session handle returned from niFgen_InitExtCal channelName: "0" attributeID: NIFGEN_ ATTR_LOAD_IMPEDANCE value: 10,000,000,000 © National Instruments Corporation NI 5402/5406 Calibration Procedure...
  • Page 60 NIFGEN_VAL_ WVFM_USER 13. Commit the attribute values to the device by calling the niFgen Commit VI. C/C++ LabVIEW Block Diagram Function Call Call niFgen_Commit using the following parameter: vi: The session handle returned from niFgen_InitExtCal NI 5402/5406 Calibration Procedure ni.com...
  • Page 61 Table 7. Attributes and Values for Main Path Pre-Amplifier Offset Pre-Amplifier Analog Filter Attenuation Iteration Enable (dB) Current Configuration VI_FALSE NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_OFF_0DB VI_FALSE NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_OFF_3DB VI_FALSE NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_OFF_6DB VI_FALSE NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_OFF_9DB VI_FALSE NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_OFF_12DB VI_TRUE NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_ON_0DB VI_TRUE NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_ON_3DB VI_TRUE NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_ON_6DB VI_TRUE NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_ON_9DB VI_TRUE NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_ON_12DB © National Instruments Corporation NI 5402/5406 Calibration Procedure...
  • Page 62 LabVIEW Block Diagram Function Call Call niFgen_Set AttributeViReal64 using the following parameters: vi: The session handle returned from niFgen_InitExtCal channelName: "0" attributeID: NIFGEN_ ATTR_PRE_AMPLIFIER_ ATTENUATION value: The Pre-Amplifier Attenuation value for the current iteration from Table 7 NI 5402/5406 Calibration Procedure ni.com...
  • Page 63 Take the following voltage measurements at the NI 5402/5406 CH 0 front panel connector into a high-impedance load: Set the gain DAC value by calling the niFgen Property Node and selecting Calibration»Gain DAC Value. C/C++ LabVIEW Block Diagram Function Call...
  • Page 64 The session handle returned from niFgen_InitExtCal Wait 500 ms for the output to settle. Use the DMM to measure the NI 5402/5406 output voltage. This measurement is , which is used in step 5. measurement 0 Set the gain DAC value by calling the niFgen Property Node and selecting Calibration»Gain DAC Value.
  • Page 65 The session handle returned from niFgen_InitExtCal Wait 500 ms for the output to settle. Use the DMM to measure the NI 5402/5406 output voltage. This measurement is , which is used in step 5. measurement 1 Set the offset DAC value by calling the niFgen Property Node and selecting Calibration»Offset DAC Value.
  • Page 66 The session handle returned from niFgen_InitExtCal Wait 500 ms for the output to settle. m. Use the DMM to measure the NI 5402/5406 output voltage. This measurement is , which is used in step 5. measurement 2 Adjust the pre-amplifier main path offset by calling the niFgen Cal Adjust Main Path Pre Amp Offset VI.
  • Page 67 Set the offset DAC value by calling the niFgen Property Node and selecting Calibration»Offset DAC Value. C/C++ LabVIEW Block Diagram Function Call Call niFgen_Set AttributeViInt32 using the following parameters: vi: The session handle returned from niFgen_InitExtCal channelName: "0" attributeID: NIFGEN_ATTR_OFFSET_ DAC_VALUE value: 32,000 © National Instruments Corporation NI 5402/5406 Calibration Procedure...
  • Page 68 Function Call Call niFgen_ SetAttribute using the ViBoolean following parameters: vi: The session handle returned from niFgen_InitExtCal channelName: "0" attributeID: NIFGEN_ATTR_ANALOG_ FILTER_ENABLED value: The Analog Filter Enable value for the current iteration from Table 8 NI 5402/5406 Calibration Procedure ni.com...
  • Page 69 Attenuation value for the current iteration from Table 8 Take the following voltage measurements at the NI 5402/5406 CH 0 front panel connector into a high-impedance load: Set the gain DAC value by calling the niFgen Property Node and selecting Calibration»Gain DAC Value.
  • Page 70 The session handle returned from niFgen_InitExtCal Wait 500 ms for the output to settle. Use the DMM to measure the NI 5402/5406 output voltage. This measurement is , which is used in step 6. measurement 0 NI 5402/5406 Calibration Procedure...
  • Page 71 Set the main DAC value by calling the niFgen Write Binary 16 Analog Static Value VI. C/C++ LabVIEW Block Diagram Function Call Call niFgen_Write Binary16Analog StaticValue using the following parameters: vi: The session handle returned from niFgen_InitExtCal channelName: "0" value: – 29,232 © National Instruments Corporation NI 5402/5406 Calibration Procedure...
  • Page 72 The session handle returned from niFgen_InitExtCal Wait 500 ms for the output to settle. Use the DMM to measure the NI 5402/5406 output voltage. This measurement is , which is used in step 6. measurement 1 Adjust the pre-amplifier main path gain and offset by calling the niFgen Cal Adjust Main Path Pre Amp Gain VI.
  • Page 73 Standard Function Output»Waveform. C/C++ LabVIEW Block Diagram Function Call Call niFgen_Set AttributeViInt32 using the following parameters: vi: The session handle returned from niFgen_InitExtCal channelName: "0" attributeID: NIFGEN_ ATTR_FUNC_WAVEFORM value: NIFGEN_VAL_ WVFM_USER © National Instruments Corporation NI 5402/5406 Calibration Procedure...
  • Page 74 Set the pre-amplifier attenuation by calling the niFgen Property Node and selecting Calibration»Pre-Amplifier Attenuation. C/C++ LabVIEW Block Diagram Function Call Call niFgen_Set AttributeViReal64 using the following parameters: vi: The session handle returned from niFgen_InitExtCal channelName: "0" attributeID: NIFGEN_ ATTR_PRE_AMPLIFIER_ ATTENUATION value: NI 5402/5406 Calibration Procedure ni.com...
  • Page 75 NIFGEN_VAL_FIXED_LOW_GAIN_ NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_ ANALOG_PATH LOW_GAIN_0DB NIFGEN_VAL_FIXED_LOW_GAIN_ NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_ ANALOG_PATH LOW_GAIN_12DB NIFGEN_VAL_FIXED_LOW_GAIN_ NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_ ANALOG_PATH LOW_GAIN_24DB NIFGEN_VAL_FIXED_LOW_GAIN_ NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_ ANALOG_PATH LOW_GAIN_36DB NIFGEN_VAL_FIXED_HIGH_GAIN_ NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_ ANALOG_PATH HIGH_GAIN_0DB NIFGEN_VAL_FIXED_HIGH_GAIN_ NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_ ANALOG_PATH HIGH_GAIN_12DB NIFGEN_VAL_FIXED_HIGH_GAIN_ NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_ ANALOG_PATH HIGH_GAIN_24DB NIFGEN_VAL_FIXED_HIGH_GAIN_ NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_ ANALOG_PATH HIGH_GAIN_36DB © National Instruments Corporation NI 5402/5406 Calibration Procedure...
  • Page 76 LabVIEW Block Diagram Function Call Call niFgen_Set AttributeViReal64 using the following parameters: vi: The session handle returned from niFgen_InitExtCal channelName: "0" attributeID: NIFGEN_ ATTR_POST_AMPLIFIER _ATTENUATION value: The Post-Amplifier Attenuation value for the current iteration from Table 9 NI 5402/5406 Calibration Procedure ni.com...
  • Page 77 Take the following voltage measurements at the NI 5402/5406 CH 0 front panel connector into a high-impedance load: Set the offset DAC value by calling the niFgen Property Node and selecting Calibration»Offset DAC Value. C/C++ LabVIEW Block Diagram Function Call...
  • Page 78 The session handle returned from niFgen_InitExtCal Wait 500 ms for the output to settle. Use the DMM to measure the NI 5402/5406 output voltage. This measurement is , which is used in step 9. measurement 1 NI 5402/5406 Calibration Procedure...
  • Page 79 The session handle returned from niFgen_InitExtCal channelName: "0" configuration: The Current Configuration value for the current iteration from Table 9 mainDACValues: gainDACValues: 2000 offsetDACValues: 38000 27000 measuredOutputs: measurement 0 measurement 1 © National Instruments Corporation NI 5402/5406 Calibration Procedure...
  • Page 80 NIFGEN_VAL_EXT_CAL_ABORT This function then discards the new calibration constants and does not change any of the calibration data stored in the onboard EEPROM. NI 5402/5406 Calibration Procedure ni.com...
  • Page 81: Adjusting The Sine Wave Flatness Correction

    Connect the NI 5402/5406 CH 0 front panel connector to a power meter. Open an NI-FGEN external calibration session by calling the niFgen Init Ext Cal VI.
  • Page 82 Configure the waveform by calling the niFgen Configure Standard Waveform VI. C/C++ LabVIEW Block Diagram Function Call Call niFgen_ ConfigureStandard using the Waveform following parameters: vi: The session handle returned from niFgen_InitExtCal channelName: "0" waveform: NIFGEN_VAL_WFM_SINE frequency: 50,000 amplitude: 2.00 startPhase: dcOffset: NI 5402/5406 Calibration Procedure ni.com...
  • Page 83 NIFGEN_VAL_CAL_ HIGH_GAIN_ CONFIG_HIGH_GAIN_ ANALOG_PATH PATH_PRE_AMP_3DB 6.00 12.00 1.260000 NIFGEN_VAL_FIXED_ NIFGEN_VAL_CAL_ HIGH_GAIN_ CONFIG_HIGH_GAIN_ ANALOG_PATH PATH_PRE_AMP_6DB 9.00 12.00 0.890000 NIFGEN_VAL_FIXED_ NIFGEN_VAL_CAL_ HIGH_GAIN_ CONFIG_HIGH_GAIN_ ANALOG_PATH PATH_PRE_AMP_9DB 12.00 12.00 0.630000 NIFGEN_VAL_FIXED_ NIFGEN_VAL_CAL_ HIGH_GAIN_ CONFIG_HIGH_GAIN_ ANALOG_PATH PATH_PRE_AMP_12DB © National Instruments Corporation NI 5402/5406 Calibration Procedure...
  • Page 84 LabVIEW Block Diagram Function Call Call niFgen_Set AttributeViReal64 using the following parameters: vi: The session handle returned from niFgen_InitExtCal channelName: "0" attributeID: NIFGEN_ ATTR_POST_AMPLIFIER _ATTENUATION value: The Post-Amplifier Attenuation value for the current iteration from Table 10 NI 5402/5406 Calibration Procedure ni.com...
  • Page 85 Function Call Call niFgen_Set AttributeViReal64 using the following parameters: vi: The session handle returned from niFgen_InitExtCal channelName: "0" attributeID: NIFGEN_ ATTR_FUNC_AMPLITUDE value: The Amplitude value for the current iteration from Table 10 © National Instruments Corporation NI 5402/5406 Calibration Procedure...
  • Page 86 Table 11. These steps will be repeated for each iteration in Table 10. Table 11. Frequencies for Adjusting Sine Wave Flatness Correction Frequencies for the NI 5402 Frequencies for the NI 5406 (Hz) (Hz)
  • Page 87 Table 11 Use the power meter to measure the power generated by the NI 5402/5406 during the generation of the sine wave. Repeat steps 11a through 11b for each frequency in Table 11. 12. Abort waveform generation by calling the niFgen Abort Generation VI.
  • Page 88 Table 11 requestedAmplitude AtCalibration: The requested amplitude value for the current configuration from Table 10 measuredAmplitudes: An array of the amplitudes measured by the power meter during the current iteration NI 5402/5406 Calibration Procedure ni.com...
  • Page 89 NIFGEN_VAL_EXT_CAL_ . This function then ABORT discards the new calibration constants and does not change any of the calibration data stored in the onboard EEPROM. © National Instruments Corporation NI 5402/5406 Calibration Procedure...
  • Page 90: Adjusting The Oscillator Frequency

    Adjusting the Oscillator Frequency Complete this procedure to adjust the oscillator frequency of the NI 5402/5406. In this procedure, you generate a 10 MHz sine wave, iteratively measure the sine wave frequency with a frequency counter, and adjust the oscillator frequency until the measured frequencies fall within the desired tolerance 4.5 ppm.
  • Page 91 The session handle returned from niFgen_InitExtCal Use the frequency counter to measure the frequency of the generated waveform. This value is the first measured frequency that is used in step 7b. © National Instruments Corporation NI 5402/5406 Calibration Procedure...
  • Page 92 The measured frequency should converge on the desired frequency. If the measured frequency does not converge on the desired frequency within 16 iterations, a problem may exist with your measurement device or the NI 5402/5406. Abort waveform generation by calling the niFgen Abort Generation VI.
  • Page 93 (4.5 ppm). Abort waveform generation by calling the niFgen Abort Generation VI. C/C++ LabVIEW Block Diagram Function Call Call niFgen_Abort Generation using the following parameter: vi: The session handle returned from niFgen_InitExtCal © National Instruments Corporation NI 5402/5406 Calibration Procedure...
  • Page 94 NIFGEN_VAL_EXT_CAL_ . This function discards ABORT the new calibration constants and does not change any of the calibration data stored in the onboard EEPROM. NI 5402/5406 Calibration Procedure ni.com...
  • Page 95: Appendix A: Calibration Procedure Options

    The Complete Calibration section describes the recommended calibration procedure. The Optional Calibration section describes alternative procedures that allow you to skip adjustment if the device already meets its calibration test limits or published specifications. © National Instruments Corporation NI 5402/5406 Calibration Procedure...
  • Page 96: Complete Calibration

    Complete Calibration Performing a complete calibration is the recommended method of calibration, as it guarantees that the NI 5402/5406 meets or exceeds its published specifications for a two-year calibration interval. At the end of the complete calibration procedure, you verify that the output error falls within the calibration test limits.
  • Page 97: Optional Calibration

    Regardless of the results of the first verification, if you choose to perform an Note adjustment you must verify that the output error falls within the calibration test limits at the end of the calibration procedure. © National Instruments Corporation NI 5402/5406 Calibration Procedure...
  • Page 98 Without Adjusting Optional) Adjust (Cal Dates and Adjust Temperatures Anyway? Updated) Document Verify Post-Adjustment Results Meets Calibration/ Calibration Verification Test Limits? Complete Review Verification/ Adjustment Procedure or Return Device Figure 5. Optional Calibration Programming Flow NI 5402/5406 Calibration Procedure ni.com...
  • Page 99: Appendix B: Calibration Utilities

    Appendix B: Calibration Utilities NI-FGEN supports several calibration utilities that allow you to retrieve information about adjustments performed on the NI 5402/5406 arbitrary function generator, restore an external calibration, change the external calibration password, and store small amounts of information in the onboard EEPROM.
  • Page 100: Ni-Fgen

    Change Ext Cal Password The following are the niFgen utility functions: • niFgen_GetSelfCalSupported • niFgen_GetSelfCalLastDateAndTime • niFgen_GetExtCalLastDateAndTime • niFgen_GetSelfCalLastTemp • niFgen_GetExtCalLastTemp • niFgen_GetExtCalRecommendedInterval • niFgen_ChangeExtCalPassword • niFgen_SetCalUserDefinedInfo • niFgen_GetCalUserDefinedInfo • niFgen_GetCalUserDefinedInfoMaxSize • niFgen_ReadCurrentTemperature • niFgen_RestoreLastExtCalConstants NI 5402/5406 Calibration Procedure ni.com...
  • Page 101: Where To Go For Support

    Instruments trademarks. Other product and company names mentioned herein are trademarks or trade names of their respective companies. For patents covering National Instruments products, refer to the appropriate location: Help»Patents in your software, the patents.txt file on your CD, or ni.com/patents.

This manual is also suitable for:

Ni 5406

Table of Contents