National Instruments NI PXI-5404 Calibration Procedure

National Instruments NI PXI-5404 Calibration Procedure

Hide thumbs Also See for NI PXI-5404:

Advertisement

Quick Links

CALIBRATION PROCEDURE
NI PXI-5404
This document contains step-by-step instructions for writing a calibration procedure for the
NI PXI-5404 100 MHz Frequency Source.
Contents
Calibration Overview ............................................................................................................... 2
What Is External Calibration? .......................................................................................... 2
Why Should You Calibrate?............................................................................................. 2
How Often Should You Calibrate?................................................................................... 2
Equipment and Other Test Requirements................................................................................. 2
Test Equipment................................................................................................................. 2
Test Conditions................................................................................................................. 4
Documentation.................................................................................................................. 4
Software............................................................................................................................ 4
Writing Your Calibration Procedure ........................................................................ 4
Calibration Software................................................................................................. 4
Calibration Procedures in C...................................................................................... 6
Calibration Procedures in LabVIEW........................................................................ 6
Calibration Procedures in Visual Basic .................................................................... 6
Verification............................................................................................................................... 7
Verifying Frequency Accuracy ........................................................................................ 8
Verifying SINE Out Amplitude Accuracy ....................................................................... 9
Verifying SINE Out Amplitude Passband Flatness.......................................................... 10
Verifying CLOCK Out Duty Cycle Accuracy ................................................................. 13
External Adjustment ................................................................................................................. 14
Overview of Calibration Constants .................................................................................. 14
VCXO DAC ............................................................................................................. 14
GAIN DAC............................................................................................................... 15
SYNC DAC .............................................................................................................. 15
Setting Up and Configuring the NI 5404.......................................................................... 15
Adjusting the NI 5404 ...................................................................................................... 16
Adjusting the VCXO DAC for Frequency Accuracy............................................... 17
Adjusting the SINE Out Amplitude.......................................................................... 20
Adjusting the CLOCK Out Duty Cycle.................................................................... 25
Closing the Calibration Session........................................................................................ 28
Calibration Function Reference................................................................................................ 28
Where to Go for Support .......................................................................................................... 48

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NI PXI-5404 and is the answer not in the manual?

Questions and answers

