HP E1328A Скачать руководство пользователя страница 23

Test Procedure

(Negative Voltage

Compliance)

     1. Set three jumpers on each channel to the V position

     2. Connect DC Source and HP 3458A to Channel 1 (see Figure 4-1 )

     3. Set non-cal mode on Channel 1 with CAL1:STAT OFF

     4. Set Channel 1 to min voltage output (-12V) with VOLT1 MIN

     5. Set DC source to -5V and measure channel output (in V)

     6. Increase DC source output by -0.5V and measure new channel output
      (in V)

     7. Repeat step 6 until channel output stops increasing. If the output
      voltage is 

 -15.0V when the output stops increasing, the test passes.

     8. Repeat steps 2 through 7 for Channels 2, 3, and 4 (use CALchan:
      STAT OFF and VOLTchan MIN)

     9. Remove power and disconnect test equipment

Example: Positive

Voltage Compliance

This program checks the MEASURED voltage output from the DAC
channel being tested. If the measured channel output is 

 15.0V when the

output stops increasing, the program generates a "test PASSED" indication.
If the measured channel output is < 15.0V when the output stops increasing,
the program generates a "test FAILED" indication.

NOTE

To use this program for negative voltage compliance tests, change the
indicated lines as shown:

50    OUTPUT 70909;"VOLT"&VAL$(Chan)&" MIN" 
60    Source = -4.5 
90    Source = Source-.5 
180  IF Value  <= -15 THEN Pass$ = "PASSED" 
190  IF Value  > -15 THEN Pass$ = "FAILED"

Chapter 4

Verification Tests  23

Содержание E1328A

Страница 1: ...ator s Check 17 Self Test Procedure 18 Example D A Converter Self Test 18 Chapter 4 Verification Tests 19 Introduction 19 Test Conditions Procedures 19 Performance Test Record 20 Verification Test Examples 20 Functional Verification Tests 21 DAC Self Test 21 Voltage Compliance Tests 21 Test Procedure Positive Voltage Compliance 22 Test Procedure Negative Voltage Compliance 23 Example Positive Volt...

Страница 2: ...red 49 Service Aids 49 Troubleshooting Techniques 49 Identifying the Problem 49 Testing the DAC 50 Repair Maintenance Guidelines 52 ESD Precautions 52 Soldering Printed Circuit Boards 53 Post Repair Safety Checks 53 Appendix A Calculating D A Converter Accuracy 55 Introduction 55 DAC Accuracy Calculations 56 DC Voltage Accuracy Equations 56 DC Current Accuracy Equations 56 HP 3458A Measurement Unc...

Страница 3: ...ce 63 Performance Verification Tests 65 Example Voltage Accuracy Measurements 65 Example Current Accuracy Measurements 66 Adjustments 68 Example Voltage Adjustments 68 Example Current Adjustments 69 HP E1328A Service Manual Contents 3 ...

Страница 4: ...Notes 4 Contents HP E1328A Service Manual ...

Страница 5: ...er s circuit or any defects that result from Buyer supplied products NO OTHER WARRANTY IS EXPRESSED OR IMPLIED HP SPECIFICALLY DISCLAIMS THE IMPLIED WARRANTIES OF MER CHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE EXCLUSIVE REMEDIES THE REMEDIES PROVIDED HEREIN ARE BUYER S SOLE AND EXCLUSIVE REMEDIES HP SHALL NOT BE LIABLE FOR ANY DI RECT INDIRECT SPECIAL INCIDENTAL OR CONSEQUENTIAL DAMAGES WHE...

Страница 6: ...ny assumes no liability for the customer s failure to comply with these require ments Ground the equipment For Safety Class 1 equipment equipment having a protective earth terminal an uninterruptible safety earth ground must be provided from the mains power source to the product input wiring terminals or supplied power cable DO NOT operate the product in an explosive atmosphere or in the presence ...

Страница 7: ...perating Instructions Procedures to operate the D A Converter and perform operator s check 4 Verification Tests Functional verification operation verification and performance verification tests to test the D A Converter 5 Adjustments Procedures to adjust the D A Converter to within its rated specifications 6 Replaceable Parts Lists part numbers for user replaceable parts in the D A Converter Provi...

