Data Transfer Examples
The HP 4284A has two data transfer formats, ASCII and BINARY.
This paragraph includes sample programs for each.
ASCII Format
The sample programs using the ASCI I data format are in the
following three patterns.
Measurement data transfer when the comparator function of the
limit table is set to ON. (Figure 7-24)
Measurement data transfer using the buer memory function
when the comparator function of the limit table is set to ON.
(Figure 7-25)
Measurement data transfer when the list sweep measurementis
performed. ( Figure 7-26)
10 ASSIGN @Meter TO 717
20 REMOTE @Meter
30 OUTPUT @Meter;"*RST;*CLS" !\
40 OUTPUT @Meter;"FORM ASCII" ! Setup
50 OUTPUT @Meter;"TRIG:SOUR BUS" ! Measurement
60 OUTPUT @Meter;"COMP ON" ! Condition
70 OUTPUT @Meter;"INIT:CONT ON" !/
80 FOR I=0 TO 9
90 TRIGGER @Meter ! Perform measurement
100 ENTER @Meter;A,B,C,D ! Transfer data to controller
110 PRINT A,B,C,D ! Print measurement result
120 NEXT I
130 END
Figure 7-24. Sample Program (Comparator) Using ASCII Format
7-36 Remote Control