User`s manual

2340 !This subprogram resets the multimeter by disabling the SYSFAIL bit,
2350 !then writing a "1" to Control register bit 0, and then writing a "0" to
2360 !Control register bit 0. Once the reset completes, SYSFAIL is re-enabled.
2370 SUB Mm_reset
2380 Mm_reset: !
2390 COM I,Base_addr,Base_addrm,Aper,Func,Rng,Nchan,Chan_closed
2400 WRITEIO -16,Base_addr+4;2
2410 WRITEIO -16,Base_addr+4;3
2420 WRITEIO -16,Base_addr+4;2
2430 REPEAT
2440
CALL Read_status(Status,Rdy,Done,Indardy,Qryrdy,Noerr,Mmcomp, Pass_fail)
2450 UNTIL Pass_fail
2460 WRITEIO -16,Base_addr+4;0
2470 SUBEND
2480 !
This subprogram opens all multiplexer channels and then closes the bank
2490 !99 relay on the HP E1460A multiplexer.
2500 SUB Mux_reset
2510 Mux_reset: !
2520 COM I,Base_addr,Base_addrm,Aper,Func,Rng,Nchan,Chan_closed
2530 WRITEIO -16,Base_addrm+32;0
2540 REPEAT
2550 CALL Mux_status
2560 UNTIL Chan_closed
2570 WRITEIO -16,Base_addrm+48;4
2580 REPEAT
2590 CALL Mux_status
2600 UNTIL Chan_closed
2610 SUBEND
252 HP E1326B/E1411B Multimeter Register-Based Programming Appendix C