Страница 8: ...h manual contains examples for the most used module functions and a complete SCPI command reference for the plug in module Mainframe Service Manual This manual contains service information for the mainframe It contains information for ordering replaceable parts and exchanging assemblies Information and procedures for performance verification adjustment preventive maintenance troubleshooting and re...

Страница 9: ...n required to test adjust troubleshoot and repair the HP E1328A B Size VXI 4 Channel D A Converter DAC See the HP E1328A User s Manual for additional information on the HP E1328A DAC Figure 1 1 shows the HP E1328A DAC Figure 1 1 HP E1328A 4 Channel D A Converter Chapter 1 General Information 9 ...

Страница 10: ... in this manual or do any servicing unless you are qualified to do so CHECK MAINFRAME POWER SETTINGS Before applying power verify that the mainframe setting matches the line voltage and the correct fuse is installed An uninterruptible safety earth ground must be provided from the main power source to the mainframe input wiring terminals power cord or supplied power cord set GROUNDING REQUIREMENTS ...

Страница 11: ... not use repaired fuses or short circuited fuseholders CAUTION MAXIMUM VOLTAGE Maximum voltage that may be applied between any two terminals within the same channel is 15 Vdc Do not apply voltage between any pair of terminals if the D A Converter is turned off STATIC ELECTRICITY Static electricity is a major cause of component failure To prevent damage to the electrical components in the DAC obser...

Страница 12: ...annel Can use remote voltage sensing with no fault operation Connect multiple channels in series to increase the output to 48 Vdc for a single module All four channels are independently isolated and may be floated up to 350 Vdc from ground Each channel can be calibrated electronically to 24 hour specifications Current DAC 1 2 3 4 Output DC current up to 21 8 mA independently on each channel Connec...

Страница 13: ...nual Update as required will explain how to adapt this manual to your instrument If the serial number prefix is lower than the one listed on the title page information contained in Chapter 7 Manual Changes explains how to adapt this manual to your instrument DAC Options There are no electrical or mechanical options available for the HP E1328A DAC However you can order Option 1BN which provides a M...

Страница 14: ... SH1 AH1 T2 TE0 L2 LE0 SR0 RL0 PP0 DC0 DT0 and C1 2 3 4 5 HP 9000 Series 300 or IBM compatible PC with HP BASIC A F O P T Mainframe Compatible with DAC HP E1300A E1301A E1302A or E1401B T E1421A requires HP E1306A A F O P T DC Standard Voltage Range 20 0 V to 20 0 V Datron 4708 with Option 10 F O P Digital Multimeter Voltage Range 10 VDC Current Range 20 mA DC Accuracy 015 reading 1 mV 02 reading ...

Страница 15: ...s mechanical damage or defect or if the instrument does not pass the electrical performance tests notify your nearest Hewlett Packard Sales and Service Office If the shipping container is damaged or the cushioning material shows signs of stress notify the carrier as well as Hewlett Packard and keep the shipping materials for the carrier s inspection Preparation for Use See Chapter 2 of the HP E132...

Страница 16: ... D A Converter in shipping carton Place 75 to 100 mm 3 to 4 inches of shock absorbing material around the D A Converter Seal the shipping carton securely Mark the shipping carton FRAGILE 3 Ship the D A Converter to Hewlett Packard Place address label on shipping carton Send carton to Hewlett Packard We recommend that you use the same shipping materials as those used in factory packaging available ...

Страница 17: ...e Operator s Check for the HP E1328A D A Converter consists of sending the self test TST command and checking the return The operator s check can be used at any time to verify the D A Converter is connected properly and is responding to the self test command See Chapter 8 Service for a list of D A Converter self test errors CAUTION The TST command temporarily resets the D A Converter to 0 V or 0 A...

Страница 18: ...urned means a failure was detected See Chapter 8 Service for trouble shooting information see NOTE following NOTE Test failures can be caused by improper cabling improper selection of the interface select code primary and or secondary address setting Verify proper connection and address selection before trouble shooting Example D A Converter Self Test An example follows which uses an HP 9000 Serie...

