background image

© 2005–2015 National Instruments. All rights reserved. 

371461D-01

Oct15

Refer to the 

NI Trademarks and Logo Guidelines 

at 

ni.com/trademarks

 for more information on National Instruments trademarks. Other 

product and company names mentioned herein are trademarks or trade names of their respective companies. For patents covering National 

Instruments products/technology, refer to the appropriate location: 

Help»Patents

 in your software, the 

patents.txt

 file on your media, or the 

National Instruments Patents Notice

 at 

ni.com/patents

. You can find information about end-user license agreements (EULAs) and third-party 

legal notices in the readme file for your 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. U.S. Government Customers: The data contained in this manual was developed at private expense and is subject to the applicable 

limited rights and restricted data rights as set forth in FAR 52.227-14s, DFAR 252.227-7014, and DFAR 252.227-7015.

Where to Go for Support

The National Instruments website is your complete resource for technical support. At 

ni.com/

support

 you have access to everything from troubleshooting and application development 

self-help resources to email and phone assistance from NI Application Engineers.

Visit 

ni.com/services

 for NI Factory Installation Services, repairs, extended warranty, and 

other services.

Visit 

ni.com/register

 to register your National Instruments product. Product registration 

facilitates technical support and ensures that you receive important information updates from NI. 

A Declaration of Conformity (DoC) is our claim of compliance with the Council of the European 

Communities using the manufacturer’s declaration of conformity. This system affords the user 

protection for electromagnetic compatibility (EMC) and product safety. You can obtain the DoC 

for your product by visiting 

ni.com/certification

If your product supports calibration, 

you can obtain the calibration certificate for your product at 

ni.com/calibration

.

National Instruments corporate headquarters is located at 11500 North Mopac Expressway, 

Austin, Texas, 78759-3504. National Instruments also has offices located around the world. For 

telephone support in the United States, create your service request at 

ni.com/support

 or dial 

1 866 ASK MYNI (275 6964). For telephone support outside the United States, visit the 

Worldwide Offices section of 

ni.com/niglobal

 to access the branch office websites, which 

provide up-to-date contact information, support phone numbers, email addresses, and current 

events.

Содержание 5412

Страница 1: ...10 Calibration Procedures in LabWindows CVI 10 Calibration Procedures in C 10 Verifying NI 5412 Specifications 10 Verifying the Oscillator Frequency Accuracy 12 Verifying the DC Gain and Offset Accura...

Страница 2: ...functions available LabVIEW support is in the niFgen llb file and all calibration VIs appear in the Functions palette Calibration functions are C function calls or LabVIEW VIs in NI FGEN In this docum...

Страница 3: ...IVI Drivers niFgen niFgen fp CVI Contains the function panels for the functions in niFgen32 dll NI Signal Generators Getting Started Guide Contains NI FGEN installation hardware installation and hardw...

Страница 4: ...ment External calibration requires different equipment for each applicable specification Refer to Table 2 for a list of equipment Table 2 Equipment Required for Calibrating the NI 5412 Instrument Appl...

Страница 5: ...llator frequency and the calibration ADC are not adjusted during self calibration You can initiate self calibration interactively from Measurement Automation Explorer MAX or from the FGEN Soft Front P...

Страница 6: ...form self calibration NI FGEN To self calibrate the NI 5412 programmatically using NI FGEN complete the following steps 1 Call niFgen_init niFgen Initialize VI to open an NI FGEN session using the fol...

Страница 7: ...thin the calibration test limits the device is guaranteed to meet or exceed its published specifications for a full calibration interval two years For this reason you must verify against the calibrati...

Страница 8: ...the published specifications during the first verification If all the output errors determined during the first verification fall within the calibration test limits the device is guaranteed to meet o...

Страница 9: ...verify that the output error falls within the calibration test limits at the end of the calibration procedure Figure 2 shows the programming flow for the optional calibration Figure 2 Optional Calibra...

Страница 10: ...Windows CVI To write calibration procedures in LabWindows CVI you must use the function panels included in the niFgen fp file After installation you can locate the calibration functions under the Cali...

