Agilent Technologies A.18.00 Weather Radio User Manual


 
60
S:\agilent\8920\8920b\PRGGUIDE\BOOK\CHAPTERS\measrslt.fb
Chapter 2, Methods For Reading Measurement Results
HP
®
BASIC ‘ON TIMEOUT’ Example Program
HP
®
BASIC ‘ON TIMEOUT’ Example Program
The following example program demonstrates a recommended technique which
can be utilized in situations where a measurement result timeout value of 32.767
seconds or less is adequate. In the Agilent RMB language, the timeout parameter
for the ON TIMEOUT command has a maximum value of 32.767 seconds. If a
timeout value of greater than 32.767 seconds is required refer to the
HP
®
BASIC
‘MAV’ Bit Example Program.
The measurement result timeout value is defined to mean the amount of time the
control program is willing to wait for the Test Set to return a valid measurement
result to the control program.
Lines 10 thru 230 in this example set up a measurement situation to demonstrate
the use of the recommended technique. The recommended technique is exampled
in the Measure Function.
NOTE: Lines 50 and 60 should be included in the beginning of all control program. These lines are
required to ensure that the Test Set is properly reset. This covers the case where the program
was previously run and was stopped with the Test Set in an error condition.