Страница 19: ...be 115 230 Vac 10 and HP 3458A ACAL must be performed no more than 24 hours before the tests See Table 1 2 Recommended Test Equipment for test equipment requirements For best test accuracy the ambient temperature of the test area should be between 18 C and 28 C and stable to within 1 C You should perform the Performance Verification tests at least once a year For heavy use or severe operating envi...

Страница 20: ...4 2 is derived from the specifications for the HP 3458A multimeter used for the test and represents the expected accuracy of the HP 3458A The value in the Test Accuracy Ratio TAR column of Table 4 2 is the ratio of DAC accuracy to HP 3458A measurement uncertainty If the TAR is 10 1 the ratio is rounded to the nearest integer If the TAR is 10 1 the TAR is shown as 10 1 Verification Test Examples Ea...

Страница 21: ...set for UNCALIBRATED MAX voltage output 12V A DC source is connected to V and S of the channel to be tested The source is set to 5V and increased in 0 5V steps until the channel output as measured with an HP 3458A multimeter stops increasing If the channel maximum output is 15V the test passes Negative Voltage Compliance Tests For negative voltage compliance tests each channel to be tested is set ...

Страница 22: ... Set Channel 1 to max voltage output 12V with VOLT1 MAX 5 Set DC source to 5V and measure channel output in V 6 Increase DC source output by 0 5V and measure new channel output in V 7 Repeat step 6 until channel output stops increasing If the output voltage is 15 0V when the output stops increasing the test passes 8 Repeat steps 2 through 7 for Channels 2 3 and 4 use CALchan STAT OFF and VOLTchan ...

Страница 23: ...s 2 through 7 for Channels 2 3 and 4 use CALchan STAT OFF and VOLTchan MIN 9 Remove power and disconnect test equipment Example Positive Voltage Compliance This program checks the MEASURED voltage output from the DAC channel being tested If the measured channel output is 15 0V when the output stops increasing the program generates a test PASSED indication If the measured channel output is 15 0V wh...

Страница 24: ... 200 CLEAR SCREEN 210 PRINT TABXY 1 8 Maximum Channel Chan output Value Volts 220 PRINT TABXY 1 9 Test Pass for Channel Chan 230 DISP Press Continue for next channel 240 PAUSE 250 CLEAR SCREEN 260 NEXT Chan 270 END Current Compliance Tests These tests measure the current compliance on each channel of the DAC Positive Current Compliance Tests For positive current compliance tests each channel to be...

Страница 25: ...C SOURCE voltage is 13V when the channel output decreases to 90 of maximum current the test passes Equipment Setup Connect the DC source Datron 4708 with Option 10 and HP 3458A multimeter to Channel 1 as shown in Figure 4 2 Be sure to set all three channel jumpers to the I position Then set the DC source output to 12 0 Vdc Set the HP 3458A to DCI function and set NPLC 100 NOTE For best measurement...

Страница 26: ... Channels 2 3 and 4 Use CALchan STAT OFF and CURRchan MAX 9 Remove power and disconnect test equipment Test Procedure Negative Current Compliance 1 Set three jumpers on each channel to the I position 2 Connect source and HP 3458A to Channel 1 see Figure 4 2 3 Set non cal mode on Channel 1 with CAL1 STAT OFF 4 Set Channel 1 min current output 24 mA with CURR1 MIN 5 Set DC source to 12 0V and measur...

Страница 27: ...rce 13 0 THEN Tst FAILED 10 Current Compliance Tests 20 30 FOR Chan 1 TO 4 40 OUTPUT 70909 CAL VAL Chan STAT OFF 50 OUTPUT 70909 CURR VAL Chan MAX 60 Source 11 5 70 REPEAT 80 PRINT TABXY 1 1 Current Compliance Tests on Channel Chan 90 Source Source 5 100 PRINT TABXY 4 10 Set DC source to Source Volts DC 110 PRINT TABXY 4 11 Measure channel output in mA 120 INPUT Enter channel output in mA Value 13...

Страница 28: ...nce verification tests shown in Table 4 1 See Performance Verification Tests for details on the test procedures NOTE For best results perform an ACAL on the HP 3458A multimeter not more than 24 hours prior to performing the operation verification tests If the operation verification test FAILS on any channel you may want to perform the Voltage Adjustment and or Current Adjustment procedures in Chap...

