58
Chapter 2, Methods For Reading Measurement Results
HP BASIC ‘MAV’ Example Program
Comments for Recommended Routine
Table 6
Comments for Measure Function from MAV 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 5 second timeout for any I/O activity on the HP-IB. This will allow the
function to recover if the bus hangs for any reason. The length of the timeout will
be implementation dependent.
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 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
Establish a start time against which to compare the measurement result timeout
value passed to the Measure function.
340
Start the status byte polling loop.
350
Allow the Test Set some time (100 milliseconds) to process the measurement.
When polling the Test Set the polling loop must give the Test Set time to process
the requested measurement. Since HP-IB command processing has a higher sys-
tem priority within the Test Set than measurement functions, constantly sending
HP-IB commands will result in longer measurement times.
Содержание 8920B
Страница 10: ...10 ...
Страница 16: ...Contents 16 9 Error Messages Index 673 ...
Страница 17: ...17 1 Using HP IB ...
Страница 48: ...48 Chapter 1 Using HP IB Remote Local Modes ...
Страница 49: ...49 2 Methods For Reading Measurement Results ...
Страница 61: ...61 3 HP IB Command Guidelines ...
Страница 84: ...84 Chapter 3 HP IB Command Guidelines Guidelines for Operation ...
Страница 85: ...85 4 HP IB Commands ...
Страница 90: ...90 Adjacent Channel Power ACP ...
Страница 116: ...116 Configure I O Configure ...
Страница 156: ...156 Call Processing ...
Страница 162: ...162 Display DISPlay space TDMA test TESTs TFReq THLP TIBasic TMAKe TPARm TPRint TSEQn TSPec Returns current screen TX ...
Страница 185: ...185 System System SYSTem ERRor Returns integer value quoted string ...
Страница 242: ...242 Common Command Descriptions ...
Страница 251: ...251 5 Advanced Operations ...
Страница 377: ...377 7 IBASIC Controller ...
Страница 458: ...458 Chapter 7 IBASIC Controller The TESTS Subsystem ...
Страница 640: ...640 Chapter 8 Programming The Call Processing Subsystem Example Programs 11280 SUBEND 11290 ...
Страница 643: ...643 9 Error Messages ...
Страница 672: ...672 ...
Страница 682: ...Index 682 ...