Summary of Contents for National Instruments NI PXI-5404

  • Page 1: Table Of Contents

    CALIBRATION PROCEDURE NI PXI-5404 This document contains step-by-step instructions for writing a calibration procedure for the NI PXI-5404 100 MHz Frequency Source. Contents Calibration Overview ....................... 2 What Is External Calibration? ..................2 Why Should You Calibrate?..................... 2 How Often Should You Calibrate?................... 2 Equipment and Other Test Requirements.................
  • Page 2: Calibration Overview

    This section describes the test equipment, test conditions, documentation, and software required for calibration. Test Equipment External calibration requires different equipment for each applicable specification. Refer to Table 1 for a list of equipment. 2 | ni.com | NI PXI-5404 Calibration Procedure...
  • Page 3 NRVS meter from 9 kHz to 105 MHz Rohde & Schwarz NRV-Z51 or Rohde & Schwarz NRV-Z53 sensor Rohde & Schwarz NRP-Z91 Female N-Type to 50 Ω — female SMB cable NI PXI-5404 Calibration Procedure | © National Instruments | 3...
  • Page 4: Test Conditions

    NI PXI-5404 Specifications The NI Signal Generators Help includes detailed information on the NI-FGEN instrument driver functions. You can access this help file by selecting Start»Programs»National Instruments» NI-FGEN»NI Signal Generators Help. The NI Signal Generators Getting Started Guide provides instructions for installing and configuring NI signal generators.
  • Page 5 You must include this file in any C code that you write to call these functions. Example written in C that illustrates VXIpnp\WinNT(Win95)\nifgen\ a calibration procedure using the Examples\Calibration\ functions in the ExternalCalibrationExample5404.c niArbCal.dll NI PXI-5404 Calibration Procedure | © National Instruments | 5...
  • Page 6: Calibration Procedures In C

    To write calibration procedures in Visual Basic, complete the following steps: Configure the project to reference the by selecting Project»References niArbCal.dll from the menu bar. Click Browse and navigate to your system directory. Find and select niArbCal.dll Click Open. Click OK. 6 | ni.com | NI PXI-5404 Calibration Procedure...
  • Page 7: Verification

    SINE out amplitude passband flatness Refer to Table 1 for information concerning which instrument to use for each characteristic. The verification procedure for each of these specifications includes setting up, programming, and cleaning up. NI PXI-5404 Calibration Procedure | © National Instruments | 7...
  • Page 8: Verifying Frequency Accuracy

    • vi—The output that is passed in by reference to the verification functions as sessionHandle • resourceName— , where is the device number "DAQ::#" • ID Query— True • Reset Device— True 8 | ni.com | NI PXI-5404 Calibration Procedure...
  • Page 9: Verifying Sine Out Amplitude Accuracy

    I/O session. niFgen_init() Set the following parameters: • vi—The output that is passed in by reference to the verification functions as sessionHandle • resourceName— , where is the device number "DAQ::#" NI PXI-5404 Calibration Procedure | © National Instruments | 9...
  • Page 10: Verifying Sine Out Amplitude Passband Flatness

    NI 5404, you must determine the measurement error of the DMM that you used to measure the rms voltage and account for this error when comparing the measured voltage to the amplitude accuracy listed in the Specifications for the NI PXI-5404. A 4 V sine wave has an rms amplitude of 1.41421 V...
  • Page 11 (in dBm) to the power meter results for frequency indexes 0 to 11. Disconnect the SINE out of the NI 5404 from the DMM and connect SINE out to the power meter using the SMB to N-Type cable. NI PXI-5404 Calibration Procedure | © National Instruments | 11...
  • Page 12 You must account for this error when comparing the measured amplitude to the amplitude passband flatness accuracy listed in the Specifications for NI PXI-5404. Table 3. Frequencies for Verifying SINE Out Amplitude Passband Flatness Index Frequency (MHz) 12 | ni.com | NI PXI-5404 Calibration Procedure...
  • Page 13: Verifying Clock Out Duty Cycle Accuracy

    NI 5404 to leave its configuration state and enter its signal generation state. Set the following parameter: • vi—The output value you obtained from the sessionHandle niFgen_init function NI PXI-5404 Calibration Procedure | © National Instruments | 13...
  • Page 14: External Adjustment

    Specifications for the NI PXI-5404. Call...
  • Page 15: Gain Dac

    (either amplitude, meter passband flatness peak-to-peak amplitude, accuracy or rms value) CLOCK out duty Duty cycle CLOCK out Oscilloscope cycle accuracy Frequency accuracy Frequency SINE out Spectrum analyzer NI PXI-5404 Calibration Procedure | © National Instruments | 15...
  • Page 16: Adjusting The Ni 5404

    Calibrate the GAIN DAC for Sine Amplitude Accuracy and Passband Flatness Accuracy Apply Session Constants niHSSources_ApplySessionConstants() Calibrate the SYNC DAC for CLOCK Out Duty Cycle Accuracy Disable the Output and Close the Calibration Session: niHSSources_SetArbOutput() niHSSources_CalEnd() 16 | ni.com | NI PXI-5404 Calibration Procedure...
  • Page 17: Adjusting The Vcxo Dac For Frequency Accuracy

    VCXO DAC value. This internal value is written to the VCXO DAC after you call niHSSources_CalibrateVCXO (niHSSources Cal CalibrateVCXO VI). NI PXI-5404 Calibration Procedure | © National Instruments | 17...
  • Page 18 Module Initialization Generate a Waveform at the Desired Frequency Initialize VCXO Calibration Call niHSSources_CalibrateVCXO() Measure Frequency Call niHSSources_CalAdjust() with Measured Frequency Have you adjusted 16 times? Continue to SINE out Amplitude Adjust 18 | ni.com | NI PXI-5404 Calibration Procedure...
  • Page 19 VI. If the difference between the desired and measured frequencies is smaller than the accuracy or resolution of the measurement device, you can stop the calibration at any time. NI PXI-5404 Calibration Procedure | © National Instruments | 19...
  • Page 20: Adjusting The Sine Out Amplitude

    The amplitude is calibrated at several frequencies to flatten the passband response. For the first frequency, perform 16 adjustment iterations. For all other frequencies, perform only eight iterations. Figure 4 shows the programming flow for the SINE out amplitude and passband flatness adjustments. 20 | ni.com | NI PXI-5404 Calibration Procedure...
  • Page 21 Have you adjusted 16 times for the first frequency? Have you adjusted 8 times for the remaining frequencies? Have you repeated for every frequency? Continue to CLOCK Out Duty Cycle Adjustment NI PXI-5404 Calibration Procedure | © National Instruments | 21...
  • Page 22 (niHSSources Cal niHSSources_ApplySessionConstants ApplySessionConstants VI) to pass the updated calibration constants to the underlying driver. This function ensures that the session uses the new VXCO DAC values calculated during the VCXO calibration. 22 | ni.com | NI PXI-5404 Calibration Procedure...
  • Page 23 Table 5 for the current index Enable the output by calling (niHSSources niHSSources_SetArbOutput Cal SetArbOutputVI). Set the following parameters: • sessionHandle—The handle of the calibration session for the module • outputState— niHSSources_ENABLE NI PXI-5404 Calibration Procedure | © National Instruments | 23...
  • Page 24 ( 2.0 V • measured amplitude—A pointer to a variable holding the measured peak-to-peak level at the SINE out connector (assume a 50 Ω load) 24 | ni.com | NI PXI-5404 Calibration Procedure...
  • Page 25: Adjusting The Clock Out Duty Cycle

    Duty Cycle for Each DAC Value Call niHSSources_CalAdjust with all of the SYNC DAC Values and Corresponding Measurements Have you performed adjustments for every frequency? Close the Calibration Session by Calling niHSSources_CalEnd NI PXI-5404 Calibration Procedure | © National Instruments | 25...
  • Page 26 (niHSSources Cal GenerateWaveform niHSSources_GenerateWaveform VI) to generate a sine wave at a frequency listed in Table 6. Set the following parameters: • sessionHandle—The handle of the calibration session for the module • waveformType— niHSSources_SINE 26 | ni.com | NI PXI-5404 Calibration Procedure...
  • Page 27 SYNC DAC values, as shown in Table 6 • measuredData—An array of measured duty cycles for each SYNC DAC value. Each value should represent the duty cycle high, as a percentage. NI PXI-5404 Calibration Procedure | © National Instruments | 27...
  • Page 28: Closing The Calibration Session

    The NI HSSources API provides access to the and can be used to write calibration procedures for any NI 5404 module. niarbcal.dll All functions return signed, 32-bit integers corresponding to the status of the Note operation. 28 | ni.com | NI PXI-5404 Calibration Procedure...
  • Page 29 The external adjustment password. This password must point to a buffer of characters at least four characters long. sessionHandle A pointer to the handle of the calibration session used in most calibration functions. NI PXI-5404 Calibration Procedure | © National Instruments | 29...
  • Page 30 An array of doubles, a pointer to one double, or NULL depending on the measurementMode parameter. measuredData An array of doubles, a pointer to one double, or NULL depending on the measurementMode parameter. 30 | ni.com | NI PXI-5404 Calibration Procedure...
  • Page 31 A pointer to the handle of the calibration session for the module; created by calling niHSSources_CalStart action niHSSources_ABORT . Using abort avoids niHSSources_COMMIT_CONSTANTS storing the newly calculated calibration constants in the onboard EEPROM. NI PXI-5404 Calibration Procedure | © National Instruments | 31...
  • Page 32 A pointer to a long integer that receives the month value. A pointer to a long integer that receives the date value. year A pointer to a long integer that receives the year value. 32 | ni.com | NI PXI-5404 Calibration Procedure...
  • Page 33 Description device A number corresponding to the DAQ device number of the module to be calibrated. area niHSSources_EXTERNAL count A pointer to a long integer that receives the count value. NI PXI-5404 Calibration Procedure | © National Instruments | 33...
  • Page 34 A number corresponding to the DAQ device number of the module to be calibrated. miscInfo A character pointer to a buffer that is at least four bytes long. You should allocate this buffer. 34 | ni.com | NI PXI-5404 Calibration Procedure...
  • Page 35 A number corresponding to the DAQ device number of the module to be calibrated. miscInfo A character pointer to a buffer that is at least four bytes long. You should allocate this buffer. NI PXI-5404 Calibration Procedure | © National Instruments | 35...
  • Page 36 Changes the password. Parameters Name Description device A number corresponding to the DAQ device number of the module to be calibrated. oldPassword The current password. newPassword The new password that replaces the current password. 36 | ni.com | NI PXI-5404 Calibration Procedure...
  • Page 37 Resets the NI 54XX module and puts it in a default reset state. Parameter Name Description sessionHandle The handle of the calibration session for the module; created by calling niHSSources_CalStart NI PXI-5404 Calibration Procedure | © National Instruments | 37...
  • Page 38 Enables or disables the output of the module. Parameters Name Description sessionHandle The handle of the calibration session for the module; created by calling niHSSources_CalStart outputState Indicates whether to enable or disable the output— niHSSources_ENABLE niHSSources_DISABLE 38 | ni.com | NI PXI-5404 Calibration Procedure...
  • Page 39 The peak-to-peak amplitude of the waveform (in volts); this is the amplitude into a terminated (50 Ω) load. frequencyInHz The frequency of the waveform (in Hz); ignored for DC. NI PXI-5404 Calibration Procedure | © National Instruments | 39...
  • Page 40 VCXO calibration. Parameters Name Description sessionHandle The handle of the calibration session for the module; created by calling niHSSources_CalStart type The type of VCXO calibration— niHSSources_SET_VCXO 40 | ni.com | NI PXI-5404 Calibration Procedure...
  • Page 41 VCXO, then the output is measured, and then a new value is calculated, and so on. Parameters Name Description sessionHandle The handle of the calibration session for the module; created by calling niHSSources_CalStart type The type of VCXO calibration to be done— niHSSources_SET_VCXO NI PXI-5404 Calibration Procedure | © National Instruments | 41...
  • Page 42 Retrieves the temperature at which the module was last calibrated. Parameters Name Description device A number corresponding to the DAQ device number of the module. area niHSSources_EXTERNAL temperature A pointer to a double that receives the temperature value in °C. 42 | ni.com | NI PXI-5404 Calibration Procedure...
  • Page 43 EEPROM. Calling the function niHSSources_CalEnd stores the updated constants in the onboard EEPROM. Parameters Name Description sessionHandle A handle to the calibration session for the module; created by calling niHSSources_CalStart NI PXI-5404 Calibration Procedure | © National Instruments | 43...
  • Page 44 Description sessionHandle A handle to the calibration session for the module; created by calling niHSSources_CalStart frequencyBand An integer representing the index of the frequency band under which this calibration is being performed. 44 | ni.com | NI PXI-5404 Calibration Procedure...
  • Page 45 A new value is calculated, then output is measured, then a new value is calculated, and so on. Parameters Name Description sessionHandle A handle to the calibration session for the module; created by calling niHSSources_CalStart NI PXI-5404 Calibration Procedure | © National Instruments | 45...
  • Page 46 An integer representing the index of the frequency band under which this calibration is being performed. numberOfMeasurements The number of duty cycle measurements you pass into the function (niHSSources Cal niHSSources_CalAdjust() CalAdjust VI). 46 | ni.com | NI PXI-5404 Calibration Procedure...
  • Page 47 Name Description sessionHandle A handle to the calibration session for the module; created by calling niHSSources_CalStart DACValue The integer value to write to the SYNC DAC—ranges from 0 to 255. NI PXI-5404 Calibration Procedure | © National Instruments | 47...
  • Page 48: Where To Go For Support

    NI product. Refer to the Export Compliance Information at ni.com/legal/export-compliance for the National Instruments global trade compliance policy and how to obtain relevant HTS codes, ECCNs, and other import/export data. NI MAKES NO EXPRESS OR IMPLIED WARRANTIES AS TO THE ACCURACY OF THE INFORMATION CONTAINED HEREIN AND SHALL NOT BE LIABLE FOR ANY ERRORS.

Table of Contents