User`s guide
2-3
GPIB Tutorial and Examples
Exercise A - Establishing a Link
Exercise A - Establishing a Link
Originate a Call
Begin the program by setting the GPIB address variable Uut=714, then select commands
from section “GPIB Commands Used in Exercises” to carry out the following actions:
❒ Preset the Agilent 8922M/S and set up the paging IMSI and external cable loss, zero
the power meter.
❒ Page the mobile.
❒ Establish a program loop to wait for the mobile to answer the call.
❒ End the loop when the mobile answers or when too much time has elapsed.
Tips:
The BASIC REPEAT UNTIL loop is useful in this application. The loop can be used to
keep checking the Agilent 8922M/S call status until the returned variable becomes equal
to “CONNECTED” or a time-out counter is exceeded. Place a WAIT 1 statement inside
the loop so that the Agilent 8922M/S call status is checked once per second. For more
help, look at the ‘PAGE THE MOBILE AND ESTABLISH A CALL’ section of example
program 1 in section “Example Programs”.
End the Call
Add additional lines to your program to end the call. Select the GPIB commands from
“GPIB Commands Used in Exercises” and use the same structure as for call set up. This
time, wait for the status to become equal to “INACTIVE”.
Tips:
For help, look at the “END THE CALL” section of example program 1 in section
“Example Programs”.