![HP 8920B Programmer'S Manual Download Page 55](http://html.mh-extra.com/html/hp/8920b/8920b_programmers-manual_166189055.webp)
55
Chapter 2, Methods For Reading Measurement Results
HP BASIC ‘ON TIMEOUT’ Example Program
360
Exit the Measure function and return the result value.
370
The following lines of code handle the case where the request for a measurement
result has timed out.
380
Set up a timeout for any I/O activity on the HP-IB while the control program is
trying to regain control of the Test Set. This will allow the function to gracefully
stop program execution if the control program cannot regain control of the Test
Set. This timeout should only occur if there is some type of hardware failure,
either in the Test Set or the external controller, which prevents them from
communicating via HP-IB.
390
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.
400
Command the Test Set to abort the currently executing measurement cycle. Set
the trigger mode back to repetitive retriggering. Setting the Test Set back to
repetitive retriggering will be implementation dependent.
410
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.
420
Exit the Measure function and return a result value of 9.E+99.
430
The following lines of code handle the case where the control program cannot
regain control of the Test Set. The actions taken in this section of the code will be
implementation dependent. For the example case a message is displayed to the
operator and the program is stopped.
440
Display a message to the operator that the control program cannot regain control
of the Test Set.
450
Stop execution of the control program.
Table 5
Comments for Measure Function from ON TIMEOUT
Example Program (Continued)
Program Line
Number
Comments
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 ...