Страница 29: ...imeter not more than 24 hours prior to the tests If a DAC channel does not pass the performance tests you may want to do the Voltage Adjustment and or Current Adjustment see Chapter 5 Adjustments and then rerun the performance verification tests Voltage Accuracy Measurements Test This test checks voltage output accuracy on Channels 1 2 3 and 4 of the DAC The voltage output levels checked are 10V 8...

Страница 30: ...V and 10V 8 Repeat steps 2 through 7 for Channels 2 3 and 4 use CALchan STAT ON and VOLTchan value 9 Remove power and disconnect test equipment Example Voltage Accuracy Measurements This program checks the MEASURED output voltage on each DAC channel and compares the result with the 1 year accuracy specifications for the DAC see Appendix A Calculating D A Converter Accuracy for a discussion of DAC ...

Страница 31: ...NT TABXY 1 9 Test PASSED on Channel Chan for Volts Chan I V 270 END IF 280 NEXT I 290 NEXT Chan 300 PRINT TABXY 1 18 Voltage Accuracy Tests Complete 310 END Counter Accuracy Measurements Test This test checks current output accuracy on Channels 1 2 3 and 4 of the DAC The current output levels checked are 20 mA 16 mA 10 mA 4 mA 0 mA 4 mA 10 mA 16 mA and 20 mA Equipment Setup Connect the equipment a...

Страница 32: ...mA 8 Repeat steps 2 through 7 for Channels 2 3 and 4 use CALchan STAT ON and CURRchan value 9 Remove power and disconnect test equipment Example Current Accuracy Measurements This program checks the MEASURED output current on each DAC channel and compares the result with the 1 year accuracy specifications for the DAC See Appendix A Calculating D A Converter Accuracy for a discussion of DAC accurac...

Страница 33: ...AC can be used to record the results of each Operation Verification and Performance Verification test for the HP E1328A DAC this record can be copied if desired The record includes the DAC upper and lower limits HP 3458A measurement uncertainty and the Test Accuracy Ratio TAR for the test The values for DAC accuracy HP 3458A measurement uncertainty and TAR in Table 4 2 assume the following conditi...

Страница 34: ...________________________________________ ____________________________________________________________________________________________ ____________________________________________________________________________________________ Test Equipment Record Model ___________________________ Report No ____________________ Date ______________________ Test Equipment Used Description Model No Trace No Cal Due ...

Страница 35: ...33 5 13084 8 14134 10 14833 103 60 83 30 52 85 22 40 2 10 22 40 52 85 83 30 103 60 10 1 10 1 10 1 10 1 10 1 10 1 10 1 10 1 10 1 3 3 3 3 3 3 3 3 3 10 00000 8 00000 5 00000 2 00000 0 00000 2 00000 5 00000 8 00000 10 00000 10 14833 8 14134 5 13084 2 12033 11334 1 87967 4 86916 7 85867 9 85167 __________________ __________________ __________________ __________________ __________________ ______________...

Страница 36: ...4 24065 10 26165 16 28265 20 29665 1 440 1 272 330 168 060 168 330 1 272 1 440 10 1 10 1 10 1 10 1 10 1 10 1 10 1 10 1 10 1 3 3 3 3 3 3 3 3 3 20 00000 16 00000 10 00000 4 00000 0 00000 4 00000 10 00000 16 00000 20 00000 20 29665 16 28265 10 26165 4 24065 22665 3 75935 9 73835 15 71735 19 70335 ________________ ________________ ________________ ________________ ________________ ________________ ___...

Страница 37: ...e test area temperature should be between 18 C and 28 C and stable to 1 C WARNING Do not perform any of the following adjustments unless you are a qualified service trained person and have read the WARNINGS and CAUTIONS in Chapter 1 Voltage Adjustments This adjustment is used to update the stored voltage constants for each DAC channel and should be perfomed On initial setup Periodically 24 hours o...

