Operating Considerations; Related Topics - Agilent Technologies 8960 10 Series Reference Manual

Wireless communications test set, gsm mobile test application
Hide thumbs Also See for 8960 10 Series:
Table of Contents

Advertisement

Example 1. Generating a Service Request (SRQ) Interrupt - Bit Error Rate NMRR
The following example illustrates the use of the STATus subsystem to generate a service request when a
BERR measurement has completed. This code assumes a call is already connected and the BERR
measurement is setup (mobile station must be in loopback type A or B).
10
OUTPUT 714;"STATUS:OPERATION:NMRREADY:GSM:PTR 256" !Enable positive transition
20
30
OUTPUT 714;"STATUS:OPERATION:NMRREADY:GSM:ENABLE 256" !Enable the fast BER Bit to
40
45
OUTPUT 714;"STATUS:OPERATION:NMRREADY:ENABLE 4" !Enable the GSM summary bit.
50
OUTPUT 714;"STATUS:OPERATION:ENABLE 512" !Enable the Operation summary bit to
60
70
OUTPUT 714;"*SRE 128" !Enable the service request enable register to generate SRQ.
80
OUTPUT 714;"*CLS" !Clear all status data structures.
90
ON INTR 7,15 CALL Meas_complete !Define interrupt-initiated branch with a priority
100
110 ENABLE INTR 7;2 !Enable interrupt on interface card 7 with a bit mask
120
130 OUTPUT 714;"SETUP:FBER:CONTINUOUS OFF;:INITIATE:FBERROR" !Initiate a single
140
150 LOOP
160 DISP "Waiting for BERR test to complete"
170 WAIT .1 !"Dummy" loop
180 END LOOP
190 !Instead of a "dummy" loop, controlling application could be performing setups,
200 !making measurements, etc.
210 END
220 SUB Meas_complete
230 DISP "BER test complete, OK to FETCh results now"
240 Clear_interrupt=SPOLL(714) !Clear the RQS message in the status byte register.
250 STOP
260 SUBEND

Operating Considerations

Only one indicator is returned per query.
To ensure that when a measurement completes it will remain in a state that qualifies it as DONE, use the
SETup subsystem to set all active measurements to single (CONTinous:OFF) trigger mode.

Related Topics

*******************************************************
"INITiate Command Functions" on page 353
"What Happens When a Measurement is INITiated?" on page 353
"Concurrent Measurements" on page 122
*******************************************************
!of 15 (highest)
!(for interface's interrupt-enable register) of 2.
S:\Hp8960\E1960A GSM Mobile Test Application\A.04 Release\Reference_Manual\Chapters\prog_meas_synch.fm
!filter on fast BER bit.
!generate a summary message.
!generate a summary message.
!fast BER test.
Measurement Event Synchronization
135

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

E5515aE5515bE1960a

Table of Contents