Страница 11: ...ogramming and cleaning up Note If any of these tests fail immediately after you perform an external adjustment verify that you have met the required test conditions before you return the NI 5412 to NI...

Страница 12: ...eter receives the value that identifies the session created by this function This value acts as the session handle and is passed as the first parameter to all subsequent NI FGEN functions 3 Call niFge...

Страница 13: ...array of waveform samples Each waveform should have 10 samples per cycle with a total of 500 samples and 50 sine wave cycles Because you set the sample rate to 100 MS s and because you are using 10 s...

Страница 14: ...oltages and offsets measuring the voltage with a DMM and comparing the NI 5412 to the error limits The DC gain and offset accuracy verification procedure has two subprocedures that verify the followin...

Страница 15: ...tributeViBoolean to enable the analog output niFgen property node Basic Operation Output Enabled using the following parameters vi The session handle returned from niFgen_init channelName 0 attributeI...

Страница 16: ...tributeID NIFGEN_ATTR_ARB_OFFSET value 0 Repeat steps 12 through 22 for each of the 24 iterations listed in Table 4 changing the Gain value for each iteration Table 4 Values for Verifying the Gain of...

Страница 17: ...00980 0 001700 14 0 205000 0 205000 0 205000 0 000828 0 001320 15 0 150000 0 150000 0 150000 0 000740 0 001100 16 0 105000 0 105000 0 105000 0 000668 0 000920 17 0 075000 0 075000 0 075000 0 000620 0...

Страница 18: ...de Arbitrary Waveform Output Arbitrary Waveform Handle using the following parameters vi The session handle returned from niFgen_init channelName 0 attributeID NIFGEN_ATTR_ARB_WAVEFORM_HANDLE value Th...

Страница 19: ...handle DC waveform niFgen property node Arbitrary Waveform Output Arbitrary Waveform Handle using the following parameters vi The session handle returned from niFgen_init channelName 0 attributeID NIF...

Страница 20: ...0 075000 0 000763 0 001138 16 0 105000 0 052500 0 052500 0 000684 0 000946 17 0 075000 0 037500 0 037500 0 000631 0 000819 18 0 055000 0 027500 0 027500 0 000596 0 000734 19 0 037500 0 018750 0 018750...

Страница 21: ...Test Limit listed in Table 5 9 Call niFgen_AbortGeneration niFgen Abort Generation VI to abort the waveform generation using the following parameter vi The session handle returned from niFgen_init 10...

Страница 22: ...that you want to verify You can find this name under Devices and Interfaces in MAX IDQuery VI_TRUE resetDevice VI_TRUE vi A pointer to a ViSession The variable passed by reference through this parame...

Страница 23: ...eate Waveform Data VI to the Waveform Data Array input of the niFgen Create Waveform DBL VI 8 Configure the DMM using the following settings Function AC voltage Range Refer to Table 6 Input impedance...

Страница 24: ...264 0 004950 0 009192 12 0 415000 0 5 0 293449 0 003642 0 006576 13 0 300000 0 5 0 212132 0 002828 0 004950 14 0 205000 0 5 0 144957 0 0021587 0 003606 15 0 150000 0 5 0 106066 0 001768 0 002828 16 0...

Страница 25: ...s of the NI 5412 using a power meter To verify the flatness of the NI 5412 complete the following steps 1 Connect the NI 5412 CH 0 front panel connector to the power meter using the required adapter 2...

Страница 26: ...m samples double representation wfmHandle A pointer to a waveform The variable passed by reference through this parameter acts as a handle to the waveform and can be used for setting the active wavefo...

Страница 27: ...e power meter to stabilize for 10 seconds 14 Measure and record the reference 50 kHz power Wref of the positive output in Watts 15 Configure the NI 5412 and power meter frequency according to the next...

Страница 28: ...brate You can find this name under Devices and Interfaces in MAX password The password required to open an external calibration session If this password has not been changed since manufacturing the pa...

Страница 29: ...4 NI 5412 External Calibration Procedure Initializing the External Calibration Session Call niFgen_InitExtCal niFgen Init Ext Cal VI to open an NI FGEN external calibration session using the followin...