Страница 38: ...a 1 kΩ resistor and HP 3458A multimeter to the channel to be adjusted as shown in figure 5 1 Be sure to set all three channel jumpers to the V voltage position Set the HP 3458A to DCV function and set NPLC 100 NOTE The value of 1 kΩ in Figure 5 1 is the factory value used for original adjustments If you previously adjusted your DAC with a different resistance value use that resistance value rather...

Страница 39: ... and CALchan VOLT values 9 Remove power and disconnect power equipment Example Voltage Adjustments This program uses the measured minimum default and maximum values you enter to update the voltage adjustment constants for Channels 1 2 3 and 4 10 Voltage Adjustments 20 30 DISP CHR 129 40 FOR Chan 1 TO 4 50 PRINT TABXY 1 1 Voltage Adjustments on Channel Chan 60 OUTPUT 70909 CAL VAL Chan STAT OFF 70 ...

Страница 40: ... Any time accuracy is in doubt NOTE For best measurement accuracy perform an HP 3458A multimeter ACAL not more than 24 hours prior to these adjustments Each DAC channel to be adjusted MUST be in the non calibrated mode CALx STAT OFF or errors in the adjustment constants will occur Equipment Setup Connect the HP 3458A multimeter and a 500 Ω resistor to the channel to be adjusted as shown in Figure ...

Страница 41: ...1 CURR min def max The adjustment constants are automatically updated and stored 8 Repeat steps 1 through 7 for channels 2 3 and 4 as desired use CALchan STAT OFF CURRchan value and CALchan CURR values 9 Remove power and disconnect power equipment Example Current Adjustments This program uses the measured minimum default and maximum values you enter to update the current adjustment constants for C...

Страница 42: ...160 OUTPUT 70909 CAL VAL Chan CURR Min Def Max 170 NEXT Chan 180 CLEAR SCREEN 190 PRINT Current Adjustments Complete 200 END 42 Adjustments Chapter 5 ...

Страница 43: ...emblies are available only on a trade in basis Defective assemblies must be returned for credit Assemblies required for spare parts stock must be ordered by the new assembly part number Contact your nearest Hewlett Packard Sales and Service Office for details Ordering Information To order a part listed in Table 6 1 specify the Hewlett Packard part number and the quantity required Send the order to...

Страница 44: ...POST TYPE 100 PIN SPCG 3 CONT 26742 26742 26742 26742 26742 26742 26742 26742 26742 26742 26742 26742 1102 1 103 02 1102 1 103 02 1102 1 103 02 1102 1 103 02 1102 1 103 02 1102 1 103 02 1102 1 103 02 1102 1 103 02 1102 1 103 02 1102 1 103 02 1102 1 103 02 1102 1 103 02 A1P1 A1SW1 A1TB1 A1TB2 A1TB3 A1TB4 1252 1596 0361 1294 3101 3066 0360 2390 0360 2390 0360 2390 0360 2390 1 2 1 4 CONN POST TYPE 2 ...

Страница 45: ...SHD shield SW switch TB terminal block Table 6 3 HP E1328A Code List of Manufacturers Mfr Code Manufacturer Name Address 00000 06776 26742 28480 75915 81073 Any satisfactory supplier Robinson Nugent Inc Methode Electronics inc Hewlett Packard Company Littelfuse Inc Grayhill Inc New Albany IN US 47150 Chicago IL 60656 Palo Alto CA US 94304 Des Plaines IL US 60016 La Grange IL US 60525 Chapter 6 Rep...

Страница 46: ...Figure 6 7 HP E1328A DAC Replaceable Parts 46 Replaceable Parts Chapter 6 ...

Страница 47: ...ts for which the content does not directly apply Since this manual applies directly to instruments with serial numbers listed on the title page change information is not required See D A Converter Serial Numbers in Chapter 1 for HP E1328A D A Converter serial number information Chapter 7 Manual Changes 47 ...

Страница 48: ...48 Manual Changes Chapter 7 ...

Страница 49: ... aids on printed circuit boards include pin numbers some reference designations and assembly part numbers See Chapter 6 Replaceable Parts for descriptions and location of HP E1328A replaceable parts Service notes manual updates and service literature for the HP E1328A DAC may be available through Hewlett Packard For information contact your nearest Hewlett Packard Sales and Service Office Troubles...

