
108
Chapter 9
Measurement Applications (Sample Programs)
Measurement with Auto-sorting System
Lines 800 to 810 Sets the trigger mode to the external trigger and turns ON the trigger
system successive startup.
Lines 850 to 880 Turns ON the BIN count function and clears the count values.
Lines 920 to 930 Sets the instrument to generate an SRQ when measurement finishes
and clears the status byte register and operation status event register.
Lines 950 to 1160 Repeats the following Max_meas times.
1. Lines 960 to 990: Waits for the trigger system to make the
transition to the trigger wait state.
2. Lines 1000 to 1020: Clears the status byte register and operation
status event register.
3. Lines 1030 to 1040: Sets the branch destination of the SRQ
interrupt and enables SRQ interrupt.
4. Lines 1050 to 1060: Displays the message to prompt the user to
connect the DUT and enter an external trigger and then waits until
the external trigger is inputted and the measurement is finished.
NOTE
In this example, the status report system is employed to synchronize with the instrument
state of the 4288A. For the auto-sorting system using the handler, you can also use handler
interface output signals such as /READY_FOR_TRIG, /INDEX, and /EOM for
synchronization.
5. Lines 1070 to 1150: Reads out the measurement status, measured
primary and secondary parameter values, and comparator sorting
result and displays them.
NOTE
For the auto-sorting system integrated with the handler, you can also use the handler
interface output signals /BIN1 to /BIN9, /OUT_OF_BINS, and /AUX_BIN to obtain the
comparator sorting result and /OVLD and /LOW_C_REJECT to obtain the measurement
status (overload and Low C occurrence).
Lines 1180 to 1300 Reads out the BIN count values and displays them.
Example 9-2
Measurement assuming auto-sorting system (meas_sys.bas)
10
DIM Pri$[9],Sec$[9],Mode$[9],Aux$[9],Meas_time$[9],Low_c_rej$[9]
20
REAL Freq,Lvl,Nom,Low_c_rej_lim
30
REAL L_lim(1:3),U_lim(1:3),L_lim_sec,U_lim_sec,Pri_res,Sec_res
40
INTEGER Max_meas,Cbl,Result,Meas_stat,Comp,Bin(1:11),Ovld,I
50
CLEAR SCREEN
60
!
70
ASSIGN @Agt4288a TO 717
80
!
90
Max_meas=10
100
!
110
Pri$="CP"
120
Sec$="D"
130
Freq=1.E+3
140
Lvl=1.0
150
Meas_time$="SHOR"
Содержание 4288A
Страница 18: ...16 Chapter1 Making Effective Use of This Manual How To Use This Manual ...
Страница 102: ...100 Chapter8 Avoiding Mistakes Related to Work and Daily Checks Daily Checks executing the self test ...
Страница 212: ...210 AppendixA Manual Changes Manual Changes ...
Страница 248: ...246 AppendixB Information for Replacing 4278A with 4288A Comparison of Interfaces ...
Страница 258: ...256 AppendixC Status Reporting System Using the Status Reporting System ...
Страница 282: ...280 AppendixG 4268A vs 4288A GPIB Command Correspondence Table 4268A vs 4288A GPIB Command Correspondence Table ...
Страница 288: ...286 Index Index ...