Agilent Technologies E8285A User Manual page 108

Cdma mobile station test set
Hide thumbs Also See for E8285A:
Table of Contents

Advertisement

®
HP
BASIC Example of Polling
10 PRINT "PRESS CONTINUE WHEN THE MOBILE STATION IS IN IDLE STATE"
15 OUTPUT 714;"*CLS" !Clears contents of event registers
20 PAUSE
30 OUTPUT 714;"CDMA:MOB:REG" !Attempts to register mobile station
40 DISP "Registering mobile station"
50 REPEAT
60 WAIT .1 !Allows the Test Set to perform processes other than processing GPIB commands
70 OUTPUT 714;"STAT:CDMA:EVEN?" !Queries the CDMA Event register
80 ENTER 714;Cdma_event_reg
90 UNTIL BIT(Cdma_event_reg,11) !Exits loop when Mobile Station Registered bit goes true
100 PRINT "MOBILE STATION HAS REGISTERED"
110 END
Advantages/Disadvantages of Using Service Request
The service request feature of the GPIB has the advantage that it allows the Call
Processing Subsystem to execute at its maximum speed since processes within the
subsystem are not being constantly interrupted by the need to service the GPIB.
The service request feature of the GPIB has the disadvantage that it takes more
code to implement within the control program. The consequence of which is a
slight reduction in the overall throughput of the control program since more code
must be executed to accomplish the same task. For an example of using the
service request feature, refer to "Controlling Program Flow" chapter in the
E8285A Application Guide.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Chapter 4, Status Reporting
Status Reporting
107

Advertisement

Table of Contents
loading

Table of Contents