Страница 50: ...ut of Specification If the DAC performance is out of specification limits use the adjustment procedures in Chapter 5 Adjustments to correct the problem If the condition repeats see Testing the DAC to trouble shoot the DAC Testing the DAC Table 8 1 lists the error messages associated with the DAC Based on the error returned from the DAC you can use the tests and checks in Table 8 2 to isolate the p...

Страница 51: ...ustment constant current is corrupted 2805 Channel 1 voltage checksum error Channel 1 stored adjustment constant voltage is corrupted 2806 Channel 2 voltage checksum error Channel 2 stored adjustment constant voltage is corrupted 2807 Channel 3 voltage checksum error Channel 3 stored adjustment constant voltage is corrupted 2808 Channel 4 voltage checksum error Channel 4 stored adjustment constant...

Страница 52: ...nd maintain the HP E1328A DAC including ESD precautions Soldering printed circuit boards Post repair safety checks ESD Precautions Electrostatic discharge ESD may damage MOS CMOS and other static sensitive devices in the HP E1328A DAC This damage can range from slight parameter degradation to catastrophic failure When handling DAC assemblies follow these guidelines to avoid damaging DAC components...

Страница 53: ...p metal object such as an awl or twist drill since sharp objects may damage the plated through conductor Avoid unnecessary component unsoldering and soldering Excessive replacement can result in damage to the circuit board and or adjacent components Do not use a high power soldering iron on etched circuit boards a 38 watt soldering iron is recommended as excessive heat may lift a conductor or dama...

Страница 54: ...54 Service Chapter 8 ...

Страница 55: ...accuracy is the expected accuracy of the measurement due ONLY to the D A Converter The Low Limit entry in Table 4 2 is the lower value of DAC accuracy while the High Limit entry is the upper value of DAC accuracy Measurement Uncertainty Definition Measurement Uncertainty is the expected accuracy of the HP 3458A multimeter for specified conditions This value is shown in the Measurement Uncertainty ...

Страница 56: ...om calibration temperature Example Calculate DC Voltage Output Accuracy For a 5 0 V dc output DCV Accuracy 1 year 0035 x 5 0 11334 0 13084V Thus for a 5 0 V output the Upper Limit value in Table 4 2 5 13084 V and the Lower Limit value 4 86916 V DC Current Accuracy Equations From Appendix A of the HP E1328A User s Manual DC Current Accuracy 1 year Accuracy Temperature Coefficient 3 of output 220 µA...

Страница 57: ...Measurement Uncertainty DC Voltage Accuracy 1 year Temperature Coefficient Additional reading error for Absolute Accuracy Accuracy 8 0 ppm of Reading 0 2 ppm of Range Temp Coeff 0 15 ppm of Reading 0 01 ppm of Range Absolute Accuracy Factor 2 0 ppm of Reading Example Calculate DCV Measurement Uncertainty For a 5 0 V dc reading on the 10V range for the conditions specified in this manual Measuremen...

Страница 58: ...7 0 x Reading 6 0 x Range 10 6 x 27 0 x 004 6 0 x 010 0 168 x 10 6 A 0 168 µA For a 16 0 mA dc reading on the 100 mA range for the conditions specified in this manual Measurement Uncertainty Amps 10 6 x 42 0 x Reading 6 0 x Range 10 6 x 42 0 x 016 6 0 x 100 1 272 x 10 6 A 1 272 µA Test Accuracy Ratio T A R Calculations For the HP E1328A D A Converter Example Calculate Voltage Output Test Accuracy ...

Страница 59: ...igh Limit value 8 14134 V and Measurement Uncertainty 83 3 µV Test Accuracy Ratio TAR 8 14134 V 8 00000 V 83 3 x 10 6 V 1696 76 Since this value is 10 1 the entry in Table 4 2 is 10 1 Appendix A Calculating D A Converter Accuracy 59 ...

Страница 60: ...60 Calculating D A Converter Accuracy Appendix A ...

