
5790A
Operators Manual
5-26
add statements to control your calibration sources and adjust them as necessary to obtain
the required accuracy.
10 REM Periodic calibration from remote interface
20 REM Set Bus Timeout to 20 seconds, init IEEE bus
30 TIMEOUT 20 * 1000
40 INIT PORT 0
50 A% = 6
! IEEE address of 5790A
60 CLEAR @A%
70 PRINT @A%, "*RST"
100 REM Get temperature from operator, and set cal temperature
110 PRINT "Enter ambient temperature: ";
120 INPUT T
130 PRINT @A%, "CAL_TEMP "; T
200 REM Do Full DC Calibration
210 I$ = "INPUT2"
220 PRINT "Connect DC voltage source to "; I$
230 PRINT @A%, "CAL_DC "; I$
240 GOSUB 1000
300 REM Do Full AC Calibration
310 I$ = "INPUT1"
320 PRINT "Connect AC voltage source to "; I$
330 PRINT @A%, "CAL_AC "; I$
340 GOSUB 1000
400 REM Save the calibration constants
410 PRINT "Set CAL STORE switch to ENABLE; press RETURN to continue"
420 INPUTLINE A$
430 PRINT @A%, "CAL_STORE ALL"
440 GOSUB 2000
450 STOP
900 REM Subroutines
1000 REM Do calibration steps until procedure is done
1010 PRINT @A%,"CAL_NEXT?"
1020 INPUT @A%, V,F
1030 IF (F < 0) GOTO 1200
1040 REM Automated procedures put code to program source to new value here
1050 PRINT "Set source to "; V; "V, "; F; "Hz"
1060 PRINT "Once source is stable and measured, enter exact source value:"
1070 PRINT "V = ";
1080 INPUT V
1090 REM Do the calibration step, then check for errors
1100 PRINT @A%, "CAL_NEXT "; V
1110 GOSUB 2000
1150 PRINT @A%, "ERR?"
1160 INPUT @A%, ER%, ER$
1170 IF (ER% = 0) GOTO 1010
1180 PRINT "ERROR: #" ER%; ": "; ER$
1190 GOTO 1120
1200 PRINT "Procedure is complete."
1210 RET
Содержание 5790A
Страница 4: ......
Страница 12: ...5790A Operators Manual vi...
Страница 14: ...5790A Operators Manual viii...
Страница 16: ...5790A Operators Manual 1 2...
Страница 34: ...5790A Operators Manual 2 2...
Страница 40: ...5790A Operators Manual 2 8...
Страница 41: ...3 1 Chapter 3 Features Title Page 3 1 Introduction 3 3 3 2 Front Panel Features 3 3 3 3 Rear Panel Features 3 3...
Страница 42: ...5790A Operators Manual 3 2...
Страница 48: ...5790A Operators Manual 3 8...
Страница 108: ...5790A Operators Manual 6 2...
Страница 146: ...5790A Operators Manual 7 2...
Страница 164: ...5790A Operators Manual 7 20...
Страница 166: ...5790A Operators Manual 8 2...
Страница 170: ...5790A Operators Manual 8 6...
Страница 172: ...5790A Operators Manual 9 2...
Страница 176: ...5790A Operators Manual...
Страница 185: ...B 1 Appendix B ASCII and IEEE 488 Bus Codes...
Страница 186: ...5790A Operators Manual B 2...
Страница 187: ...Appendices ASCII and IEEE 488 Bus Codes B B 3...
Страница 188: ...5790A Operators Manual B 4...
Страница 204: ...5790A Operators Manual C 16...
Страница 210: ...5790A Operators Manual D 6...