Specifications

Table Of Contents
24 Chapter 2
Programming Command Guidelines
Getting Started with Programming Commands
Programming Guidelines
When you are going to make a test program, follow the following guidelines.
The program flow should be same as the flow of the front panel operation of
the Test Set. That is, before setting parameters, performing tests, or querying
the test results, display the corresponding screen using the DISPlay subsystem
commands.
For example, when you want to execute the BS Call for MANUAL TEST using
the “TESTs:MANual:MEASure:BSCall” command, send the
“DISPlay:MANual:SYNChronous:STBY” command to display the MANUAL
TEST: Stand-by screen before sending that command.
The number of query commands and the number of the corresponding enter
commands should be same. To avoid mismatching of the numbers of them,
enter the value to a computer just after the query commands have been sent.
For example, when you want to enter the TCH channel and frequency values on
MANUAL TEST using HP BASIC, make a test program as follows:
OUTPUT Serial_port;”DISP:MAN:SYNC:STBY”
OUTPUT Serial_port;”TEST:MAN:TCH:CHAN?”
ENTER Serial_port;a
OUTPUT Serial_port;”TEST:MAN:TCH:FREQ?”
ENTER Serial_port;b
To enter the measurement results, wait until the measurement ends. Using the
“*STB?” command to know the measurement status, monitor the bit 0,
Measurement Data Ready Bit, and bit 1, Measuring Status Bit.
To perform measurements with AUTOMATIC TEST or the MANUAL TEST,
wait until the test flow proceeds to the step which the measurement can be
performed. To monitor the test flow steps executed, use the
“TESTs:AUTO:MEASure:SIGNaling:STATe?” command for AUTOMATIC
TEST and the “TESTs:MANual:MEASure:SIGNaling:STATe?” command for
MANUAL TEST.