Страница 61: ... DAC is communicating with the mainframe external controller and or external terminal include stdio h include sicl h define ADDR hpib7 9 9 Address of Device void main INST id Define id as an instrument char a 256 0 Result variable id iopen ADDR Open instrument session itimeout id 10000 Set 10 sec timeout ipromptf id TST n t a Self test command printf n s a Print result getchar Pause iclose id Clos...

Страница 62: ...oat source 0 value 0 old_value 0 result 0 int chan char pass if defined __BORLANDC__ defined __WIN32__ _InitEasyWin endif ionerror I_ERROR_EXIT Exit on error id iopen ADDR Open instrument session itimeout id 10000 Set 10 sec timeout for chan 1 chan 4 chan iprintf id CAL u STAT OFF n chan iprintf id VOLT u MAX n chan source 4 5 value 0 printf nVoltage Compliance Tests on Channel u chan do source so...

Страница 63: ... FAILED printf n nMaximum channel u output 1f volts chan value printf nTest s for channel u n pass chan iclose id Close instrument session Positive Current Compliance Test E1328A include stdio h include math h include sicl h define ADDR hpib7 9 9 Address of device void main INST id Define id as an instrument float source 0 value 0 result 0 int chan char pass if defined __BORLANDC__ defined __WIN32...

Страница 64: ... in mA scanf f value result abs 100 value 24 0 printf n DC Source value 1f VDC source printf n Channel u output 1f mA chan value printf n Output 2f of max value result while result 90 0 if source 13 0 pass PASSED else pass FAILED printf n nDC Source value for 90 of max 1f VDC source printf nTest s for channel u n pass chan iclose id Close instrument session 64 Verification Tests C Programs Appendi...

Страница 65: ...dress of device void main INST id Define id as an instrument float volts 9 10 8 5 2 0 2 5 8 10 float acc ulim llim meas int chan i if defined __BORLANDC__ defined __WIN32__ _InitEasyWin endif ionerror I_ERROR_EXIT Exit on error id iopen ADDR Open instrument session iprintf id RST n for chan 1 chan 4 chan printf nVoltage Accuracy Measurements on Channel u n chan for i 0 i 9 i iprintf id VOLT u f n ...

Страница 66: ...ge Accuarcy Tests Complete iclose id Close instrument session Current Accuracy Measurements Test E1328A include stdio h include math h include sicl h define ADDR hpib7 9 9 Address of device void main INST id Define id as an instrument float amps 9 02 016 01 004 0 004 01 016 02 float acc ulim llim meas int chan i if defined __BORLANDC__ defined __WIN32__ _InitEasyWin endif ionerror I_ERROR_EXIT Exi...

Страница 67: ... n Enter MEASURED current value in mA scanf f meas acc 0 0035 abs amps i 00022665 llim amps i acc ulim amps i acc if meas 001 llim meas 001 ulim printf Test FAILED on channel u for f A chan amps i else printf Test PASSED on channel u for f A chan amps i printf Current Accuarcy Tests Complete iclose id Close instrument session Appendix B Verification Tests C Programs 67 ...

Страница 68: ...32__ _InitEasyWin endif ionerror I_ERROR_EXIT Exit on error id iopen ADDR Open instrument session for chan 1 chan 4 chan printf nVoltage Adjustments on Channel u chan iprintf id CAL u STAT OFF n chan iprintf id VOLT u MIN n chan printf n nChannel u is set to minimum 12V chan printf nEnter measured value in V to 5 5 digits scanf f min iprintf id VOLT u DEF n chan printf nChannel u is set to default...

Страница 69: ...ument float min def max int chan if defined __BORLANDC__ defined __WIN32__ _InitEasyWin endif ionerror I_ERROR_EXIT Exit on error id iopen ADDR Open instrument session for chan 1 chan 4 chan printf nCurrent Adjustments on Channel u chan iprintf id CAL u STAT OFF n chan iprintf id CURR u MIN n chan printf n nChannel u is set to minimum 024 A chan printf nEnter measured value in A to 5 5 digits scan...

Страница 70: ... set to maximum 024 A chan printf nEnter measured value in A to 5 5 digits scanf f max iprintf id CAL u CURR f f f n chan min def max printf n nCurrent Adjustments Complete iclose id Close instrument session 70 Verification Tests C Programs Appendix B ...

Отзывы: