232
S:\Hp8960\E1962B CDMA 2000\Pi Release\Reference Guide\Chapters\cdma2000_prog_meas_sync.fm
Measurement Event Synchronization
Programming Example
The following example assumes that the mobile is transmitting on a digital traffic channel and no
measurements other than digital TX power (DTXP) and digital modulation accuracy (MACC) are being
triggered. See “Transition Filters” on page 212.
10 OUTPUT 714;”SETup:DAPower:CONTinuous OFF” !Sets digital average power
20 !trigger mode to single.
30 OUTPUT 714;”SETUP:WQUality:CONTinuous OFF” !Sets wavrform quality
40 !trigger mode to single.
50 OUTPUT 714;”INITiate:DAPower;WQUality” !Begin digital average power and
60 !waveform quality measurements.
70 REPEAT
80 OUTPUT 714;”INITiate:DONE?” !Queries the test set for measurements
90 !that are done
100 ENTER 714;Meas_done$ !String value representing DONE measurements,
110 ! NONE if no measurements are done.
120 SELECT Meas_done$ !This variable will be set to WAIT until measurements
130 !are DONE.
140 CASE “DAP” !Characters must be upper case.
150 OUTPUT 714;”FETCH:DAPower?” !If this case is selected,
160 !digital average power is FETCHed.
170 ENTER 714;Integrity,Dapower_meas
180 PRINT “Digital Average Power is “;Dapower_meas
190 CASE “WQU” !Characters must be uppercase.
200 OUTPUT 714;”FETCH:WQUality:RHO?” !If this case is selected,
210 !the rho measurement is FETCHed.
220 ENTER 714;rho_meas
230 PRINT “Rho is “;rho_meas
240 END SELECT
250 UNTIL Meas_done$=”NONE” !When all triggered measurements have completed,
260 !the INITiate:DONE? query returns NONE.
270 END
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.