4
Making Measurements
70 OUTPUT 722;"NRDGS 100, AUTO"!100 READINGS/TRIGGER, AUTO SAMPLE EVENT
80 OUTPUT 722;"TARM SGL"!TRIGGER READINGS
90 END
Fast analog ACV/ ACDCV example
The following program measures AC voltage using the analog method at a fast
rate. This program uses the default delay time. You can achieve faster reading
rates by specifying a shorter delay time; the resulting settling time, however, may
not produce accurate measurements. You can also achieve unspecified faster
reading rates by specifying less integration time in line 60. This program can be
adapted to AC+DC voltage by using the ACDCV command instead of the ACV
command in line 50.
10 OUTPUT 722;"PRESET FAST""!TARM SYN, TRIG AUTO
20 OUTPUT 722;"MFORMAT SINT!SINT MEMORY FORMAT
30 OUTPUT 722;"MEM FIFO"!ENABLE READING MEMORY, FIFO MODE
40 OUTPUT 722;"SETACV ANA"!ANALOG AC MEASUREMENT METHOD
50 OUTPUT 722;"ACV 10"!AC VOLTS, 10 V RANGE
60 OUTPUT 722;"NPLC 0.1""!0.1 PLC INTEGRATION TIME
70 OUTPUT 722;"ACBAND 10E3,20E3"!SIGNAL BETWEEN 10 kHz AND 20 kHz
80 OUTPUT 722;"NRDGS 100, AUTO"!100 READINGS/TRIGGER, AUTO SAMPLE EVENT
90 OUTPUT 722;"TARM SGL"!TRIGGER READINGS
100 END
Fast ACI/ ACDCI example
The following program measures AC current at a fast rate. This program uses the
default delay time. You can achieve faster reading rates by specifying a shorter
delay time; the resulting settling time, however, may not produce accurate
measurements. You can also achieve unspecified faster reading rates by
specifying less integration time in line 50. This program can be adapted to AC+DC
current by using the ACDCI command instead of the ACI command in line 40.
10 OUTPUT 722;"PRESET FAST"!TARM SYN, TRIG AUTO
20 OUTPUT 722;"MFORMAT SINT"!SINT MEMORY FORMAT
30 OUTPUT 722;"MEM FIFO"!ENABLE READING MEMORY, FIFO MODE
40 OUTPUT 722;"ACI 100E-3"!AC CURRENT, 100 mV RANGE
50 OUTPUT 722;"NPLC 0.1"!0.1 PLC INTEGRATION TIME
60 OUTPUT 722;"ACBAND 10E3,20E3"!SIGNAL BETWEEN 10 kHz AND 20 kHz
70 OUTPUT 722;"NRDGS 100,AUTO"!100 READINGS/TRIGGER, AUTO SAMPLE EVENT
80 OUTPUT 722;"TARM SGL"!TRIGGER READINGS
90 END
162
Keysight 3458A User's Guide