![HP 8920B Programmer'S Manual Download Page 54](http://html.mh-extra.com/html/hp/8920b/8920b_programmers-manual_166189054.webp)
54
Chapter 2, Methods For Reading Measurement Results
HP BASIC ‘ON TIMEOUT’ Example Program
Comments for Recommended Routine
Table 5
Comments for Measure Function from ON TIMEOUT
Example Program
Program Line
Number
Comments
50
Send a Selected Device Clear (SDC) to the Test Set to put the HP-IB subsystem
into a known state. This allows the control program to regain programmatic
control of the Test Set if it is in an error state when the program begins to run.
60
Command the Test Set to abort the currently executing measurement cycle. This
will force the Test Set to stop waiting for any measurement results to be available
from measurements which may be in an invalid state when the program begins to
run.
290
Turn event initiated branches off (except ON END, ON ERROR and ON
TIMEOUT) to ensure that the Measure function will not be exited until it is
finished.
300
Set up a timeout for any I/O activity on the HP-IB. This will allow the function to
recover if the bus hangs for any reason.
310
Set the triggering mode to single followed by a trigger immediate command. This
ensures that a new measurement cycle will be started when the TRIG:IMM
command is sent. This sequence, that is: set to single trigger and then send a
trigger command, guarantees that the measurement result returned to the ENTER
statement will accurately reflect the state of the DUT when the TRIG:IMM
command was sent. The ’IMM’ keyword is optional.
320
Send the query command passed to the Measure function to the Test Set.
330
Read the measurement result.
340
Set the trigger mode to repetitive retriggering. Setting the trigger mode to
repetitive will be implementation dependent.
350
Re-enable event initiated branching. If any event initiated branches were logged
while the Measure function was executing they will be executed when system
priority permits.
Summary of Contents for 8920B
Page 10: ...10 ...
Page 16: ...Contents 16 9 Error Messages Index 673 ...
Page 17: ...17 1 Using HP IB ...
Page 48: ...48 Chapter 1 Using HP IB Remote Local Modes ...
Page 49: ...49 2 Methods For Reading Measurement Results ...
Page 61: ...61 3 HP IB Command Guidelines ...
Page 84: ...84 Chapter 3 HP IB Command Guidelines Guidelines for Operation ...
Page 85: ...85 4 HP IB Commands ...
Page 90: ...90 Adjacent Channel Power ACP ...
Page 116: ...116 Configure I O Configure ...
Page 156: ...156 Call Processing ...
Page 185: ...185 System System SYSTem ERRor Returns integer value quoted string ...
Page 242: ...242 Common Command Descriptions ...
Page 251: ...251 5 Advanced Operations ...
Page 377: ...377 7 IBASIC Controller ...
Page 458: ...458 Chapter 7 IBASIC Controller The TESTS Subsystem ...
Page 640: ...640 Chapter 8 Programming The Call Processing Subsystem Example Programs 11280 SUBEND 11290 ...
Page 643: ...643 9 Error Messages ...
Page 672: ...672 ...
Page 682: ...Index 682 ...