Страница 30: ...tput Calibration VI using the following parameter vi The session handle returned from niFgen_InitExtCal 2 Call niFgen_WriteBinary16AnalogStaticValue niFgen Write Binary 16 Analog Static Value VI to se...

Страница 31: ...y node Basic Operation Output Impedance using the following parameters vi The session handle returned from niFgen_InitExtCal channelName 0 attributeID NIFGEN_ATTR_OUTPUT_IMPEDANCE value 50 9 Call niFg...

Страница 32: ...libration Pre Amplifier Attenuation using the following parameters vi The session handle returned from niFgen_InitExtCal channelName 0 attributeID NIFGEN_ATTR_PRE_AMPLIFIER_ATTENUATION value The Pre A...

Страница 33: ...eturned from niFgen_InitExtCal channelName 0 attributeID NIFGEN_ATTR_GAIN_DAC_VALUE value 1000 g Call niFgen_Commit niFgen Commit VI to commit the attribute values to the device using the following pa...

Страница 34: ...d in the order that you measured them Adjusting the Main Path Pre Amplifier Gain 1 Call niFgen_SetAttributeViInt32 to set the analog path value niFgen property node Output Attributes Analog Path using...

Страница 35: ...vi The session handle returned from niFgen_InitExtCal channelName 0 attributeID NIFGEN_ATTR_GAIN_DAC_VALUE value 1500 b Call niFgen_WriteBinary16AnalogStaticValue niFgen Write Binary 16 Analog Static...

Страница 36: ...alAdjustMainPathPreAmpGain niFgen Cal Adjust Main Path Pre Amp Gain VI using the following parameters vi The session handle returned from niFgen_InitExtCal channelName 0 configuration The Current Conf...

Страница 37: ...rrent Configuration values for each iteration Table 10 Attributes and Values for the Main Path Post Amplifier Gain and Offset Iteration Analog Path Post Amp Attenuation Current Configuration 1 NIFGEN_...

Страница 38: ...niFgen property node Calibration Offset DAC Value using the following parameters vi The session handle returned from niFgen_InitExtCal channelName 0 attributeID NIFGEN_ATTR_OFFSET_DAC_VALUE value 5000...

Страница 39: ...ncy passing the measured value to NI FGEN so that the oscillator can be adjusted and then remeasuring the resulting frequency This process is repeated until the difference between the desired and meas...

Страница 40: ...the following parameters vi The session handle returned from niFgen_InitExtCal channelName 0 attributeID NIFGEN_ATTR_DIGITAL_FILTER_INTERPOLATION_FACTOR value 4 7 Call niFgen_SetAttributeViReal64 to...

Страница 41: ...e generated waveform This value is the Measured Frequency which is used in step 14 14 Repeat steps 14a through 14d for as long as the difference between the Measured Frequency and the desired frequenc...

Страница 42: ...ll niFgen_SetAttributeViInt32 to set the analog path value niFgen property node Output Attributes Analog Path using the following parameters vi The session handle returned from niFgen_InitExtCal chann...

Страница 43: ...ration Output Enabled using the following parameters vi The session handle returned from niFgen_InitExtCal channelName 0 attributeID NIFGEN_ATTR_OUTPUT_ENABLED value VI_TRUE 10 Call niFgen_Commit niFg...

Страница 44: ...ssed by reference through this parameter receives the voltage measured by the onboard ADC This value is cal ADC measurement 0 which is used in step 31 18 Call niFgen_SetAttributeViBoolean to enable th...

Страница 45: ...tep 31 27 Call niFgen_SetAttributeViBoolean to enable the analog output niFgen property node Basic Operation Output Enabled using the following parameters vi The session handle returned from niFgen_In...

Страница 46: ...owing parameter vi The session handle returned from niFgen_InitExtCal Closing the External Adjustment Session When you have completed all the adjustment stages you must close the external adjustment s...

Страница 47: ...re for both external and self calibration FGEN SFP To retrieve data using the FGEN SFP complete the following steps 1 Launch the FGEN SFP 2 Select the device from which you want to retrieve informatio...

Страница 48: ...is your complete resource for technical support At ni com support you have access to everything from troubleshooting and application development self help resources to email and phone assistance from...

Отзывы: