background image

 77

Chapter 3, HP-IB Command Guidelines

Guidelines for Operation

Specifying Units-of-Measure for Settings and Measurement Results 

Numeric settings and measurement results in the Test Set can be displayed using 
one or more units-of-measure (V, mV, mV, Hz, kHz, MHz…). When operating 
the Test Set manually, the units-of-measure can be easily changed to display 
measurement results and field settings in the most convenient format. HP-IB 
operation is similar to manual operation in that the units-of-measure used to 
display numeric data can be programmatically changed to the most convenient 
form. 

NOTE:

When querying measurements or settings through HP-IB, the Test Set always returns numeric
values in HP-IB Units or Attribute Units, regardless of the current Display Units setting. Refer
to 

"HP-IB Units (UNITs)" on page 80

 and 

"Attribute Units (AUNits)" on page 83

 for

further information. 

There are three sets of units-of-measure used in the Test Set: Display Units, 
HP-IB Units, and Attribute Units. Writing correct HP-IB programs requires an 
understanding of how the Test Set deals with these different sets of units-of-
measure. 

Display Units (DUNits) 

Display Units are the units-of-measure used by the Test Set to display numeric 
data (field settings and measurement results) on the front-panel CRT display. For 
example, the RF Generator’s frequency can be displayed in Hz, kHz, MHz and 
GHz. Similarly, the measured TX Frequency can be displayed in Hz, kHz, MHz 
and GHz. 

When evaluating an entered value for a numeric field, the Test Set interprets the 
data it receives in terms of the Display Units currently set. For example, if the 
Display Units for the 

RF Gen Freq 

field are set to GHz and the operator tries to 

enter 500 into the field, an 

Input value out of range

 error is generated 

since the Test Set interpreted the value as 500 GHz which is outside the valid 
frequency range of the Test Set. 

Содержание 8921A

Страница 1: ...LP MSSG HOLD PRINT SCREEN CONTROL LOCAL ADRS RECAL SAVE MEAS PRESE INSTRUMENT STATE DATA FUNCTIONS INCR REF INCR METER INCR AVG LO HI CURSOR CON PUSH TO CANCE SHIFT k1 k1 k2 k2 k3 k3 k4 ASSIG k5 RELEA USER DATA 7 8 9 4 5 6 1 2 3 0 _ ENTER GHz dB MHz kHz s Hz ms Ω ppm NO ON OFF YES MEMO AUDIO IN LO HI MAX MAX AUDIO SQUELC VOL MIC MAX POWER 200 ANT IN DUPLEX OUT RF IN OUT MAX POWER POWE OF O ...

Страница 2: ...daptation or translation without prior written permission is prohibited except as allowed under the copyright laws This material may be reproduced by or for the U S Government pursuant to the Copyright License under the clause at DFARS 52 227 7013 APR 1988 Hewlett Packard Company Learning Products Department 24001 E Mission Liberty Lake WA 99019 9599 U S A ...

Страница 3: ...the operator position 70 dB A Sound Pressure Lp 70 dB A At Operator Position Normal Operation According to ISO 7779 1988 EN 27779 1991 Type Test Herstellerbescheinigu ng Diese Information steht im Zusammenhang mit den Anforderungen der Maschinenlärminformationsverordnung vom 18 Januar 1991 Schalldruckpegel Lp 70 dB A Am Arbeitsplatz Normaler Betrieb Nach ISO 7779 1988 EN 27779 1991 Typprüfung ...

Страница 4: ...rument from a dc power source SAFETY SYMBOLS Indicates instrument damage can occur if indicated operating limits are exceeded Indicates hazardous voltages Indicates earth ground terminal WARNING A WARNING note denotes a hazard It calls attention to a procedure practice or the like which if not correctly performed or adhered to could result in per sonal injury Do not proceed beyond a WARNING sign u...

Страница 5: ...in a normal condition in which all means for protection are intact only No operator serviceable parts in this product Refer servicing to qualified personnel To prevent electrical shock do not remove covers Servicing instructions are for use by qualified personnel only To avoid electrical shock do not perform any servicing unless you are qualified to do so The opening of covers or removal of parts ...

Страница 6: ...dampened with water to clean the external case parts Do not attempt to clean internally Ventilation Requirements When installing the product in a cabinet the convection into and out of the product must not be restricted The ambient temperature outside of the cabinet must be less than the maximum operating temperature of the product by 4 C for every 100 watts dissipated in the cabinet If the total ...

Страница 7: ...ts in material and workmanship when properly installed and used If HP receives notice of such defects during the warranty period HP will replace software media which does not execute its pro gramming instructions due to such defects 3 HP does not warrant that the operation of HP products will be uninterrupted or error free If HP is unable within a reasonable time to repair or replace any product t...

Страница 8: ...ch damages are determined by a court of competent jurisdiction to have been directly caused by a defective HP product 9 TO THE EXTENT ALLOWED BY LOCAL LAW THE REMEDIES IN THIS WARRANTY STATEMENT ARE CUSTOMER S SOLE AND EXCLUSIVE REMEDIES EXCEPT AS INDICATED ABOVE IN NO EVENT WILL HP OR ITS SUPPLIERS BE LIABLE FOR LOSS OF DATA OR FOR DIRECT SPECIAL INCIDENTAL CONSEQUENTIAL INCLUDING LOST PROFIT OR ...

Страница 9: ...munications Test Set Cell Site Test Set HP 8920A HP 8920B and HP 8921A This declaration covers all options of the above product conforms to the following Product specifications Safety IEC 348 1978 HD 401S1 19811 EMC CISPR 11 1990 EN 55011 1991 Group 1 Class A EN50082 1 1992 IEC 801 2 1991 4 kV CD 8 kV AD IEC 801 3 1984 3V m IEC 801 4 1988 0 5 kV Sig Lines 1 kV Power Lines Supplementary Information...

Страница 10: ...nd Service Hewlett Packard Company 24 Inverness Place East Englewood CO 80112 Sales Tel 303 649 5000 Fax 303 649 5787 Service Tel 303 649 5512 Fax 303 649 5787 Western USA Sales and Service Hewlett Packard Company 1421 South Manhattan Avenue Fullerton CA 92631 Sales Tel 714 999 6700 Fax 714 778 3033 Service Tel 714 758 5490 Fax 714 778 3033 United States of America Customer Information Center Hewl...

Страница 11: ...oria 3130 Telephone 61 3 895 2895 Fax 61 3 898 9257 Canada Sales and Service Hewlett Packard Canada Ltd 5150 Spectrum Way Mississauga Ontario L4W 5G1 Canada Telephone 416 206 4725 Fax 416 206 4739 Canada Service Center Hewlett Packard Company 17500 Transcanada Highway S Serv Road Kirkland Quebec H9J 2X8 Canada Telephone 416 206 3295 Canada Service Center Hewlett Packard Ltd 11120 178 Street Edmont...

Страница 12: ...t BASIC a subset of the Hewlett Packard Rocky Mountain BASIC programming language The term IBASIC Controller refers to the Test Set s built in IBASIC Controller A field on the Test Set s display is represented in the following manner AF Anl In When keys are pressed one at a time they are separated by commas For example SHIFT TESTS means to press and release the SHIFT key then press and release the...

Страница 13: ...mass storage RAM disk ROM disk external disk drives SRAM cards and ROM cards and the file system formats DOS LIF available in the Test Set Chapter 7 IBASIC Controller describes how to develop Instrument BASIC IBASIC programs for use on the Test Set s built in IBASIC Controller Topics discussed are interfacing to the IBASIC Controller using the serial ports overview of the three program development...

Страница 14: ...14 ...

Страница 15: ...Contents 15 1 Using HP IB Overview of the Test Set 28 Getting Started 36 Remote Operation 49 Addressing 51 IEEE 488 1 Remote Interface Message Capabilities 52 Remote Local Modes 55 ...

Страница 16: ...Contents 16 2 Methods For Reading Measurement Results Background 60 HP BASIC ON TIMEOUT Example Program 62 HP BASIC MAV Example Program 66 ...

Страница 17: ...Contents 17 3 HP IB Command Guidelines Sequential and Overlapped Commands 72 Guidelines for Operation 73 ...

Страница 18: ... 1 104 AF Generator 2 Pre Modulation Filters 105 AF Generator 2 Encoder 106 Configure I O Configure 121 Call Processing 126 Decoder 145 Display 149 Measure 151 Oscilloscope 158 Program 163 Save Recall Registers 164 RF Analyzer 165 RF Generator 167 Radio Interface 168 Spectrum Analyzer 169 HP IB Only Commands 171 ...

Страница 19: ...Syntax 178 Real Number Setting Syntax 179 Multiple Real Number Setting Syntax 180 Number Measurement Syntax 181 Multiple Number Measurement Syntax 183 Equivalent Front Panel Key Commands 184 IEEE 488 2 Common Commands 212 Common Command Descriptions 213 Triggering Measurements 228 ...

Страница 20: ...Contents 20 5 Advanced Operations Increasing Measurement Throughput 238 Status Reporting 244 HP IB Service Requests 295 Instrument Initialization 305 Passing Control 318 ...

Страница 21: ...view 331 Default Mass Storage Locations 338 Mass Storage Access 340 DOS and LIF File System Considerations 341 Using the ROM Disk 348 Using Memory Cards 349 Backing Up Procedure and Library Files 354 Copying Files Using IBASIC Commands 355 Using RAM Disk 357 Using External Disk Drives 359 ...

Страница 22: ...orts 368 Choosing Your Development Method 382 Method 1 Program Development on an External BASIC Language Computer 384 Method 2 Developing Programs on the Test Set Using the IBASIC EDIT Mode 392 Method 3 Developing Programs Using Word Processor on a PC Least Preferred 397 Uploading Programs from the Test Set to a PC 404 Serial I O from IBASIC Programs 405 PROGram Subsystem 408 The TESTS Subsystem 4...

Страница 23: ...sing Subsystem s Remote User Interface 448 Programming The CALL CONTROL Screen 458 Programming The CALL DATA Screen 486 CALL DATA Screen Message Field Descriptions 490 Programming The CALL BIT Screen 501 CALL BIT Screen Message Field Descriptions 512 Programming The ANALOG MEAS Screen 532 Programming The CALL CONFIGURE Screen 540 Example Programs 543 ...

Страница 24: ...Contents 24 9 Error Messages ...

Страница 25: ...Contents 25 Index 593 ...

Страница 26: ...Contents 26 ...

Страница 27: ...27 1 Using HP IB ...

Страница 28: ...implified block diagrams shown in figure 1 on page 34 and figure 2 on page 35 depict how instrument control information and measurement result information are routed among the Test Set s instruments instrument control hardware built in IBASIC controller and other components The Test Set has two operating modes Manual Control mode and Automatic Control mode In Manual Control mode the Test Set s ope...

Страница 29: ... active For example if an RF power meter is in the bench or racked system and the user wishes to measure the power of an RF carrier they must turn the power meter on and look at the front panel to see the measurement result Other instruments in the system may be turned off but this would not prevent the operator from measuring the RF power Conceptually the same is true for the Test Set In order to...

Страница 30: ...terface internal RAM disc and internal ROM disc Three types of interfaces are available for connecting to external instruments and equipment HP IB RS 232 and 16 bit parallel available as Opt 020 Radio Interface Card Figure 2 shows how information is routed inside the Test Set when it is in Internal Automatic Control mode In Manual Control mode certain Test Set resources are dedicated to manual ope...

Страница 31: ...eveloping IBASIC programs to run on the internal IBASIC Controller are discussed in this manual Secondly the IBASIC Controller has a dedicated HP IB interface select code 8 in figure 2 for communicating with the internal instruments of the Test Set This HP IB interface is only available to the IBASIC Controller There is no external connector for this HP IB interface No external instruments may be ...

Страница 32: ...btain measurement results and DUT data through the external HP IB interface Figure 1 on page 34 shows how information is routed inside the Test Set in Manual Control mode Figure 1 also shows that certain Test Set resources are dedicated to the IBASIC Controller Memory Card ROM disk Serial Interface 10 and are not directly accessible to the user in Manual Control Mode In addition figure 1 shows tha...

Страница 33: ... order to obtain a measurement result or input data from the DUT From a programming perspective this means that before attempting to read a measurement result or to input data from the DUT the desired screen for the measurement result or data field must be selected using the DISPlay command and the field must be in the ON state 2 In Manual Control mode instrument configuration information is not r...

Страница 34: ...L HARDWARE MEMORY CARD ROM DISK IBASIC CONTROLLER HP IB 8 SERIAL I F 10 SERIAL I F 9 PARALLEL PRINTER 15 HP IB 7 RF GEN AF GEN 1 AF GEN 2 FUNCTION GEN SIGNALING ENCODER AF ANALYZER OSCILLOSCOPE SPECTRUM ANALYZER RF ANALYZER SIGNALING DECODER TOP BOXES FRONT PANEL INSTRUMENT SETUP INFORMATION FRONT PANEL INFORMATION MEASUREMENT RESULTS AND DUT DATA ...

Страница 35: ...ON TROL HARDWARE MEMORY CARD ROM DISK IBASIC CONTROLLER HP IB 8 SERIAL I F 10 SERIAL I F 9 PARALLEL PRINTER 15 HP IB 7 RF GEN AF GEN 1 AF GEN 2 FUNCTION GEN SIGNALING ENCODER AF ANALYZER OSCILLOSCOPE SPECTRUM ANALYZER RF ANALYZER SIGNALING DECODER TOP BOXES FRONT PANEL INSTRUMENT SETUP INFORMATION FRONT PANEL INFORMATION MEASUREMENT RESULTS AND DUT DATA ...

Страница 36: ... the Test Set s IBASIC Controller can control all the Test Set s functions using its internal HP IB This capability provides a single instrument automated test system The HP 11807 Radio Test Software utilizes this capability Programs running in the Test Set s IBASIC Controller can control other instruments connected to the external HP IB An external controller connected to the external HP IB can r...

Страница 37: ...ransfer over HP IB Various advanced functions such as increasing measurement throughput status reporting error reporting pass control and so forth What Is Not Explained HP IB IEEE 488 1 488 2 theory of operation1 HP IB electrical specifications1 HP IB connector pin functions1 IBASIC programming other than general guidelines related to HP IB 2 1 Refer to the Tutorial Description of the Hewlett Pack...

Страница 38: ... TX TEST screen or the RX TEST screen is displayed any HP IB commands sent to the Test Set to change the value of a hidden priority field are ignored Hidden priority fields on the TX TEST or RX TEST screens are not settable manually or programmatically Displaying either of these screens automatically re configures the 6 priority fields as follows 1 When entering the RX TEST screen a the RF Generat...

Страница 39: ...g made while in the screen b The AF Analyzer AF Anl In De Emphasis and Detector fields are set to their preset values whenever entering the screen OR set to their preset values if the PRESET key is selected Table 2 RX TEST Screen and TX TEST Screen Priority Field Preset Values Priority Field RX TEST Screen Preset Value Field Hidden On RX TEST Screen TX TEST Screen Preset Value Field Hidden On TX T...

Страница 40: ...cedure requires changing screens use the DISPlay command to select the desired screen followed by the correct commands to set the desired field s NOTE When IBASIC programs are running the CRT is dedicated to the IBASIC Controller for program and graphics display This means instrument front panels are not displayed on the CRT when an IBASIC program is running However the DISPlay screen command caus...

Страница 41: ...OUTPUT Addr RFG FREQ 500 MHZ Sets RF Gen freq to 500 MHz 80 OUTPUT Addr RFG AMPL STAT ON Turns RF Gen output ON 90 OUTPUT Addr DISP SAN Selects Spectrum Analyzer s screen 100 OUTPUT Addr SAN CRF 500 MHZ Center Frequency 500 MHz 110 MEASUREMENT SEQUENCE 120 OUTPUT Addr TRIG Triggers reading 130 OUTPUT Addr MEAS SAN MARK LEV Query of Spectrum 140 Analyzer s marker level 150 ENTER Addr Lvl Places mea...

Страница 42: ...e Test Set will wait indefinitely for the receiver to unsquelch and return a measured value 4 The RF Analyzer s Input Port is set to ANT antenna while trying to read TX power TX power is not measurable with the Input Port set to ANT The TX power measurement field will display four dashes indicating the measurement is unavailable 5 The input signal to the Test Set is very unstable causing the Test ...

Страница 43: ...ram uses that field Note that if the STATe is OFF just setting a numeric value in the field will not change the STATe to ON This is different than front panel operation whereby the process of selecting the field and entering a value automatically sets the STATe to ON Programmatically fields must be explicitly set to the ON state if they are in the OFF state For example the following command line w...

Страница 44: ...through HP IB can be done using a variety of units of measure The HP IB Units or Attribute Units for a queried value can always be determined using the UNITs command or AUNits command respectively refer to Number Measurement Syntax on page 181 or Multiple Number Measurement Syntax on page 183 for command syntax Control Annunciators The letters and symbols at the top right corner of the display ind...

Страница 45: ... pass control in this mode Use this setting if the Test Set will be controlled through HP IB from an external controller Control configures the Test Set to be the System Controller Use this setting if the Test Set will be the only controller on the HP IB Selecting the Control mode automatically makes the Test Set the Active Controller NOTE Only one System Controller can be configured in an HP IB s...

Страница 46: ...the internal only HP IB at select code 8 to control the Test Set IBASIC programs would use the external HP IB at select code 7 to control HP IB devices connected to the rear panel HP IB connector NOTE Refer to Overview of the Test Set on page 28 for a detailed explanation of the Test Set s architecture When using a BASIC language Workstation with an HP IB interface at select code 7 to control the ...

Страница 47: ...ired setting using the proper command syntax refer to Chapter 4 HP IB Commands for proper syntax The following example makes several instrument setting changes Example OUTPUT 714 DISP RFG Display the RF Generator screen OUTPUT 714 RFG FREQ 850 MHZ Set the RF Gen Freq to 850 MHz OUTPUT 714 RFG OUTP DUPL Set the Output Port to Duplex OUTPUT 714 DISP AFAN Display the AF Analyzer screen OUTPUT 714 AFA...

Страница 48: ...urement is very similar to the method used to read a field setting 1 Use the DISPlay command to access the screen containing the desired measurement 2 Use the MEASure form of the syntax for that measurement to place the measured value into the Test Set s output buffer 3 Enter the value into the correct variable type within the program context refer to chapter 4 HP IB Commands for proper variable t...

Страница 49: ... listed in table 3 are programmable through HP IB Table 3 Non Programmable Front Panel Functions Function Comment ON OFF Power Switch Volume Control Knob Squelch Control Knob The position of the Squelch Control knob cannot be programmed How ever squelch can be programmed to either the Open or Fixed position Refer to the Test Set s User s Guide for more information Cursor Control Knob SHIFT Key CAN...

Страница 50: ... functions that the Test Set implements are listed in table 4 Table 4 Test Set IEEE 488 1 Interface Function Capabilities Function Capability Talker T6 No Talk Only Mode Extended Talker T0 No Extended Talker Capability Listener L4 No Listen Only Mode Extended Listener LE0 No Extended Listener Capability Source Handshake SH1 Complete Capability Acceptor Handshake AH1 Complete Capability Remote Loca...

Страница 51: ...B bus address is set using the HP IB Adrs field which is located on the I O CONFIGURE screen To set the HP IB bus address select the I O CONFIGURE screen and position the cursor next to the HP IB Adrs field The address can be set from decimal 0 to 30 using the numeric DATA keys or by pushing and then rotating the Cursor Control knob There are no DIP switches for setting the HP IB bus address in th...

Страница 52: ...orner of the display screen when the Test Set is in remote mode All front panel keys are disabled except for the LOCAL key POWER switch Volume control and Squelch control knobs When the Test Set enters remote mode the output signals and internal settings remain unchanged except that triggering is reset to the state it was last set to in remote mode Refer to Trigger ing Measurements on page 228 REN...

Страница 53: ...l be true logic 1 if the Test Set has sent the SRQ message SPE SPD STB MTA Status Bit No The Test Set does not have the capability to respond to a Parallel Poll PPE PPD PPU PPC IDY Clear Yes This message clears the Input Buffer and Output Queue clears any commands in process puts the Test Set into the Operation Complete idle state and prepares the Test Set to receive new commands The Device Clear ...

Страница 54: ...ns currently in effect in the instrument The Test Set responds equally to the Group Execute Trig ger GET bus command or the TRG Common Com mand GET MLA Take Control Yes The Test Set begins to act as the Active Controller on the bus TCT MTA Abort Yes The Test Set stops talking and listening IFC Table 5 Test Set IEEE 488 1 Interface Message Capability Continued Message Type Implemented Response IEEE...

Страница 55: ...Riggering When the Test Set is being addressed to Listen or Talk the L or T annunciators will be displayed in the upper right corner of the display screen Local Mode In Local mode the Test Set s front panel controls are fully operational The Test Set uses FULL SETTling and REPetitive RETRiggering in Local mode When the Test Set is being addressed to Listen or Talk the L or T annunciators will be d...

Страница 56: ...obtained If the HP IB trigger mode is RETR SING then a measurement cycle must be started by issuing a trigger event Refer to Triggering Measurements on page 228 for more information Remote To Local Transitions The Test Set switches from Remote to Local mode upon receipt of the Local message Go To Local bus message is sent and Test Set is addressed to listen or receipt of the Clear Lockout Set Loca...

Страница 57: ... panel keys NOTE Return to Local mode can also be accomplished by setting the POWER switch to OFF and back to ON However returning to Local mode in this way has the following disadvantages 1 It defeats the purpose of the Local Lockout mode in that the Active Controller will lose control of the test set 2 Instrument configuration is reset to the power up condition thereby losing the instrument conf...

Страница 58: ...58 Chapter 1 Using HP IB Remote Local Modes ...

Страница 59: ...59 2 Methods For Reading Measurement Results ...

Страница 60: ...eturns a valid measurement result If for some reason the Test Set does not return a measurement result the control program becomes hung on the ENTER statement and program execution effectively stops In order to prevent the control program from becoming hung programmers usually enclose the operation with some form of timeout function The form of the timeout will of course depend upon the programmin...

Страница 61: ...Test Set to regain manual or programmatic control There are a variety of programming constructs which can be used to implement this technique In the programming examples presented a function call is implemented which returns a numeric measurement result The function call has two pass parameters the query command passed as a quoted string and a time out value passed as a integer number The time out...

Страница 62: ...refer to the HP BASIC MAV Bit Example Program The measurement result timeout value is defined to mean the amount of time the control program is willing to wait for the Test Set to return a valid measurement result to the control program Lines 10 thru 230 in this example set up a measurement situation to demonstrate the use of the recommended technique The recommended technique is exampled in the M...

Страница 63: ... of the function call 170 180 IF Measure_result 9 E 99 THEN 190 PRINT Measurement failed 200 ELSE 210 PRINT Power Measure_result 220 END IF 230 END 240 250 Recommended Technique 260 270 DEF FNMeasure Query_command Time_out_value 280 COM Io_names INTEGER Inst_addr Bus_addr 290 DISABLE 300 ON TIMEOUT Bus_addr Time_out_value RECOVER Timed_out 310 OUTPUT Inst_addr TRIG MODE RETR SING TRIG IMM 320 OUTP...

Страница 64: ...function will not be exited until it is finished 300 Set up a timeout for any I O activity on the HP IB This will allow the function to recover if the bus hangs for any reason 310 Set the triggering mode to single followed by a trigger immediate command This ensures that a new measurement cycle will be started when the TRIG IMM command is sent This sequence that is set to single trigger and then s...

Страница 65: ...ogrammatic control of the Test Set 400 Command the Test Set to abort the currently executing measurement cycle Set the trigger mode back to repetitive retriggering Setting the Test Set back to repetitive retriggering will be implementation dependent 410 Re enable event initiated branching If any event initiated branches were logged while the Measure function was executing they will be executed whe...

Страница 66: ...termine when there is data in the Output Queue A polling loop is used to query the Status byte The timeout duration for returning the measurement result is handled by the polling loop An HP IB interface activity timeout is also set up to handle time outs resulting from problems with the HP IB interface Lines 10 thru 230 in this example set up a measurement situation to demonstrate the use of the r...

Страница 67: ...INT Measurement failed 200 ELSE 210 PRINT Power Measure_result 220 END IF 230 END 240 250 Recommended Technique 260 270 DEF FNMeasure Query_command Time_out_value 280 COM Io_names INTEGER Inst_addr Bus_addr 290 DISABLE 300 ON TIMEOUT Bus_addr 5 GOTO Timed_out 310 OUTPUT Inst_addr TRIG MODE RETR SING TRIG IMM 320 OUTPUT Inst_addr Query_command 330 Start_time TIMEDATE 340 REPEAT 350 WAIT 1 360 Statu...

Страница 68: ...tion to recover if the bus hangs for any reason The length of the timeout will be implementation dependent 310 Set the triggering mode to single followed by a trigger immediate command This ensures that a new measurement cycle will be started when the TRIG IMM command is sent This sequence that is set to single trigger and then send trigger command guarantees that the measurement result returned t...

Страница 69: ...exceeded If it has the polling loop will be exited 440 The following lines of code handle the case where the request for a measurement result has timed out because the polling loop has completed with no result available 450 Set up a timeout for any I O activity on the HP IB while the control program is trying to regain control of the Test Set This will allow the function to gracefully stop program...

Страница 70: ...n control of the Test Set The actions taken in this section of the code will be implementation dependent For the example case a message is displayed to the operator and the program is stopped 500 Display a message to the operator that the control program cannot regain control of the Test Set 510 Stop execution of the control program Table 7 Comments for Measure Function from MAV Example Program Co...

Страница 71: ...71 3 HP IB Command Guidelines ...

Страница 72: ...mand can be divided into three steps 1 Command is accepted from HP IB and checked for proper structure and parameters 2 Commands is sent to instrument hardware 3 Instrument hardware fully responds after some time t For example in programming the Test Set s RF Signal Generator it takes 150 ms after receipt of the frequency setting command for the output signal to be within 100 Hz of the desired fre...

Страница 73: ... an alternate abbreviated form using only upper case letters and in some cases a single numeral The commands are not case sensitive Upper and lower case characters can be used for all commands For example to set the destination of AF Generator 1 to Audio Out any of the following command strings are valid AFGENERATOR1 DESTINATION AUDIO OUT or afgenerator1 destination audio out or afg1 dest audio ou...

Страница 74: ... 102 Syntax Error Using Quotes for String Entries Quotation marks and are used to select a non numeric field setting The value is entered into the command line as a quoted alphanumeric string Quotes are used with all Underlined toggling and One of many menu choice fields See Changing A Field s Setting in chapter 1 of the HP 8921A User s Guide for field type descriptions For example to set the RF G...

Страница 75: ... Output Multiple Commands Multiple commands can be output from one program line by separating the commands with a semicolon The semicolon tells the Test Set s HP IB command parser to back up one level of hierarchy and accept the next command at the same level as the previous command For example on one command line it is possible to 1 access the AF ANALYZER screen 2 set the AF Analyzer s Input to A...

Страница 76: ...Fields The question mark is used to query read back an instrument setting or measurement value To generate the query form of a command place the question mark immediately after the command Queried information must be read into the proper variable type within the program context before it can be displayed printed or used as a numeric value in the program Queried information is returned in the same ...

Страница 77: ...s on page 83 for further information There are three sets of units of measure used in the Test Set Display Units HP IB Units and Attribute Units Writing correct HP IB programs requires an understanding of how the Test Set deals with these different sets of units of measure Display Units DUNits Display Units are the units of measure used by the Test Set to display numeric data field settings and me...

Страница 78: ...llowing command would be used MEAS RFR POW DUN DBM Display Units DUNits Command Example GHz MEAS RFR FREQ ABS DUN GHZ MHz MEAS RFR FREQ ABS DUN MHZ kHz MEAS RFR FREQ ABS DUN KHZ Hz MEAS RFR FREQ ABS DUN HZ ppm MEAS RFR FREQ ERR DUN PPM D MEAS RFR FREQ ERR DUN PCTDIFF V MEAS RFR POW DUN V mV MEAS RFR POW DUN MV mV RFG AMPL DUN UV dBmV RFG AMPL DUN DBUV W MEAS RFR POW DUN W mW MEAS RFR POW DUN MW dB...

Страница 79: ...m V mV dBuV or W All returned characters are in upper case For example if dBuV is displayed DBUV is returned Guidelines for Display Units When querying a field s setting or measurement result through HP IB the Test Set always returns numeric values in HP IB Units or Attribute Units regardless of the field s current Display Units setting The Display Units for a field s setting or measurement result...

Страница 80: ...e Units settings Table 8 lists the HP IB Units used in the Test Set Use the UNITs command to determine the HP IB Units for a measurement result or field setting refer to Reading Back HP IB Units on page 82 for more information Table 8 HP IB Units Parameter Unit of Measure Power Watts W or dBm DBM Amplitude Volts V or dBµV DBUV Frequency Hertz Hz Frequency Error Hertz HZ or parts per million PPM Ti...

Страница 81: ... fields which have changeable HP IB Units For example the following BASIC language program statements change the HP IB Units for the TX Power measurement from W to dBm OUTPUT 714 MEAS RFR POW UNIT DBM Table 9 HP IB Units That Can Be Changed Function Available HP IB Units TX Power measurement W or DBM Adjacent Channel Power LRATio URATio DB or PCT LLEVel ULEVel W or DBM SINAD measurement DB or PCT ...

Страница 82: ... the command string otherwise the current HP IB Unit is assumed by the Test Set For example if the command RFG FREQ 900 is sent through HP IB the Test Set will interpret the data as 900 Hz since HZ is the HP IB Unit for frequency This would result in an Input value out of range error Sending the command RFG FREQ 900 MHZ would set the value to 900 MHz When querying measurements or settings through ...

Страница 83: ...le 10 lists the Attribute Units used in the Test Set Default Data Function Values The majority of measurements made with the Test Set can be made using the Data Functions REF SET METER AVG HI LIMIT and LO LIMIT Measurements which can be made using the Data Functions have a black bubble with the comment See Number Measurement Syntax in their syntax path If one or more of the Data Functions are not ...

Страница 84: ...ibute units are PCT The number of Averages is 10 The Average state is 0 The Reference value is 1 The Reference Display units are PCT The Reference state is 0 The High Limit is 0 The High Limit Display units are PCT The High Limit state is 0 The Low Limit is 0 The Low Limit Display units are PCT The Low Limit state is 0 The Meter state is 0 The Meter high end setting is 10 The Meter high end Displa...

Страница 85: ...nt the Test Set verifies that all Data Function values can be properly converted from the current unit of measure to the new unit of measure The following Data Function settings are checked the Reference value the High Limit the Low Limit the Meter s high end setting the Meter s low end setting the Meter s interval Table 11 Measurements with Attribute Units That Can Be Changed Function Available A...

Страница 86: ...of the Data Function values listed above is set to zero If this error is encountered the programmer must change the Data Function settings to values that can be converted to the new units of measure before sending the AUNits command to the Test Set For example the following BASIC language program statements 1 reset the Test Set 2 set the Data Function default zero values to non zero values 3 set t...

Страница 87: ...alue into variable Ref_set_val ENTER 714 Ref_set_val Query the HIgh LIMIT value OUTPUT 714 MEAS AFR DIST HLIM VAL Read the HIgh LIMIT value into variable Hi_limit_val ENTER 714 Hi_limit_val Query the LOw LIMIT value OUTPUT 714 MEAS AFR DIST LLIM VAL Read the LOw LIMIT value into variable Lo_limit_val ENTER 714 Lo_limit_val Query the Meter Hi End value OUTPUT 714 MEAS AFR DIST MET HEND Read the Met...

Страница 88: ...ion REFerence SET level Query the REFerence SET value for the Distortion measurement OUTPUT 714 MEAS AFR DIST REF VAL Read the REFerence SET value into variable Ref_set_val ENTER 714 Ref_set_val Query the Attribute Units setting for the Distortion measurement OUTPUT 714 MEAS AFR DIST AUN Read the Attribute Units setting into string variable Atribute_set ENTER 714 Atribute_set Print out the variabl...

Страница 89: ...EFerence METer HLIMit and LLIMit through HP IB the Test Set always returns numeric values in Attribute Units regardless of the current Display Units or HP IB Units settings Numeric values are expressed in scientific notation For example if the REF SET measurement function is displayed as 25 on the Test Set the value returned through HP IB is 2 50000000E 001 2 5 101 Converting the returned value to...

Страница 90: ... ON Use 0 or OFF to turn measurements instrument functions or data functions OFF For example the following BASIC language statements illustrate the use of the STATe command to turn several measurements instrument functions and data functions ON and OFF Turn off FM source AFG1 OUTPUT 714 AFG1 FM STAT OFF Turn off REFerence SET data function OUTPUT 714 MEAS AFR DISTN REF STAT OFF Turn off TX Power m...

Страница 91: ...wer measurement Query the state of the TX Power measurement OUTPUT 714 MEAS RFR POW STAT ENTER 714 State_on_off IF State_on_off 1 THEN DISP TX Power Measurement is ON IF State_on_off 0 THEN DISP TX Power Measurement is OFF STATe Command Guidelines Measurements that are displayed as numbers or as analog meters using the METER function can be turned on and off The data functions REFerence METer HLIM...

Страница 92: ...e Test Set 120 OUTPUT Dut DISP DUPL Display the DUPLEX TEST screen 130 OUTPUT Dut RFG AMPL 14 DBM Set RF Gen Amptd to 14 dBm 140 OUTPUT Dut AFAN INP FM Demod 150 Set AF Analyzer s input to FM Demod 160 OUTPUT Dut AFAN DET Pk Max 170 Set AF Analyzer s detector to Peak Max 180 The following trigger guarantees the instrument will auto tune 190 and auto range to the input signal before measuring 200 O...

Страница 93: ...0 kHz dev center screen and 4 kHz dev top 430 of screen Leave the next three lines for external control or 440 comment them out for IBASIC Test Set stand alone control 450 460 PLOTTER IS CRT 98627A 470 Your display may have a different specifier 480 GRAPHICS ON Enable graphics to plot the waveform 490 WINDOW 0 399 0 179 500 510 PEN 1 Turn on drawing pen 520 MOVE 0 89 5 Trace 0 4000 89 5 530 FOR I ...

Страница 94: ...94 Chapter 3 HP IB Command Guidelines Guidelines for Operation ...

Страница 95: ...95 4 HP IB Commands ...

Страница 96: ... page 114 AFG2 LTR page 117 AFG2 MPT1327 page 119 AFG2 NAMPs page 109 AFG2 NMT page 115 AFG2 NTACs page 109 AFG2 TACS page 107 AFG2 TSEQuential page 114 Adjacent Channel Power ACP page 99 Call Process CALLP page 126 Decoder DEC page 145 DEC AMPS page 147 DEC CDCSs page 147 DEC DPAGing page 147 DEC DTMF page 147 DEC EDACs page 146 DEC FGENerator page 147 DEC LTR page 148 DEC MPT1327 page 148 DEC NA...

Страница 97: ...rams Measure MEAS page 151 Trigger TRIG page 177 Measurement Command Number Setting Syntax Diagrams Number Measurement Syntax page 181 Multiple Number Measurement Syntax page 183 Instrument Function Syntax Diagrams Configure and I O Configure CONF page 121 Display DISP page 149 Program PROG page 163 Save Recall Registers REG page 164 Status STAT page 172 System SYS page 173 Tests TEST page 174 HP ...

Страница 98: ...required they are indicated by a hexagon with the word space in it otherwise no spaces are allowed between statement elements string Returns quoted string Field Name Does not included the STATe command CDCSs CODE space RATE See Real Number Setting Syntax AFGenerator2 Root Element Indicates the name of the display screen s field that is controlled by this command element Directs the user to a speci...

Страница 99: ...MEASurement CBAN See Real Number Setting Syntax Does not include the STATe command Channel BW COFFset See Real Number Setting Syntax Does not include the STATe command Ch Offset ACP Meas space 300 Hz 1 kHz Returns quoted string RBANdwidth Res BW space Unmod Mod Returns quoted string RMODulation Carrier Ref ...

Страница 100: ...100 Adjacent Channel Power ACP ...

Страница 101: ...uoted string CURRent space 750 uS Off Returns quoted string DEMPhasis Audio In Lo AFAN continued ZERO GAIN space RMS RMS SQRT2 PK PK PK 2 PK MAX PK HOLD PK HOLD PK 2 Hd PK MX Hd Returns quoted string DETector space Filters De Emp Returns quoted string PKLocation space Fast Slow Returns quoted string SETTling De Emp Gain Pk Det To ...

Страница 102: ...ce FM Demod AM Demod SSB Demod Audio In Radio Int Ext Mod Mic Mod FM Mod AM Mod Audio Out Returns quoted string INPut AF Anl In Input Gain ELResistor See Real Number Setting Syntax Does not include the STATe command space 300Hz LPF 3kHz LPF 15kHz LPF 99kHz LP Optional Filters Returns quoted string FILTer2 GTIMe See Real Number Setting Syntax Does not include the STATe command ...

Страница 103: ...STATe command space 0 dB 10 dB 20 dB 30 dB 40 dB Returns quoted string GAIN space Auto Hold Returns quoted string RANGing space De Emp Filters Input Notch Returns quoted string SMPoint Scope To SPEaker space On Off Returns quoted string MODE space Pot Off Returns quoted string VOLume Speaker ALC ...

Страница 104: ...deviation when DESTination set to FM OUTPut sets amplitude when DESTination set to Audio Out FREQuency sets modulation rate when DESTination set to AM FM FREQuency sets audio outputfrequency when DESTination set to Audio Out space AM FM Audio Out Returns quoted string AFGenerator1 DESTination AFGen1 To AM See Real Number Setting Syntax FREQuency See Real Number Setting Syntax Does not include the ...

Страница 105: ...N command must be executed first to override default settings Filter Mode OFF is the power up default state The following error will occur if the user attempts to select an alternate filter without first setting the Filter Mode to ON Entry not accepted Auto entries take precedence The syntax to change or query the premodulation filter is shown below AFG2 FILTER MODE ON OFF select one AFG2 FILTER M...

Страница 106: ...Setting Syntax Does not include the STATe command BURSt See IntegerNumber Setting Syntax INCRement command only FM See Real Number Setting Syntax space Func Gen Tone Seq DTMF CDCSS Digi Page AMPS TACS NAMP NTACS NMT MPT 1327 LTR EDACS Returns quoted string MODE STOP space On Off Returns quoted string PEMPhasis space Norm Invert Returns quoted string POLarity AFG2 continued OUTPut See Real Number S...

Страница 107: ... quoted string CHANnel space Mobile Cell Returns quoted string DUTest AMPS TACS DELay See IntegerNumber Setting Syntax INCRement command only B I Delay FM See Real Number Setting Syntax LEVel See Real Number Setting Syntax RATE See Real Number Setting Syntax Does not include the STATe command DATA 1 1 1 DATA 1 FILLer DATA 2 STOP SEND space string Returns quoted string AFGenerator2 ENCoder AFG2 con...

Страница 108: ...Dard AFG2 continued FVCMessage space string Returns quoted string DATA 1 MESSage DATA 2 space string Returns quoted string AM See Real Number Setting Syntax FM See Real Number Setting Syntax LEVel See Real Number Setting Syntax FREQuency See Real Number Setting Syntax Does not include the STATe command SAT 1 1 1 AMPS TACS AFGenerator2 ENCoder ...

Страница 109: ...quoted string CHANnel AFG2 continued NAMPs NTACs DELay See IntegerNumber Setting Syntax INCRement command only FM See Real Number Setting Syntax LEVel See Real Number Setting Syntax RATE See Real Number Setting Syntax Does not include the STATe command FOCC DATA 1 FILLer DATA 2 STOP SEND MESSage space string Returns quoted string space string Returns quoted string Data Level Data Rate AFG2 NAMP Co...

Страница 110: ...pace string Returns quoted string AM See Real Number Setting Syntax FM See Real Number Setting Syntax LEVel See Real Number Setting Syntax RATE See Real Number Setting Syntax Does not include the STATe command FVC MESSage space string Returns quoted string space Message DST Returns quoted string SEND ...

Страница 111: ...mber Setting Syntax Does not include the STATe command DTMF SEQuence space string Returns quoted string See Real Number Setting Syntax Does not include the STATe command space Bell Returns quoted string STANdard OFFTime See Real Number Setting Syntax Does not include the STATe command ONTime See Real Number Setting Syntax Does not include the STATe command TWISt See Real Number Setting Syntax Does...

Страница 112: ...Error Bit FUNCtion See Integer Number Setting Syntax space Tone Only ToneVoice Numeric Apha Num Returns quoted string TYPE MLENgth See Integer Number Setting Syntax Mssg Length Pager Type Pager Code AFG2 continued AFG2 DPAG Continued On Next Page MESSage space string Returns quoted string Pager Numeric Message NMESsage Pager Alpha Numeric Message ...

Страница 113: ...ing RATE See Real Number Setting Syntax Does not include the STATe command POC MESSage space string Returns quoted string Pager Numeric Message NMESsage Pager Alpha Numeric Message space Tone Only ToneVoice Numeric Apha Num Returns quoted string TYPE Pager Type space 00 01 10 11 Returns quoted string FUNCtion POCSAG ...

Страница 114: ... Returns quoted string SUNits Sine Units TSEQuential Tone Seq Symbol Sequence Func Gen space Sine Square Triangle Ramp Ramp DC DC Uni Noise Gau Noise Returns quoted string WAVeform FREQuency See Multiple Real Number Setting Syntax OFFTime See Multiple Real Number Setting Syntax ONTime See Multiple Real Number Setting Syntax space CCIR1 CCIR2 CCITT EEA EIA Euro NATEL ZVEI1 ZVEI2 Returns quoted stri...

Страница 115: ...nt Alarm Level ALEVel HIGH LOW See Integer Number Setting Syntax ANUMber Area BSAVe MCHannel MFSTrength PSIGnal TCINfo Meas Field Strenght See Integer Number Setting Syntax Batt Save Meas Ch Phi Signal CHANnel CALLing ACCess See Integer Number Setting Syntax TRAFfic POWer NUMber ALTernate MAIN POWer NUMber AFG2 continued AFG2 NMT Continued On Next Page See Integer Number Setting Syntax ...

Страница 116: ...Traffic Area TARea MAIN ALTERnate See Integer Number Setting Syntax space STD450 STD900 BENELUX FRANCE AUSTRIA SPAIN TURKEY THAILAND MALAYSIA SAUDI1 SAUDI2 CRO SLOV HUNGARY BULGARIA Returns quoted string STANdard RATE See Real Number Setting Syntax Does not include the STATe command AFG2 continued ...

Страница 117: ... FREE2 GOTO1 GOTO2 HOME1 See Integer Number Setting Syntax HOME2 ID1 ID2 AFG2 continued RATE See Real Number Setting Syntax Does not include the STATe command space Message1 Message2 Returns quoted string MESSage LTR Message Data Rate space LTR Returns quoted string STANdard ...

Страница 118: ...Setting Syntax Working Channel space RX Frequency WKRX See Real Number Setting Syntax Does not include the STATe command space TX Frequency WKTX See Real Number Setting Syntax Does not include the STATe command space Valid range 1 to 16382 LGID See Integer Number Setting Syntax Logical ID space Valid range 1 to 2048 GPID See Integer Number Setting Syntax Group ID space Valid range 0 to 32 SID See ...

Страница 119: ...ax Aloha Number IDENtity See Integer Number Setting Syntax CHANnel CONTrol See Integer Number Setting Syntax TRAFfic NUMber ALOHa See Integer Number Setting Syntax Address Qualifier QUALifier See Integer Number Setting Syntax RDELay See Integer Number Setting Syntax SYNC See Integer Number Setting Syntax SYNT See Integer Number Setting Syntax AFG2 MPT1327 Continued On Next Page ...

Страница 120: ... MPT1327 Returns quoted string STANdard space Off Control Traffic 1200Hz 1800Hz Dotting Returns quoted string TMODe Test Mode space integer FILLer CLEAR DATA RESet UPDATe space integer string 1 2 1 space integer MESSage CLEAR DATA RESet space integer string 1 2 1 TRAFfic CONTrol Valid range 1 to 32 Valid range 1 to 32 ...

Страница 121: ...TX Cntl RF Offset See Real Number Setting Syntax Does not include the INCRement or STATe commands OFRequency Gen Anl space AFGen1 None Returns quoted string NOTChmode Notch Coupl INTensity See Integer Number Setting Syntax space Off Quiet Loud Returns quoted string BEEPer HP IB Adrs BADDress See Integer Number Setting Syntax space Control Talk Lstn Returns quoted string BMODe HP IB Mode Does not i...

Страница 122: ...RINt Print Configure Screen ADDRess See Integer Number Setting Syntax space Serial HPIB Parallel Returns quoted string DESTination FFSTart FF at end Print Port FF at start LINEs LINes See Integer Number Setting Syntax space ThinkJet QuietJet PaintJet DeskJet LaserJet Epson FX 80 Epson LQ 850 Returns quoted string PRINter Model HPMOdel HPModel TITLe space string Returns quoted string CONF continued...

Страница 123: ...e commands RFINout RF In Out See Real Number Setting Syntax Does not include the STATe commands DUPLex Duplex Out See Real Number Setting Syntax Does not include the STATe commands ANTenna Antenna In space 50 ohm emf Returns quoted string RFIMpedance RX TX Cntl space Carrier PTT Returns quoted string RTSWitching RX TX Cntl space INTERNAL CARD RAM DISK Returns quoted string SRLocation ...

Страница 124: ...rns quoted string BAUD Serial Baud CONF continued space None Odd Even Always 1 Always 0 Returns quoted string PARity space 7 Bits 8 Bits Returns quoted string DATA Data Length space 1 Bit 2 Bits Returns quoted string STOP Stop Length space Xon Xoff None Returns quoted string RPACe XPACe SPA Port A ...

Страница 125: ...t Echo space None Odd Even Always 1 Always 0 Returns quoted string PARity space 7 Bits 8 Bits Returns quoted string DATA Data Length space 1 Bit 2Bits Returns quoted string STOP Stop Length space Xon Xoff None Returns quoted string RPACe XPACe space Inst IBASIC Returns quoted string SINPut Serial In See Real Number Setting Syntax Does not include the DUNits INCRement UNITs or STATe commands TIME ...

Страница 126: ...E HANDoff RELease space STD BITS Returns quoted string DSPecifer Display Data Spec CCHannel See IntegerNumber Setting Syntax Range 1 to 1023 VCHannel See IntegerNumber Setting Syntax Range 1 to 1023 SIDentify See IntegerNumber Setting Syntax Range 1 to 4094 AMPLitude See Real Number Setting Syntax Range 18 to 137 dBm SID Chan Cntrl Chan System Type CALLP continued ...

Страница 127: ... quoted string SATone space PHONE NUM MIN2 MIN1 Returns quoted string NMODe Phone Num MS Id CMAXimum See IntegerNumber Setting Syntax Range 1 to 4049 VMACode See IntegerNumber Setting Syntax Range 0 to 7 Pwr Lvl CMAX SAT CPRocess CALLP space 9 characters max Returns quoted string MINumber Min CALLP continued ...

Страница 128: ...Alert Returns quoted string ORDer Order CPRocess CALLP space SPC WORD1 SPC WORD2 ACCESS REG INC REG ID C FILMESS MS WORD1 MSMessOrd MS IntVCh FVC O Mes FVC V Mes Returns quoted string MESSage Set Message space RECCW A RECCW B RECCW C RECCW D RECCW E RVCORDCON Returns quoted string DATA Display Word CALLP continued ...

Страница 129: ... string AVCNumber Returns quoted string AVCPower Returns quoted string AVCSat Returns quoted string RECA Pwr Lvl SAT Word A F FWORD Returns quoted string NAWComing Returns quoted string T TFIeld Returns quoted string S SERial Returns quoted string E EXTended Returns quoted string RSVD REServed Returns quoted string SCMark Returns quoted string MINumber Returns quoted string PARity Returns quoted s...

Страница 130: ...tring ORDer Returns quoted string LT LTRY Returns quoted string MINumber Returns quoted string PARity Returns quoted string F NAWC Local ORDQ Order MIN1 Parity LT RECC Word C F FWORD Returns quoted string NAWComing Returns quoted string SERial Returns quoted string PARity Returns quoted string F NAWC Serial Parity CALLP continued RSVD REServed Returns quoted string ...

Страница 131: ...DIG2 DIGIT2 Returns quoted string PARity Returns quoted string F NAWC Dig 1 Dig 2 Parity DIG3 DIGIT3 Returns quoted string Dig 3 DIG4 DIGIT4 Returns quoted string Dig 4 DIG5 DIGIT5 Returns quoted string Dig 5 DIG6 DIGIT6 Returns quoted string Dig 6 DIG7 DIGIT7 Returns quoted string Dig 7 DIG8 DIGIT8 Returns quoted string Dig 8 CALLP continued ...

Страница 132: ...T10 Returns quoted string PARity Returns quoted string F NAWC Dig 9 Dig 10 Parity DIG11 DIGIT11 Returns quoted string Dig 11 DIG12 DIGIT12 Returns quoted string Dig 12 DIG13 DIGIT13 Returns quoted string Dig 13 DIG14 DIGIT14 Returns quoted string Dig 14 DIG15 DIGIT15 Returns quoted string Dig 15 DIG16 DIGIT16 Returns quoted string Dig 16 CALLP continued ...

Страница 133: ...s quoted string NAWComing Returns quoted string LOCal Returns quoted string ORDQualifier Returns quoted string ORDer Returns quoted string PARity Returns quoted string F NAWC Local ORDQ Order Parity T TFIeld Returns quoted string T RSVD REServed Returns quoted string RSVD CALLP continued ...

Страница 134: ...s required Returns quoted string SPC Word 1 space 14 chars required Returns quoted string SIDentify SID1 RSVD RSVD REServed space 3 chars required Returns quoted string space 4 chars required Returns quoted string NAWComing NAWC space 3 chars required Returns quoted string OVERhead OHD Returns quoted string PARity Parity CALLP continued ...

Страница 135: ...Home RHOMe space 1 char required Returns quoted string REGR REGRoam RROam space 1 char required Returns quoted string space 2 chars required Returns quoted string DTX DTX N 1 NPAGe Nfield space 5 chars required Returns quoted string space 1 char required Returns quoted string RCFiller RCF CPA CPACcess CPA space 1 char required Returns quoted string space 7 chars required Returns quoted string CMAX...

Страница 136: ...ring ACCESS Returns quoted string PARity Parity ACT ACTion space 4 chars required Returns quoted string BIS BIS BISTate space 1 char required Returns quoted string RSVD RSVD REServed space 15 chars required Returns quoted string space 1 char required Returns quoted string END END space 3 chars required Returns quoted string OVERhead OHD CALLP continued ...

Страница 137: ...ring REG INC Returns quoted string PARity Parity ACT ACTion space 4 chars required Returns quoted string RSVD RSVD REServed space 4 chars required Returns quoted string space 1 char required Returns quoted string END END space 3 chars required Returns quoted string OVERhead OHD REGINCR RINCrement space 12 chars required Returns quoted string CALLP continued ...

Страница 138: ...PE T1T2 DCCode DCC space 2 chars required Returns quoted string REG ID Returns quoted string PARity Parity REGID IDENtify REGID space 20 chars required Returns quoted string space 1 char required Returns quoted string END END space 3 chars required Returns quoted string OVERhead OHD CALLP continued ...

Страница 139: ...ESERVED1 space 2 chars required Returns quoted string space 1 char required Returns quoted string WFOMessage space 3 chars required Returns quoted string OVERhead OHD space 3 chars required Returns quoted string CMACode CMAC F2 FIELD2 F2 space 2 chars required Returns quoted string RSVD2 RSVD2 RESERVED2 space 2 chars required Returns quoted string F3 FIELD3 F3 space 1 char required Returns quoted ...

Страница 140: ...red Returns quoted string CPRocess CALLP MSWord T1T2 TYPE T1T2 DCCode DCC space 2 chars required Returns quoted string MS WORD 1 Returns quoted string PARity Parity space 24 chars required Returns quoted string MINumber MIN1 CALLP continued ...

Страница 141: ...MSMessOrd Returns quoted string PARity Parity RSVD RSVD REServed space 1 char required Returns quoted string space 5 chars required Returns quoted string LOCal Local space 3 chars required Returns quoted string ORDQualifier ORDQ space 10 chars required Returns quoted string MINumber MIN2 space 5 chars required Returns quoted string ORDer Order CALLP continued ...

Страница 142: ...T1T2 SCCode SCC space 2 chars required Returns quoted string MS IntVCh Returns quoted string PARity Parity space 11 chars required Returns quoted string CHANnel Chan space 10 chars required Returns quoted string MINumber MIN2 space 3 chars required Returns quoted string VMACode VMAC CALLP continued ...

Страница 143: ... FVC O Mes Returns quoted string PARity Parity RSVD RSVD REServed space 9 char required Returns quoted string space 5 chars required Returns quoted string LOCal Local space 3 chars required Returns quoted string ORDQualifier ORDQ space 2 chars required Returns quoted string PSCCode PSCC space 5 chars required Returns quoted string ORDer Order CALLP continued ...

Страница 144: ...2 chars required Returns quoted string FVC VMes Returns quoted string PARity Parity RSVD RSVD REServed space 8 char required Returns quoted string space 3 chars required Returns quoted string VMACode VMAC space 2 chars required Returns quoted string PSCCode PSCC space 11 chars required Returns quoted string CHANnel Chan ...

Страница 145: ...command DECoder space Single Cont Returns quoted string ARM space Func Gen Tone Seq DTMF CDCSS Digi Page AMPS TACS NAMP NTACS NMT MPT 1327 LTR EDACS Returns quoted string MODE STOP space Norm Inver Returns quoted string POLarity DEC continued MODE AM LEVel See Real Number Setting Syntax Does not include the STATe command FM See Real Number Setting Syntax Does not include the STATe command VOLTs ...

Страница 146: ...ring GATE See Real Number Setting Syntax Does not include the STATe command Gate Time DTMF GATE See Real Number Setting Syntax Does not include the STATe command space DSAT Data DTMF Returns quoted string RVC Measure EDACs space Radio Repeater Returns quoted string DISPlay space 9600 4800 Returns quoted string STANdard DEC continued space 2 slots 3 slots 5 slots 8 slots Returns quoted string DELay...

Страница 147: ...ted string STANdard Measure DEC continued space FOCC A B FOCC A FOCC B RECC FVC RVC Returns quoted string MESSage Trigger Pattern bin CDCSs FGENerator DTMF GATE See Real Number Setting Syntax Does not include the STATe command Does not include INCRement command BLOCKs See Integer Number Setting Syntax space GSC POCSAG Returns quoted string STANdard DPAGing GATE See Real Number Setting Syntax Does ...

Страница 148: ...ing Syntax Does not include the STATe command space LTR Returns quoted string STANdard LTR space CCIR1 CCIR2 CCITT EEA EIA Euro NATEL ZVEI1 ZVEI2 Returns quoted string STANdard space SLOT RESPONSE Returns quoted string MODE MPT1327 TIME space Radio Repeater Returns quoted string DISPlay ...

Страница 149: ...r AFANalyzer CANanlyzer CBIT CCNFigure CDANalyzer ACPower CDATa CDMAtest CGENerator CMEasure CONFigure DECoder DUPLex ENCoder HELP IOConfigure MESSage OSCilloscope PCONfigure PDCtest RFANalyzer RFGen RINTerface RX SANalyzer SERVice TCONfigure Returns current screen ...

Страница 150: ...150 Display DISPlay space TDMA test TESTs TFReq THLP TIBasic TMAKe TPARm TPRint TSEQn TSPec Returns current screen TX ...

Страница 151: ... SINAD Distn SNR AF Freq DC Level Current Returns quoted string URATio LLEVel ULEVel Returns real value See Number Measurement Syntax RESet ACPower DISTN Returns real value See Number Measurement Syntax AFRequency DISTortion DCAM AM ACLevel DCFM DCVolts CURRent FM FREQuency SINAD SNR SELect ...

Страница 152: ...Measurement Syntax OSCilloscope LEVel TIME AM FM VOLTs Returns 417 real value FREQuency Returns real value See Number Measurement Syntax RFRequency POWer ABSolute ERRor MARKer Returns real value See Number Measurement Syntax SANalyzer FREQuency LEVel TRACe Returns 417 real value Does not include the METer command ...

Страница 153: ...l value See Number Measurement Syntax CDCSs RATE BITS CODes AMPS TACS CDATA CDATa NBITs DATA Returns quoted string Does not include the METer command Returns real value See Number Measurement Syntax DPAGing RATE DATA Returns quoted string Does not include the METer command Returns quoted string ...

Страница 154: ...ERRor Returns up to 19 real values See Multiple Number Measurement Syntax Returns up to 19 real values See Multiple Number Measurement Syntax TIME ON OFF space Freq Frq Err Returns quoted string DISPlay Returns quoted string SYMBol MEAS DEC Continued On Next Page ...

Страница 155: ...ultiple Number Measurement Syntax Returns up to 17 real values See Multiple Number Measurement Syntax TIME ON OFF space Freq Frq Err Returns quoted string DISPlay Returns quoted string SYMBol MEAS DEC Continued On Next Page NTACs DTMF Returns integer value NBITs DSAT Returns quoted string RECC RVC DATA ...

Страница 156: ...e Number Measurement Syntax NMT Returns integer value NFRames FRAMes ESTatus Returns quoted string Returns integer value Returns quoted string space integer value TSEQuential FREQuency ABSolute ERRor Returns up to 19 real values See Multiple Number Measurement Syntax Returns up to 19 real values See Multiple Number Measurement Syntax TIME ON OFF Returns quoted string SYMBol See Number Measurement ...

Страница 157: ...157 Measure MEASure DECoder LTR RATE DATA Returns real value EDACs Returns quoted string of 74 characters Returns quoted string See Number Measurement Syntax Does not include the METer command DATA ...

Страница 158: ...lloscope measurements see the MEASure command diagram OSCilloscope OSC continued NPEak MARKer PPEak See Real Number Setting Syntax Does not include the STATe command POSition space Main Trigger Marker Returns quoted string CONTrol Peak Peak ...

Страница 159: ...illoscope OSCilloscope space 200 ms 100 ms 50 ms 20 ms 10 ms 5 ms 2 ms 1 ms 500 uS 200 uS 100 uS 50 uS 20 uS 10 uS 5 uS 2 uS 1 uS Returns quoted string SCALe TIME OSC continued OSC SCAL Continued On Next Page ...

Страница 160: ...g SCALe VERTical AM AF Anl In AM Demod space 50 kHz 20 kHz 10 kHz 5 kHz 2 kHz 1kHz 500 Hz 200 Hz 100 Hz 50 Hz 20 Hz 10 Hz Returns quoted string FM AF Anl In FM Demod OSC continued OSC SCAL VERT Continued On Next Page See Real Number Setting Syntax Does not include the STATe command OFFSet ...

Страница 161: ...loscope OSCilloscope space 20 V 10 V 5 V 2 V 1 V 500 mV 200 mV 100 mV 50 mV 20 mV 10 mV 5 mV 2 mV 1 mV 500 uV 200 uV 100 uV 50 uV 20 uV Returns quoted string SCALe VERTical VOLTs AF Anl In Audio In OSC continued ...

Страница 162: ...ng Syntax Does not include the DUNits UNITs STATe or MODe commands DELay space Internal Ext TTL Encoder Returns quoted string SOURce space Cont Single Returns quoted string MODE space Pos Neg Returns quoted string SENSe space Auto Norm Returns quoted string TYPE RESet Internal ...

Страница 163: ... info program EXECute string space CONTinue PAUSe RUN STOP Returns current program state STATe STRing space number value Returns quoted string variable name space variable name WAIT Returns integer value NUMBer space number value Returns quoted string variable name space variable name ...

Страница 164: ...ot check for a duplicate file name when the SAVE command is issued therefore any existing register of the same name will be overwrittren without warning REGister ALL CLEar space integer value or string RECall space integer value or string SAVE space integer value or string 1 ...

Страница 165: ... TX PWR Zero space Auto Hold Returns quoted string MODE See Real Number Setting Syntax Does not include the STATe command FREQuency See Real Number Setting Syntax Does not include the INCRement OR STATe commands GTIMe Tune Freq IF Filter space 15 kHz 230 kHz Returns quoted string IFBW space Peak Sample Returns quoted string DETector space RF In Ant Returns quoted string INPut TX PWR Meas ...

Страница 166: ...FANalyzer Tune Mode space Normal High Returns quoted string SENSitivity space On Off Returns quoted string TKEY space Auto Manual Returns quoted string TMODe space Pot Open Fixed Returns quoted string SQUelch Ext TX Key ...

Страница 167: ...ee Real Number Setting Syntax Does not include the STATe command FREQuency Mod In To space AM Vpk FM Vpk Returns quoted string DESTination space AC DC Returns quoted string COUPling space RF Out Dupl Returns quoted string OUTPut FM Coupling Atten Hold AMPLitude See Real Number Setting Syntax 1 MODulation space AC DC Returns quoted string AOUT Audio Out EXTernal AM See Real Number Setting Syntax FM...

Страница 168: ...2 SEND space Arm Disable Returns quoted string PARallel Returns integer value INPut OUTPut space High Low Returns quoted string STRobe INTerrupt1 Returns Armed or Disabled DATA READ DATA See Integer Number Setting Syntax CONFigure See Integer Number Setting Syntax ...

Страница 169: ...ting Syntax Does not include the STATe command CFRequency space RF In Ant Returns quoted string INPut Input Atten space 1 dB div 2 dB div 10 dB div Returns quoted string DISPlay SCALe space Main RF Gen Marker Auxiliary Returns quoted string CONTrol PEAK NPEak RLEVel Next Peak Ref Level See Real Number Setting Syntax Does not include the STATe command NPLevel EXCurision See Integer Number Setting S...

Страница 170: ...ed string DESTination TGENerator AMPLitude See Real Number Setting Syntax See Real Number Setting Syntax Does not include the STATe command OFRequency Offset Freq space Norm Invert Returns quoted string SWEep Port space A Only A B Returns quoted string NORMalize TRACe Save B SAVE space No Pk Avg Pk Hold Avg 1 Avg 2 Avg 3 Avg 4 Avg 5 Avg 10 Avg 20 Avg 50 Avg 100 Off Returns quoted string MHOLd ...

Страница 171: ...IB Only Commands SPECial TOTALUSERRAM Returns integer string RAMFORIBASIC Returns integer string RAMDISKALLOC Returns integer string SAVEREGALLOC Returns integer string RELAYCOUNT Returns an array of 7 numbers seperated by commas ...

Страница 172: ...us Status STATus PRESet EVENt Returns integer value CONDition ENABle NTRansition PTRansition CALibration HARDware1 HARDware2 OPERation QUEStionable COMMunicate CALLProc space integer value Returns integer value ...

Страница 173: ...173 System System SYSTem ERRor Returns integer value quoted string ...

Страница 174: ...ing Comment for new procedure Comment for new procedure string string string External Devices EXECution Port B space Crt Printer Returns quoted string DESTination space Continue Stop Returns quoted string FAILure space All Failures Returns quoted string RESults space Continuous Single Step Returns quoted string RUN TEST continued HEADing1 HEADing2 space string Returns quoted string ...

Страница 175: ...uoted string TEST continued string string real number string AUTOstart AUTostart RUNTest RUN space RAM ROM Card Disk Returns quoted string LOCation NAME space string Returns quoted string NUMBer space integer value PARAmeter PARameter real number space integer value Returns unquoted string 2 elements seperated by commas STRing space space real number string string LIBRary Returns unquoted string 3...

Страница 176: ...s space space string integer value integer value NUMBer SPEC Returns unquoted string 4 elements seperated by commas space space integer value integer value real value real value Upper Lower Both None STRing Returns unquoted string 4 elements seperated by commas space space real value real value string string ...

Страница 177: ...177 Trigger Trigger TRIGger RETRigger MODE IMMediate space FAST FULL Returns FAST or FULL SETTling space REPetitive SINGle Returns REP or SING ABORt ...

Страница 178: ... Setting Syntax Integer Number Setting Syntax INCRement Previous Syntax Returns integer value space integer value Returns real value space UP DOWN B Binary integer value O Octal integer value H Hexidecimal integer value ...

Страница 179: ...N or LOG space LINear LOGarithm Previous Syntax Returns real value space real value units Returns units space units Returns real value space value units DUNits Returns units space units DIVide MULTiply UNITs Returns HP IB units space HP IB units STATe Returns 1 or 0 space 1 ON 0 OFF UP DOWN ...

Страница 180: ...s units space units Returns real value space real value units DUNits Returns units space units DIVide MULTiply UNITs Returns HP IB units space HP IB units UP DOWN integer value space integer value integer value space integer value integer value space integer value integer value space integer value integer value space integer value space integer value space integer value integer value space integer...

Страница 181: ...s units space units STATe Returns 1 or 0 space 1 ON 0 OFF AUNits AVERag Returns real value space real value VALue RESet STATe Returns 1 or 0 space 1 ON 0 OFF HILIMit Returns real value space real value RESet LLIMit DUNits Returns units space units EXCeeded Returns 1 or 0 Continued units VALue Previous Syntax ...

Страница 182: ... OFF METer STATe Returns 1 or 0 space 1 ON 0 OFF REFerence Returns real value space real value DUNits Returns units space units units HEND Returns real value space real value LEND DUNits Returns units space units units INTerval Returns integer value space integer value STATe Returns 1 or 0 space 1 ON 0 OFF VALue STATe ...

Страница 183: ...83 Multiple Number Measurement Syntax Multiple Number Measurement Syntax DUNits Previous Syntax Returns units space units UNITs Returns HP IB units space HP IB units STATe Returns 1 or 0 space 1 ON 0 OFF ...

Страница 184: ... functions are not required for HP IB use and have no equivalent HP IB commands DATA Keys In addition to the numeric keys the DATA keys contain the units of measure keys and the ON OFF YES NO and ENTER keys Setting units of measure through HP IB is described in Specifying Units of Measure for Settings and Measurement Results on page 77 The ON OFF function is described in Using the STATe Command on...

Страница 185: ...l command syntax Guidelines for Using Measurement Data Functions Data Functions are turned ON and OFF for individual measurements The HP IB Data Function commands must immediately follow the HP IB command for the individual measurement For example to turn the AVG Data Function ON for the Audio Frequency Analyzer Distortion measurement the following command string would be sent to the Test Set OUTP...

Страница 186: ...his data function programmatically NOTE Measurement averaging works the same way programmatically as it does manually If the AVG data function is enabled manually and the number of averages is set to ten N 10 the first value displayed is the average of 1 measurement the second value displayed is the average of two measurements the third value displayed is the average of three measurements the tent...

Страница 187: ...rns the AVG Data Function ON for the Audio Frequency Analyzer Distortion measurement To Query the Measurement Averaging State Use the AVERage STAT commands to query the current state of the averaging data function The returned value is either 0 OFF or 1 ON Syntax AVERage STAT Example OUTPUT 714 MEAS AFR DISTN AVER STAT ENTER 714 State_on_off 1 ON 0 OFF This queries the state of the AVG Data Functi...

Страница 188: ...s to set the number of averages used by the averaging algorithm Syntax AVERage VALue Example OUTPUT 714 MEAS AFR DISTN AVER VAL 25 This sets the number of averages to 25 for the AVG Data Function for the Audio Frequency Analyzer Distortion measurement To Query the Number of Averages Use the AVERage VALue commands to query the number of averages used by the averaging algorithm Syntax AVERage VALue ...

Страница 189: ...e used to set these data functions programmatically To Turn High and Low Measurement Limit Checking ON and OFF Use the HLIMit STATe and LLIMit STATe commands to turn high and low measurement limit checking ON and OFF Syntax HLIMit STATe ON HLIMit STATe OFF LLIMit STATe ON LLIMit STATe OFF Example OUTPUT 714 MEAS AFR DISTN HLIM STAT ON OUTPUT 714 MEAS AFR DISTN LLIM STAT ON This turns high and low ...

Страница 190: ... limit checking for the Audio Frequency Analyzer Distortion measurement To Set High and Low Measurement Limits Use the HLIMit VALue and LLIMit VALue commands to set the high and low measurement limit values Syntax HLIMit VALue LLIMit VALue Example OUTPUT 714 MEAS AFR FM HLIM 7 5 KHZ OUTPUT 714 MEAS AFR FM LLIM 2 5 KHZ This sets a high measurement limit of 7 5 kHz and a low measurement limit of 2 5...

Страница 191: ... HP IB Units settings Numeric values are expressed in scientific notation Refer to Attribute Units AUNits on page 83 To Query the Display Units for High and Low Measurement Limits Use the HLIMit DUNits and LLIMit DUNits commands to query the units of measure used to display the high and low measurement limit values Refer to Display Units DUNits on page 77 for description of Display Units Syntax HL...

Страница 192: ...ays returns numeric values in Attribute Units regardless of the current Display Units or HP IB Units settings Numeric values are expressed in scientific notation Refer to Attribute Units AUNits on page 83 To Detect If a Measurement Limit Has Been Exceeded Use the HLIMit EXCeeded and LLIMit EXCeeded commands to detect if a measurement limit has been exceeded The returned value is either 0 NO or 1 Y...

Страница 193: ...Analyzer FM Deviation measurement INCR SET The Increment Set Data Function sets the increment value for real number numeric entry fields The HP IB command INCRement is used to select this data function programmatically To Set the Increment Value Use the INCRement command to set the increment value Syntax INCRement Example OUTPUT 714 RFG FREQ INCR 2 5 MHZ This sets the increment value for the RF Ge...

Страница 194: ...d s current Display Units setting Refer to Attribute Units AUNits on page 83 and HP IB Units UNITs on page 80 To Set the Increment Mode Use the INCRement MODE commands to set the increment mode to linear or logarithmic Syntax INCRement MODE LOGarithm or LINear Example OUTPUT 714 RFG FREQ INCR MODE LOG This sets the increment mode for the RF Generator s frequency to logarithmic To Query the Increme...

Страница 195: ...t Display Units setting Numeric values are expressed in scientific notation Refer to Attribute Units AUNits on page 83 and HP IB Units UNITs on page 80 To Query the Increment Value Display Units Use the INCRement DUNits commands to query the units of measure used to display the increment value Refer to Display Units DUNits on page 77 for description of Display Units Syntax INCRement DUNits Example...

Страница 196: ...sity and Print Adrs have a fixed increment of 1 and cannot be changed Syntax INCRement DIVide Example OUTPUT 714 RFG FREQ INCR DIV If the RF Generator s frequency increment is 10 MHz this command reduces the increment value from 10 MHz to 1 MHz Increment Up Down Arrow Keys The Increment Up Down Arrow Keys Data Functions change the field s setting by one increment value up or down The increment val...

Страница 197: ...d a 0 or OFF to turn the meter off Syntax METer STATe ON or 1 METer STATe OFF or 0 Example OUTPUT 714 MEAS RFR POW MET ON This turns the analog bar graph meter ON for the TX Power measurement To Query the State of the Meter Use the METer STATe commands to query the state of the analog bar graph meter The query returns a 1 if the meter is ON and a 0 if the meter is OFF Syntax METer STATe Example OU...

Страница 198: ... MET INT 5 This sets the number of intervals displayed on the analog bar graph meter for the TX Power measurement To Query the Number of Intervals on the Meter Use the METer INTerval commands to query the number of intervals displayed on the analog bar graph meter Syntax METer INTerval Example OUTPUT 714 MEAS RFR POW MET INT ENTER 714 Num_intervals This queries the number of intervals displayed on...

Страница 199: ...se the current Attribute Unit is assumed by the Test Set Refer to Attribute Units AUNits on page 83 To Query the Meter High End and Low End Points Use the METer HEND and MEter LEND commands to query the analog bar graph meter high endpoint and low endpoint Syntax METer HEND METer LEND Example OUTPUT 714 MEAS RFR POW MET HEND ENTER 714 Meter_hi_end OUTPUT 714 MEAS RFR POW MET LEND ENTER 714 Meter_l...

Страница 200: ...less of the current Display Units or HP IB Units settings Numeric values are expressed in scientific notation To Query the Meter High End and Low End Point Display Units Use the METer HEND DUNits and MEter LEND DUNits commands to query the analog bar graph meter high end point and low end point Display Units Refer to Display Units DUNits on page 77 for description of Display Units Syntax METer HEN...

Страница 201: ...ment reference points off Syntax REFerence STATe ON or 1 REFerence STATe OFF or 0 Example OUTPUT 714 MEAS RFR POW REF STAT ON This turns the measurement reference point for the TX Power measurement ON To Query the State of Measurement Reference Points Use the REFerence STATe commands to query the state of a measurement reference point The query returns a 1 if a measurement reference points is ON a...

Страница 202: ...the current Attribute Unit is assumed by the Test Set Refer to Attribute Units AUNits on page 83 To Query A Measurement Reference Point Use the REFerence VALue commands to query a measurement reference point Syntax REFerence VALue Example OUTPUT 714 MEAS RFR POW REF VAL ENTER 714 Ref_val This queries the measurement reference point for the TX Power measurement NOTE When querying a measurement refe...

Страница 203: ...ts regardless of the current Display Units or HP IB Units settings Numeric values are expressed in scientific notation To Query Measurement Reference Point Display Units Use the REFerence DUNits commands to query a measurement reference point s Display Units Refer to Display Units DUNits on page 77 for description of Display Units Syntax REFerence DUNits Example OUTPUT 714 MEAS RFR POW REF DUN ENT...

Страница 204: ... s HP IB address can be changed through HP IB by using the CONFigure BADDress commands If the Test Set s HP IB address is changed programmatically all future HP IB commands must use the new address Syntax CONFigure BADDress integer number Example OUTPUT 714 CONF BADD 15 This sets the Test Set s HP IB address to 15 The Test Set s HP IB address can be queried through HP IB by using the CONFigure BAD...

Страница 205: ...RESET key clears the measurement history for all of the Test Set s measurement algorithms Averaging AVG key Spectrum Analyzer trace averaging Measurement limit checking HI LIMIT and LO LIMIT keys Peak Hold AF Analyzer peak hold detectors Spectrum Analyzer trace peak hold autotuning and autoranging and re starts all active measurements The HP IB commands MEASure RESet are used to select this functi...

Страница 206: ... file name Example OUTPUT 714 REG REC SETUP1 This recalls the instrument state saved in the file SETUP1 See Also SAV Save Instrument State on page 227 RCL Recall Instrument State on page 227 SAVE The SAVE key is used to save an instrument state The HP IB commands REGister SAVE are used to select this function programmatically The SAVE RECALL mass storage device is selected using the SAVE RECALL fi...

Страница 207: ...ar ALL NOTE The REGister CLEar ALL command is only valid for the internal SAVE RECALL mass storage device To clear all saved instrument states from the Card RAM or Disk SAVE RECALL mass storage devices each file must be removed individually using the REGister CLEar file name command Example OUTPUT 714 REG CLE SETUP2 This clears the instrument state SETUP2 from the selected SAVE RECALL mass storage...

Страница 208: ...function programmatically See table 12 on page 210 for the screen mnemonics for the DISPlay command To Select a Screen Use the DISPlay command to select the desired screen Syntax DISPlay screen mnemonic Example OUTPUT 714 DISP AFAN This displays the Audio Frequency Analyzer screen To Query Currently Displayed Screen Use the DISPlay command to query the currently displayed screen Syntax DISPlay Exa...

Страница 209: ...r to Triggering Measurements on page 228 PREV The PREV key is used to display the previously displayed screen There is no equivalent HP IB command for the PREV key function PRINT The PRINT key is used to print a pixel dump of the currently displayed screen to an external printer There is no equivalent HP IB command to the PRINT key To print measurement results through HP IB the program must query ...

Страница 210: ...book for further information on the ON KEY command Table 12 Screen Mnemonics for the DISPlay Command Mnemonic Screen Mnemonic Screen ACNTrol CALL CONTROL ACPower ADJACENT CHANNEL POWER RFGen RF GENERATOR AFANalyzer AF ANALYZER RINTerface RADIO INTERFACE CANalyzer CDMA ANALYZER RX RX TEST CBIT CALL BIT SANalyzer SPECTRUM ANALYZER CCNFigure CALL CONFIGURE SERVice SERVICE CDATa CALL DATA TCONfigure T...

Страница 211: ...G ENCODER TPRint TESTS Printer Setup HELP HELP TSEQn TESTS Order of Tests IOConfigure I O CONFIGURE TSPec TESTS Pass Fail Limits MESSages MESSAGE TX TX TEST OSCilloscope OSCILLOSCOPE PCONfigure PRINT CONFIGURE PDCtest PDC CELLULAR TEST PHPtest PHP CELLULAR TEST RFANalyzer RF ANALYZER Table 12 Screen Mnemonics for the DISPlay Command Mnemonic Screen Mnemonic Screen ...

Страница 212: ...ng common commands are implemented in the Test Set Table 13 Test Set IEEE 488 2 Common Commands Mnemonic Command Name CLS Clear Status Command ESE Standard Event Status Enable Command ESE Standard Event Status Enable Query ESR Standard Event Status Register Query IDN Identification Query OPC Operation Complete Command OPC Operation Complete Query OPT Option Identification Query PCB Pass Control Ba...

Страница 213: ...o four fields separated by commas The field definitions are described in table 14 NOTE The Serial Number format can take one of two forms AAXXXXXXXX or XXXXAXXXXX A alpha character X numeric character The form returned will depend upon the manufacturing date of the Test Set being queried Table 14 Device Identification Field Contents Typical Response from Test Set Comments 1 Manufacturer Hewlett Pa...

Страница 214: ...214 Common Command Descriptions Example BASIC program 10 DIM A 10 20 OUTPUT 714 IDN 30 ENTER 714 A 40 PRINT A 50 END Example response Hewlett Packard 8921A 2423A00189 A 12 04 ...

Страница 215: ...d it is not reported an ASCII character 0 zero is not placed in the output string for that option The length of the returned string can vary depending upon the Test Set being queried installed options and standard options The option definitions and their returned string are shown in table 15 on page 215 Example BASIC program 10 DIM A 255 20 OUTPUT 714 OPT 30 ENTER 714 A 40 PRINT A 50 END Example r...

Страница 216: ...is cleared OPT OPT OPT OPT HP 83201A Dual Mode Cellular Adapter or HP 83201B Opt 003 TDMA Cellular Adapter or HP 83204A Opt 001 TDMA Cellular Adapter or HP 83204A Opt 003 TDMA CDPD Cellular Adapter IQ MODEM OPT 011 CCITT Weighting Filter replaces standard C Message filter for TACS base station test TACS OPT HP 83203B CDMA Cellular Adapter HP83203B OPT OPT HP 83204A Opt 001 TDMA Cellular Adapter or...

Страница 217: ...naffected Service Request Standard Event Communicate Hardware 1 Hardware 2 Operation Calibration and Questionable Data Signal All Negative Transition Filter registers are unaffected Communicate Hardware 1 Hardware 2 Operational Calibration and Questionable Data Signal All Positive Transition Filter registers are unaffected Communicate Hardware 1 Hardware 2 Operational Calibration and Questionable ...

Страница 218: ... Up Self Test Failure Example BASIC program 10 INTEGER Slf_tst_respons20 OUTPUT 714 TST 30 ENTER 714 Slf_tst_respons 40 PRINT Slf_tst_respons 50 END Example response 512 Table 16 Self Test Response Detected Error Returned Error Code Decimal Error Code Displayed on Test Set s CRT Hexadecimal None all self tests passed 0 0000 68000 Processor Failure 2 0002 ROM Checksum Failure 4 0004 Standard Non Vo...

Страница 219: ... control processor commands all active measurements to tell it when the measurement s are done When all active measurements are done and the one second timer has elapsed the OPC OPC and WAI commands are satisfied If the OPC OPC or WAI common commands are used to determine when a measurement has completed and the measurement is either in the OFF State or unavailable four dashed lines on CRT display...

Страница 220: ...ete 160 Refer to the HP IB Service Requests in chapter 5 for 170 complete information 180 SUBEND The program enables bit 0 in the Standard Event Status Enable Register and also bit 5 in the Service Request Enable Register so that the Test Set will request service whenever the OPC event bit becomes true After the service request is detected the program can take appropriate action Refer to HP IB Ser...

Страница 221: ...t when the measurement s are done When all active measurements are done and the one second timer has elapsed the OPC OPC and WAI commands are satisfied If the OPC OPC or WAI common commands are used to determine when a measurement has completed and the measurement is either in the OFF State or unavailable four dashed lines on CRT display the OPC OPC or WAI command will never complete CAUTION The O...

Страница 222: ... waits to read the OPC query response from the Test Set Example BASIC program 10 INTEGER Output_que_val 20 OUTPUT 714 SRE 0 Disable Service Requests 30 OUTPUT 714 DISP RFG RFG OUTP Dupl AMPL 0 dBm FREQ 320 MHz OPC 40 ENTER 714 Output_que_val 50 Program will wait here until all operations complete 60 PRINT All operations complete 70 END Using the OPC query using the MAV bit in the Status Byte Bit 4...

Страница 223: ...OUTPUT 714 DISP RFG RFG OUTP Dupl AMPL 0 dBm FREQ 320 MHz OPC 60 LOOP Dummy loop to do nothing 70 DISP I am in a dummy loop 80 END LOOP 90 END 100 SUB Srvice_interupt 110 ENTER 714 Output_que_val Read the 1 returned by the OPC 120 query command 130 PRINT All operations complete 140 Note 150 This interrupt service routine is not complete 160 Refer to the HP IB Service Requests in chapter 5 for 170 ...

Страница 224: ...PC and WAI commands are satisfied If the OPC OPC or WAI common commands are used to determine when a measurement has completed and the measurement is either in the OFF State or unavailable four dashed lines on CRT display the OPC OPC or WAI command will never complete CAUTION The WAI command should not be used for determining if a Call Processing Subsystem state command has completed successfully ...

Страница 225: ...r Communicate Status Register Call Processing Status Register The Following message queues are affected Error Message Queue NOTE The CLS command does not clear the contents of the Message Screen which is displayed on the CRT when the SHIFT RX keys are selected This display is only cleared when the unit is powered on ESE Standard Event Status Enable The Test Set responds to the ESE command See Stat...

Страница 226: ...ommand STB Status Byte Query The Test Set responds to the STB command Status Reporting on page 244 for a detailed explanation of the STB command TRG Trigger The TRG command is equivalent to the IEEE 488 1 defined Group Execute Trigger GET message and has the same effect as a GET when received by the Test Set The Test Set responds to the TRG command by triggering all currently active measurements P...

Страница 227: ...ers or a decimal number greater than 99 use the REG RECall filename command see RECALL on page 206 SAV Save Instrument State The SAV command saves the present state of the Test Set into a file in battery backed internal memory on a memory card on a RAM disk or on an external disk The SAV command is followed by a decimal number in the range of 0 to 99 which indicates the name of the stored SAVE REC...

Страница 228: ...ed A Trigger Event is analogous to telling the Test Set to start the measurement now There are three commands that can be used to issue a Trigger Event to the Test Set through HP IB A Group Execute Trigger Command GET as defined by IEEE 488 1 1987 A Trigger Common Command TRG as defined by IEEE 488 2 1987 A TRIGger IMMediate Test Set command All three commands are equivalent and have the same effe...

Страница 229: ...urement with no intervening trigger event will return the same value Measurements that rely on external signals or hardware generated events such as the DTMF Decoder must be re armed with a new trigger command before another measurement can be made 2 Repetitive retriggering causes the measurement cycle to immediately start over once a valid measurement result has been obtained No trigger event mus...

Страница 230: ...rammer wishes to remove these delays as well all autoranging and autotuning functions must be turned OFF and the program must explicitly set the ranging amplifiers and the frequency tuning Delays introduced by the measurement processes themselves cannot be eliminated Bus Lock Up If a measurement cycle does not successfully obtain a valid measurement result it will continue to try until it does or ...

Страница 231: ...ing When the Test Set makes a transition from local to remote mode all currently active measurements are flagged as invalid causing any currently available measurement results to become unavailable If the HP IB trigger mode is RETR REP then a new measurement cycle is started and measurement results will be available for all active measurements when valid results have been obtained If the HP IB tri...

Страница 232: ...r Common Command TRG as defined by IEEE 488 2 1987 The IMMediate statement is implied and is optional Syntax TRIGger IMMediate Example OUTPUT 714 TRIG IMM or OUTPUT 714 TRIG ABORt The ABORt command tells the Test Set to stop a currently executing measurement cycle and get ready for a new HP IB command If for any reason a valid measurement cannot be made this command allows the control program to t...

Страница 233: ...ameters retriggering and settling Retriggering Syntax TRIGger MODE RETRigger REPetitive TRIGger MODE RETRigger SINGle Retriggering Examples OUTPUT 714 TRIG MODE RETR REP OUTPUT 714 TRIG MODE RETR SING Settling Syntax TRIGger MODE SETTling FAST TRIGger MODE SETTling FULL Settling Examples OUTPUT 714 TRIG MODE SETT FAST OUTPUT 714 TRIG MODE SETT FULL ...

Страница 234: ...et ranges and frequency through HP IB This avoids autoranging autotuning delays 2 Use REPetitive RETRiggering This avoids Trigger Event processing delays 3 Use FAST SETTling This avoids the signal transient settling delays 1 4 Turn off all measurements that are not required This avoids any delays caused by contention for measurement resources within the Test Set Trigger Mode Settings for Most Reli...

Страница 235: ...is set to RETRigger SINGle the measurement must be re armed after each measurement cycle When the trigger mode is set to RETRigger REPetitive the measurement is continually re armed after each measurement cycle NOTE Bus Lock Up If the required triggering signal is not received or if the signal level is incorrect the measurement will not trigger and the measurement cycle will not complete If a meas...

Страница 236: ...236 Triggering Measurements ...

Страница 237: ...237 5 Advanced Operations ...

Страница 238: ... influenced by the following four parameters 1 Trigger Mode The Trigger Mode affects the time to first reading and the length of the measurement cycle and is defined by two parameters retriggering and settling Retriggering refers to what a measurement does once it has completed a measurement cycle Settling refers to the amount of delay introduced to allow signal transients to propagate through the...

Страница 239: ...YZER screen The attenuation and gain settings determined in manual mode should be recorded for use in writing the program In the control program select Gain Control Hold default is Auto and make the settings recorded in manual mode When the control program runs the signal levels into the Test Set need to remain relatively constant since autoranging has been disabled If the automatic functions are ...

Страница 240: ...owing command AFAN GTIM value MS For RF frequency measurements set the RF Analyzer s gate time with the RF Cnt Gate field using the following command RFAN GTIM value MS 4 Number of Active Measurements The Test Set is capable of making many measurements simultaneously Measurements are either in the active state ON or in the inactive state OFF When the Test Set receives a trigger event all active me...

Страница 241: ...e are two methodologies which can be used to setup individual instruments in the Test Set 1 Set up every field every time a measurement is made 2 Define a base instrument state and then modify it as needed for each measurement always returning to the base state after finishing the measurement Defining a base instrument state requires fewer HP IB transactions to set up an instrument in the majority...

Страница 242: ...d commands and screen display time as described in the following paragraphs Compound Commands for Combining OUTPUT Statements To reduce the number of OUTPUT statements used to make the desired settings within one screen string together multiple settings within one OUTPUT statement This is accomplished using the semicolon separator and the semicolon colon separator The semicolon Separator The semic...

Страница 243: ... parser that the next command is at the top level of the command hierarchy This allows commands from different instruments to be output on one command line The following example illustrates proper use of the semicolon colon separator Example OUTPUT 714 RFAN FREQ 850 MHZ AFAN INP FM DEMOD This OUTPUT statement sets the RF Analyzer s tune frequency to 850 MHz and then sets the AF Analyzer s input to...

Страница 244: ... are in turn summarized into the Status Byte Register Therefore by monitoring the bits in the Status Byte Register the application program can determine if a condition has occurred which needs attention which register to interrogate to determine what condition s have occurred and what action to take in response to the condition NOTE A Status Register Group Summary Message Bit may be summarized ind...

Страница 245: ...Register Group Status Register Group Status Register Group RQS MSS 6 Status Byte Register 1 0 7 Service Request Enable Register Service Request Generation Function MSS HP 8920 Status Reporting Structure Service Request Interface Message SRQ Enabled Summary Message Request Service Message RQS ch4drw01 ds4 Summary Message Bits ...

Страница 246: ...t in the Status Byte Register will also be TRUE If the Summary Bit from a particular register group is FALSE logic 0 its assigned bit in the Status Byte Register will also be FALSE NOTE A Status Register Group Summary Message Bit may be summarized indirectly to the Status Byte Register through a Status Register Group which is summarized directly into the Status Byte Register Figure 4 Status Byte R...

Страница 247: ...ervice RQS when read by serial poll OR Master Summary Status message when read by STB command 1 Test Set has requested service OR 1 one or more of the enabled service request conditions is true 5 32 Standard Event Status Bit ESB Summary Message 1 one or more of the enabled events have occurred since the last reading or clearing of the Event Register 4 16 Output Queue Message Available MAV Summary ...

Страница 248: ...r For a discussion of Summary Messages see Status Register Structure Overview on page 250 Bit 6 is TRUE logic 1 if the Test Set has at least one reason for requesting service and FALSE logic 0 if it does not Bits 0 5 and bit 7 are defined as shown in table 17 on page 247 When read by the STB Common Command bits 0 5 bit 6 and bit 7 are unaffected The STB Status Byte Query allows the programmer to d...

Страница 249: ... mask out the Stat Byte 70 PRINT Mstr_sum_msg 80 END Example response 32 0 Writing the Status Byte Register The Status Byte Register is a read only register and is altered only when the state of the Summary Messages from the overlaying data structures are altered Clearing the Status Byte Register The CLS Common Command clears all Event Registers and Queues so that their corresponding Summary Messa...

Страница 250: ...onents and operation of each type of status data structure are explained in the following sections Figure 5 Status Data Structure Register Model Test Set States Continuously Monitored 15 14 2 0 1 15 14 2 0 1 15 14 2 0 1 Logical OR Summary Message Bit Event Enable Register Selects which Events can set the Summary Message Bit Event Register Latched Conditions Positive Transition Filter Negative Tran...

Страница 251: ...n the Event Register Transition Filters may be set to pass positive transitions PTR negative transitions NTR or either PTR or NTR A positive transition means a condition bit changed from 0 to 1 A negative transition means a condition bit changed from 1 to 0 In the Test Set the Transition Filters are implemented as two registers a 16 bit positive transition PTR register and a 16 bit negative transi...

Страница 252: ...Summary Message Each bit in the Enable Register has a corresponding bit in the Event Register The Test Set logically ANDs corresponding bits in the Event and Enable registers and then performs an inclusive OR on all the resulting bits to generate the Summary Message By using the enable bits the application program can direct the Test Set to set the Summary Message to the 1 or TRUE state for a sing...

Страница 253: ...example logic 0 Overpower Protection not tripped logic 1 Overpower Protection tripped occurrence indicated by a 0 to 1 transition use positive transition PTR filter for bit 3 Set the Transition Filters to the correct polarity to pass the bit state transition to the Event Register For example Set Positive Transition Filter bit 3 to 1 all other bits to 0 Set Negative Transition Filter bit 3 to 0 all...

Страница 254: ...e is empty when all information has been read from the list The associated Summary Message is TRUE logic 1 if the queue contains some information and FALSE logic 0 if the queue is empty Queues can be cleared by reading all the information from the queue Queues except the Output Queue can also be cleared using the CLS clear status command A status queue can also be referred to as a Status Register ...

Страница 255: ...up Logical OR Questionable Data Signal Register Group Logical OR Standard Event Status Register Group Logical OR Operation Status Register Group Logical OR Communicate Status Register Group Logical OR Calibration Status Register Group C TR EV EN SMB C TR EV EN C TR EV EN EV EN EV EN data data Output Queue SMB Status Byte Register Group SMB SMB SMB SMB SMB SMB SMB Notes C Condition Register TR Tran...

Страница 256: ...egister and a Summary Message Refer to the Status Register Structure Overview on page 250 for a discussion of status register operation Figure 8 shows the structure and STATus commands for the Operation Status Register Group Figure 8 Operation Status Register Group 0 STATus OPERation ENABle integer STATus OPERation EVENt STATus OPERation PTRansition NTRansition integer integer STATus OPERation CON...

Страница 257: ...ing on the built in IBASIC controller 13 8192 Unused in the Test Set 12 4096 Unused in the Test Set 11 2048 Unused in the Test Set 10 1024 Unused in the Test Set 9 512 Call Processing Status Register Group Summary Message 1 one or more of the enabled events have occurred since the last reading or clearing of the Event Register 8 256 Unused in the Test Set 7 128 Unused in the Test Set 6 64 Unused i...

Страница 258: ...ation Status Register Group s registers Reading the Condition Register Syntax STATus OPERation CONDition Example OUTPUT 714 STAT OPER COND ENTER 714 Register_value Reading the Transition Filters Syntax STATus OPERation PTRansition STATus OPERation NTRansition Example OUTPUT 714 STAT OPER PTR ENTER 714 Register_value Writing the Transition Filters Syntax STATus OPERation PTRansition integer STATus ...

Страница 259: ...cleared whenever it is queried or whenever the Common Command CLS is sent to the Test Set Reading the Enable Register Syntax STATus OPERation ENABle Example OUTPUT 714 STAT OPER ENAB ENTER 714 Register_value Writing the Enable Register Syntax STATus OPERation ENABle integer Example OUTPUT 714 STAT OPER ENAB 256 Clearing the Enable Register The ENABLE register is cleared by writing to it with an in...

Страница 260: ...the Standard Event Status Register bit assignments and their meanings The Standard Event Status Register Group is accessed using IEEE 488 2 Common Commands The Standard Event Status Register Group includes an Event Register an Enable Register and a Summary Bit Refer to the Status Reporting Structure Overview on page 244 for a discussion of status register operation Figure 9 shows the structure and...

Страница 261: ... a command The following events cause a command error An IEEE 488 2 syntax error This means that the Test Set received a message that did not follow the syntax defined by the Standard A semantic error For example the Test Set received an incorrectly spelled command The Test Set received a Group Execute Trigger GET inside a program message 4 16 Execution Error 1 The Test Set detected an error while...

Страница 262: ...ry error a An attempt is being made to read data from the Output Queue when no data is present or pending b Data in the Output Queue has been lost An example of this would be Output Queue overflow 1 2 Request Control 1 The Test Set is requesting permission to become the Active Controller on the HP IB bus 0 1 Operation Complete 1 The Test Set has completed all selected pending operations and is rea...

Страница 263: ... Output Queue The decimal value of the bit pattern will be a positive integer in the range of 0 to 255 The response data is obtained by reading the Output Queue into a numeric variable integer or real Reading the Standard Event Status Register clears it sets all bits to zero Example BASIC program 10 INTEGER Std_evn_stat_rg 20 OUTPUT 714 ESR 30 ENTER 714 Std_evn_stat_rg 40 PRINT Std_evn_stat_rg 50 ...

Страница 264: ...sponds to the ESE query by placing the binary weighted decimal value of the Standard Event Status Enable Register bit pattern into the Output Queue The decimal value of the bit pattern will be a positive integer in the range of 0 to 255 The response data is obtained by reading the Output Queue into a numeric variable integer or real Example BASIC program 10 INTEGER Std_evn_enab_rg 20 OUTPUT 714 ES...

Страница 265: ...ighted decimal equivalent of bits 0 through 7 after the ESE command For example if the programmer wished to have the occurrence of a Command Error bit position 5 in the Standard Event Status Register and the occurrence of a Query Error bit position 2 in the Standard Event Status Register to be reflected in bit 5 of the Status Byte Register the binary weighted decimal value of the bit pattern for t...

Страница 266: ...e The Output Queue Group includes a FIFO queue and a Message Available MAV Summary Message Refer to the Status Reporting Structure Overview on page 244 for an overview of status queue operation Figure 10 shows the structure of the Output Queue Group Figure 10 Output Queue Group Last Data Byte Entered Next Data Byte Entered First Data Byte Entered Last Data Byte to be Read First Data Byte to be Rea...

Страница 267: ... Register The state of the MAV message indicates whether or not the Output Queue is empty The MAV message is TRUE logic 1 when there is data in the Output Queue and FALSE logic 0 when it is empty The Output Queue is read by addressing the Test Set to TALK and then handshaking the bytes out of the Output Queue Depending upon the type of command sent the data may appear in the Output Queue almost im...

Страница 268: ...at holds up to 20 messages The Error Message Queue Group includes a FIFO queue but no Message Available MAV Summary Message Refer to the Status Reporting Structure Overview on page 244 for an overview of status queue operation Figure 11 shows the structure of the Error Message Queue Group Figure 11 Error Message Queue Group Last Message Entered Next Message Entered First Message Entered Last Messa...

Страница 269: ... and another error occurs the last message is replaced with the message 350 Queue overflow If no messages are in the queue the message 0 No error is returned Reading a message removes it from the queue The Error Message Queue is accessed using the SYSTem command Returned information is read into a numeric variable followed by a string variable Reading the Error Message Queue Syntax SYSTem ERRor Ex...

Страница 270: ...ister and a Summary Message Refer to the Status Reporting Structure Overview on page 244 for a discussion of status register operation Figure 12 shows the structure and STATus commands for the Questionable Data Signal Register Group Figure 12 Questionable Data Signal Register Group 0 STATus QUEStionable ENABle integer STATus QUEStionable EVENt STATus QUEStionable PTRansition NTRansition integer in...

Страница 271: ... Version 1994 0 14 16384 Unused in Test Set 13 8192 Unused in Test Set 12 4096 Unused in Test Set 11 2048 Unused in Test Set 10 1024 Unused in Test Set 9 512 Unused in Test Set 8 256 Calibration Register Group Summary Message 1 one or more of the enabled events have occurred since the last reading or clearing of the Event Register 7 128 Unused in Test Set 6 64 Unused in Test Set 5 32 Unused in Tes...

Страница 272: ...e Data Signal Register Group s registers Reading the Condition Register Syntax STATus QUEStionable CONDition Example OUTPUT 714 STAT QUES COND ENTER 714 Register_value Reading the Transition Filters Syntax STATus QUEStionable PTRansition STATus QUEStionable NTRansition Example OUTPUT 714 STAT QUES PTR ENTER 714 Register_value Writing the Transition Filters Syntax STATus QUEStionable PTRansition in...

Страница 273: ...eared whenever it is queried or whenever the Common Command CLS is sent to the Test Set Reading the Enable Register Syntax STATus QUEStionable ENABle Example OUTPUT 714 STAT QUES ENAB ENTER 714 Register_value Writing the Enable Register Syntax STATus QUEStionable ENABle integer Example OUTPUT 714 STAT QUES ENAB 256 Clearing the Enable Register The ENABLE register is cleared by writing to it with a...

Страница 274: ...ary Message Refer to the Status Reporting Structure Overview on page 244 for a discussion of status register operation Figure 13 shows the structure and STATus commands for the Call Processing Status Register Group Figure 13 Call Processing Status Register Group 0 STATus CALLProc ENABle integer STATus CALLProc EVENt STATus CALLProc PTRansition NTRansition integer integer STATus CALLProc CONDition ...

Страница 275: ... 64 Unused in Test Set 5 32 Call Processing subsystem in the Connect state bit state mirrors the condition of the Connect pseudo LED on the CRT display 1 ON 0 OFF 4 16 Call Processing subsystem is in the Access state bit state mirrors the condition of the Access pseudo LED on the CRT display 1 ON 0 OFF 3 8 Call Processing subsystem is in the Page state bit state mirrors the condition of the Page p...

Страница 276: ...l Processing Status Register Group s registers Reading the Condition Register Syntax STATus CALLProc CONDition Example OUTPUT 714 STAT CALLP COND ENTER 714 Register_value Reading the Transition Filters Syntax STATus CALLProc PTRansition STATus CALLProc NTRansition Example OUTPUT 714 STAT CALLP PTR ENTER 714 Register_value Writing the Transition Filters Syntax STATus CALLProc PTRansition integer ST...

Страница 277: ...cleared whenever it is queried or whenever the Common Command CLS is sent to the Test Set Reading the Enable Register Syntax STATus CALLProc ENABle Example OUTPUT 714 STAT CALLP ENAB ENTER 714 Register_value Writing the Enable Register Syntax STATus CALLProc ENABle integer Example OUTPUT 714 STAT CALLP ENAB 256 Clearing the Enable Register The ENABLE register is cleared by writing to it with an in...

Страница 278: ...the Status Reporting Structure Overview on page 244 for a discussion of status register operation Figure 14 shows the structure and STATus commands for the Calibration Status Register Group Figure 14 Calibration Status Register Group 0 STATus CALibration ENABle integer STATus CALibration EVENt STATus CALibration PTRansition NTRansition integer integer STATus CALibration CONDition Summary Message B...

Страница 279: ... Always 0 Defined by SCPI Version 1994 0 14 16384 Unused in Test Set 13 8192 Unused in Test Set 12 4096 Unused in Test Set 11 2048 Unused in Test Set 10 1024 Unused in Test Set 9 512 Unused in Test Set 8 256 Unused in Test Set 7 128 Unused in Test Set 6 64 Unused in Test Set 5 32 Unused in Test Set 4 16 TX Power Auto Zero Failed 3 8 Voltmeter Self Calibration Failed 2 4 Counter Self Calibration Fa...

Страница 280: ...n Register Syntax STATus CALibration CONDition Example OUTPUT 714 STAT CAL COND ENTER 714 Register_value Reading the Transition Filters Syntax STATus CALibration PTRansition STATus CALibration NTRansition Example OUTPUT 714 STAT CAL PTR ENTER 714 Register_value Writing the Transition Filters Syntax STATus CALibration PTRansition integer STATus CALibration NTRansition integer Example OUTPUT 714 STA...

Страница 281: ...nd CLS is sent to the Test Set Reading the Enable Register Syntax STATus CALibration ENABle Example OUTPUT 714 STAT CAL ENAB ENTER 714 Register_value Writing the Enable Register Syntax STATus CALibration ENABle integer Example OUTPUT 714 STAT CAL ENAB 256 Clearing the Enable Register The ENABLE register is cleared by writing to it with an integer value of zero ...

Страница 282: ...mmary Message Refer to the Status Reporting Structure Overview on page 244 for a discussion of status register operation Figure 15 shows the structure and STATus commands for the Hardware Status Register 2 Group Figure 15 Hardware Status Register 2 Group 0 STATus HARDware2 ENABle integer STATus HARDware2 EVENt STATus HARDware2 PTRansition NTRansition integer integer STATus HARDware2 CONDition Summ...

Страница 283: ... or Channel Offset Too Wide 9 512 AFGen1 Frequency Exceeds Variable Frequency Notch Filter Range 8 256 Requested Audio Voltage Too Large for AFGen2 7 128 Requested FM Deviation Too Large for RF Generator Frequency 6 64 Requested Simultaneous AM and FM Modulation Simultaneous AM and FM modulation is not allowed 5 32 Audio Input Level Auto Ranging Error 4 16 RF Input Level Auto Ranging Error 3 8 RF ...

Страница 284: ...are Status Register 2 Group s registers Reading the Condition Register Syntax STATus HARDware2 CONDition Example OUTPUT 714 STAT HARD2 COND ENTER 714 Register_value Reading the Transition Filters Syntax STATus HARDware2 PTRansition STATus HARDware2 NTRansition Example OUTPUT 714 STAT HARD2 PTR ENTER 714 Register_value Writing the Transition Filters Syntax STATus HARDware2 PTRansition integer STATu...

Страница 285: ...leared whenever it is queried or whenever the Common Command CLS is sent to the Test Set Reading the Enable Register Syntax STATus HARDware2 ENABle Example OUTPUT 714 STAT HARD2 ENAB ENTER 714 Register_value Writing the Enable Register Syntax STATus HARDware2 ENABle integer Example OUTPUT 714 STAT HARD2 ENAB 256 Clearing the Enable Register The ENABLE register is cleared by writing to it with an i...

Страница 286: ...y Message Refer to the Status Reporting Structure Overview on page 244 section for a discussion of status register operation Figure 16 shows the structure and STATus commands for the Hardware Status Register 1 Group Figure 16 Hardware Status Register 1 Group 0 STATus HARDware1 ENABle integer STATus HARDware1 EVENt STATus HARDware1 PTRansition NTRansition integer integer STATus HARDware1 CONDition ...

Страница 287: ...coder is Armed 8 256 Signaling Encoder Sending Auxiliary Information If the Signaling Mode selected has two information fields such as the AMPS Filler and Message fields and both fields are being sent this bit will be set 7 128 Signaling Encoder Sending Information If the Signaling Mode selected has only one information field and the field is being sent this bit will be set high If the Signaling M...

Страница 288: ...ading the Condition Register Syntax STATus HARDware1 CONDition Example OUTPUT 714 STAT HARD1 COND ENTER 714 Register_value 5 32 Measurement Limit s Exceeded This bit is set high if the Measurement High Limit or Low Limit is exceeded 4 16 Power up Self Test s Failed 3 8 Overpower Protection Tripped 2 4 Unused in Test Set 1 2 External Mike Keyed 0 1 External Battery Voltage Low Table 24 Hardware Sta...

Страница 289: ...NTRansition Example OUTPUT 714 STAT HARD1 PTR ENTER 714 Register_value Writing the Transition Filters Syntax STATus HARDware1 PTRansition integer STATus HARDware1 NTRansition integer Example OUTPUT 714 STAT HARD1 PTR 256 Reading the Event Register Syntax STATus HARDware1 EVENt Example OUTPUT 714 STAT HARD1 EVEN ENTER 714 Register_value ...

Страница 290: ...nd CLS is sent to the Test Set Reading the Enable Register Syntax STATus HARDware1 ENABle Example OUTPUT 714 STAT HARD1 ENAB ENTER 714 Register_value Writing the Enable Register Syntax STATus HARDware1 ENABle integer Example OUTPUT 714 STAT HARD1 ENAB 256 Clearing the Enable Register The ENABLE register is cleared by writing to it with an integer value of zero ...

Страница 291: ... to the Status Reporting Structure Overview on page 244 for a discussion of status register operation Figure 17 shows the structure and STATus commands for the Communicate Status Register Group Figure 17 Communicate Status Register Group 0 STATus COMMunicate ENABle integer STATus COMMunicate EVENt STATus COMMunicate PTRansition NTRansition integer integer STATus COMMunicate CONDition Summary Messa...

Страница 292: ...Always 0 Defined by SCPI Version 1994 0 14 16384 Unused in Test Set 13 8192 Unused in Test Set 12 4096 Unused in Test Set 11 2048 Unused in Test Set 10 1024 Unused in Test Set 9 512 Unused in Test Set 8 256 Unused in Test Set 7 128 Unused in Test Set 6 64 Unused in Test Set 5 32 Unused in Test Set 4 16 Unused in Test Set 3 8 Unused in Test Set 2 4 Unused in Test Set 1 2 Top Box TX DSP Analyzer Com...

Страница 293: ...te Status Register Group s registers Reading the Condition Register Syntax STATus COMMunicate CONDition Example OUTPUT 714 STAT COMM COND ENTER 714 Register_value Reading the Transition Filters Syntax STATus COMMunicate PTRansition STATus COMMunicate NTRansition Example OUTPUT 714 STAT COMM PTR ENTER 714 Register_value Writing the Transition Filters Syntax STATus COMMunicate PTRansition integer ST...

Страница 294: ...leared whenever it is queried or whenever the Common Command CLS is sent to the Test Set Reading the Enable Register Syntax STATus COMMunicate ENABle Example OUTPUT 714 STAT COMM ENAB ENTER 714 Register_value Writing the Enable Register Syntax STATus COMMunicate ENABle integer Example OUTPUT 714 STAT COMM ENAB 256 Clearing the Enable Register The ENABLE register is cleared by writing to it with an...

Страница 295: ...e requests is the SRQ interrupt Interrupts allow for efficient use of system resources because the Active Controller may be executing a program until an SRQ interrupt occurs If SRQ interrupts are enabled in the Active Controller the occurrence of an interrupt can initiate a program branch to a routine which services the interrupt executes some remedial action The operating and or programming manua...

Страница 296: ... exists the Test Set sends the Service Request message SRQ on the HP IB bus and reports that it has requested service by setting the Request Service RQS bit in the Status Byte register to the TRUE logic 1 state When read by a serial poll the RQS bit is cleared set to logic 0 so that the RQS message will be FALSE if the Test Set is polled again before a new reason for requesting service has occurre...

Страница 297: ...t The Service Request Enable Register illustrated in figure 18 is an 8 bit register that enables corresponding Summary Messages in the Status Byte Register Figure 18 Service Request Enable Register Summary Message Bits Logical OR Service Request Enable Register SRE interger SRE Status Byte Registe 1 0 7 5 4 3 2 read by STB read by Serial Poll SRQ ch4drw15 drw 7 6 ESB MAV 3 2 1 0 RQS MSS Service Re...

Страница 298: ... bit pattern bits 0 5 and 7 of the Service Request Enable Register The Service Request Enable Register allows the programmer to select which condition s as defined by bits 0 5 and 7 of the Status Byte Register will generate a Service Request on the HP IB bus The Test Set always ignores bit 6 binary weight 64 of the bit pattern set by the SRE command The bit pattern set by the SRE command is determ...

Страница 299: ...Clearing the Service Request Enable Register The Service Request Enable Register is cleared by sending the SRE Common Command with a decimal value of zero Clearing the Service Request Enable Register turns off service requests Table 27 Determining the Service Request Enable Register Bit Pattern Bit Position 7 6 5 4 3 2 1 0 Logical Value 0 X 0 1 0 0 1 0 X ignored by the Test Set Binary Weighting 12...

Страница 300: ...h conditions as defined by their bit positions in the Register Group Condition Register should cause the Summary Message to be set TRUE if they occur 2 Determine the polarity of the bit state transition which will indicate that the condition has occurred 3 Set the Register Group Transition Filters to the correct polarity to pass the bit state tran sition to the Event Register 4 Go to step 6 5 Dete...

Страница 301: ...nterrupt conditions in the Test Set 180 190 1 Standard Event Status Register Group 200 Event register conditions which will set the Summary Message 210 TRUE if they occur 220 Bit 5 Command Error decimal value 2 5 32 230 Bit 4 Execution Error decimal value 2 4 16 240 Bit 3 Device Dependent Error decimal value 2 3 8 250 Bit 2 Query Error decimal value 2 2 4 260 270 Std_event_reg 32 16 8 4 280 290 Se...

Страница 302: ...on Filters to allow only positive transitions in 760 the assigned condition s to pass to the Event Register 770 780 OUTPUT Inst_address STAT HARD1 PTR Hardware1_reg 790 OUTPUT Inst_address STAT HARD1 NTR 0 800 810 Set up the Hardware Status Register 1 Group Enable Register to 820 generate the Summary Message 830 840 OUTPUT Inst_address STAT HARD1 ENAB Hardware1_reg 850 860 4 Set the correct Summar...

Страница 303: ... service routine 1400 1410 ENABLE INTR 7 2 1420 SUBEXIT 1430 1440 Srvice_std_evnt 1450 This routine would determine which bit s in the Standard Event 1460 Status Register are TRUE logic 1 and take appropriate action 1470 NOTE Read the Event Register to clear it If the Event Register is 1480 not cleared it will NOT latch another event thereby preventing 1490 the Test Set from generating another SRQ...

Страница 304: ...Event Register to clear it If the Event Register is 1720 not cleared it will NOT latch another event from the Condition 1730 Register thereby preventing the Test Set from generating another SRQ 1740 1750 OUTPUT Inst_address STAT HARD1 EVEN 1760 ENTER Inst_address Event_reg 1770 RETURN 1780 1790 SUBEND ...

Страница 305: ... screen is to select the PRESET key display the instrument screen of interest and view the contents of the fields Apart from the individual instruments it is important from a programmatic perspective to know the default conditions of the I O configuration of the Test Set and how it may be affected by the various methods of initialization Seven screens are used to control the I O configuration of t...

Страница 306: ...ns discuss the effects each of the six initialization methods has on the Test Set Power On Reset The Power On Reset is accomplished by applying or cycling AC DC power to the Test Set For the CONFIGURE PRINT CONFIGURE TESTS Execution Conditions TESTS Printer Setup and I O CONFIGURE screens table 28 lists the fields which are restored initialized when the Test Set AC DC power is cycled The restored ...

Страница 307: ...GURE RX TX Cntl Auto PTT Print Title field is cleared Test output location Crt Test output location Crt Save Recall Internal RF Offset Off Results output All Results output All Gen Anl 0 000000 If Unit Under Test Fails Continue Range Hold Auto All Test Procedure run mode Continuous Notch Coupl None RF Display Freq RF Chan Std MS AMPS User Def Base Freq 800 000000 Chan Space 30 0000 Gen Anl 45 0000...

Страница 308: ... Standard Event Communicate Hardware 1 Hardware 2 Operation Calibration Call Processing and Questionable Data Signal All Negative Transition Filter registers are initialized to all zeros Communicate Hardware 1 Hardware 2 Operation Calibration Call Processing and Questionable Data Signal All Positive Transition Filter registers are initialized to all ones Communicate Hardware 1 Hardware 2 Operation...

Страница 309: ...screens table 29 lists the fields which are restored initialized when the front panel PRESET key is pressed The restored state or initialized value is listed below the field name Fields which are not listed are maintained at their current value whatever that may happen to be All fields in the TESTS Main Menu screen and the TESTS External Devices screen are maintained at their current state value T...

Страница 310: ...IGUR E RX TX Cntl Auto PTT Print Title field is cleared Test output location Crt Test output location Crt Save Recall Internal RF Offset Off Results output All Results output All Gen Anl 0 000000 If Unit Under Test Fails Continue Range Hold Auto All Test Procedure run mode Continuous Notch Coupl None RF Display Freq RF Chan Std MS AMPS User Def Base Freq 800 000000 Chan Space 30 0000 Gen Anl 45 00...

Страница 311: ...t Set s display screen is in the UNLOCKED state The Power up self test diagnostics are not performed The HP IB interface is not reset any pending Service Request is not cleared The Contents of the SAVE RECALL registers are not affected Calibration data is not affected All Enable registers are unaffected Service Request Standard Event Communicate Hardware 1 Hardware 2 Operation Calibration Call Pro...

Страница 312: ...CONFIGURE screens table 30 lists the fields which are restored initialized when the RST command is received The restored state or initialized value is listed below the field name Fields which are not listed are maintained at their current value whatever that may happen to be All fields in the TESTS Main Menu screen and the TESTS External Devices screen are maintained at their current state value T...

Страница 313: ...E RX TX Cntl Auto PTT Print Title field is cleared Test output location Crt Test output location Crt Save Recall Internal RF Offset Off Results output All Results output All Gen Anl 0 000000 If Unit Under Test Fails Continue Range Hold Auto All Test Procedure run mode Continuous Notch Coupl None RF Display Freq RF Chan Std MS AMPS User Def Base Freq 800 000000 Chan Space 30 0000 Gen Anl 45 000000 ...

Страница 314: ... self test diagnostics are not performed The Contents of the SAVE RECALL registers are not affected Calibration data is not affected The HP IB interface is not reset any pending Service Request is not cleared All Enable registers are unaffected Service Request Standard Event Communicate Hardware 1 Hardware 2 Operation Calibration Call Processing and Questionable Data Signal All Negative Transition...

Страница 315: ...n Menu Execution Conditions External Devices Printer Setup screens Other operational characteristics are also affected by the DCL bus command as follows The Power up self test diagnostics are not performed The HP IB interface is not reset any pending Service Request is not cleared Measurement triggering is not affected Calibration data is not affected The Contents of the SAVE RECALL registers are ...

Страница 316: ...ected Device Clear SDC Reset is accomplished by sending the SDC message to the Test Set through HP IB The Test Set responds to the Selected Device Clear SDC and the Device Clear DCL bus commands equally Refer to the Device Clear DCL HP IB Bus Command on page 315 for a description of the effects of the SDC Reset ...

Страница 317: ...rformed The HP IB interface is not reset any pending Service Request is not cleared The Contents of the SAVE RECALL registers are not affected Measurement triggering is not affected Calibration data is not affected All Enable registers are unaffected Service Request Standard Event Hardware 1 Hardware 2 Operation Calibration Call Processing and Questionable Data Signal All Negative Transition Filte...

Страница 318: ...er is the default Active Controller on power up or after a bus reset Controllers which are not the Active Controller are referred to as Non Active Controllers The Active Controller can pass control of device addressing to one of the Non Active Controllers Additionally Non Active Controllers can request control from the Active Controller The process by which the Active Controller passes device addr...

Страница 319: ...troller will be the Active Controller upon power up 3 which Controller will be monitoring the bus to determine if communications have failed only the System Controller can unconditionally demand control of the bus and reset it to a known state using the IFC line Ensure that only one Controller connected to the bus is configured as the System Controller or bus conflicts will occur When Active Contr...

Страница 320: ... passing control back This is accomplished using the PCB Common Command The PCB command tells the Test Set which address should be used when passing control back to another bus controller Before passing bus control to the Test Set the currently active controller can use the PCB command to tell the Test Set where to send the Take Control TCT command when the Test Set is ready to give up active cont...

Страница 321: ...C program is running Control is passed back immediately if the System Controller executes a bus reset IFC Test Set is the Active Controller and no IBASIC Program is Running Control will be passed back within 10 seconds of receiving bus control if no controller commands are executed such as printing a screen image to an HP IB printer or saving recalling an instrument configuration from an HP IB dis...

Страница 322: ...st Set controlled by an external controller and 2 Test Set running an IBASIC program with an external Controller connected to HP IB bus Passing Control While the Test Set is Controlled by an External Controller This example illustrates passing control between the Test Set and an external controller while the Test Set is being controlled by the external controller In this mode the Test Set is NOT c...

Страница 323: ... Workstation type in and execute the following command OUTPUT 714 PCB 21 This command tells the Test Set the address of the Controller to pass control back to 6 From the keyboard of the HP 9000 Workstation type in and execute the following command PASS CONTROL 714 This command passes control to the Test Set 7 Put the Test Set in local mode press the LOCAL key on the front panel 8 Press SHIFT then ...

Страница 324: ...the default select code of 7 and address of 21 In this example the Test Set is NOT configured as the System Controller This example illustrates the situation where the External Controller would perform the functions listed below 1 Sends commands to the Test Set to cause a program to be loaded off of a Memory Card which is in the Test Set s front panel Memory Card slot 2 Sends commands to the Test ...

Страница 325: ...et 180 The interrupt is generated by the Request Control bit in the Test Set 190 ON INTR Internal_hpib CALL Pass_control 200 ENABLE INTR Internal_hpib 2 210 220 Bring Test Set to known state 230 OUTPUT Inst_address RST 240 250 Set the Test Set to cause SRQ interrupt on Request Control 260 OUTPUT Inst_address CLS 270 OUTPUT Inst_address ESE 2 280 OUTPUT Inst_address SRE 32 290 300 Load the desired ...

Страница 326: ...COM Cntrl_names Ext_cntrl_addrs Int_cntrl_addrs 600 COM Io_names INTEGER Printer_addrs Pwr_suply_addrs 610 COM Io_values REAL Meas_power Prog_state 80 Prog_name 50 620 COM Reg_vals INTEGER Status_byte Stdevnt_reg_val 630 640 OFF INTR Internal_hpib 650 Status_byte SPOLL Inst_address 660 IF NOT BIT Status_byte 5 THEN 670 PRINT SRQ for unknown reason Status Byte Status_byte 680 STOP 690 END IF 700 71...

Страница 327: ... then not Active Controller 240 DISP TEST SET NOW ACTIVE CONTROLLER 250 CALL Start_program 260 270 Pass_back 280 DISP PASSING CONTROL BACK 290 Control is passed back automatically when the program stops 300 Control is passed back to address specified by PCB command 310 DISP PROGRAM FINISHED 320 STOP 330 340 Not_actve_cntrl 350 OFF ERROR 360 DISP CHECKING FOR ERROR 370 IF ERRN 173 THEN 380 GOTO Try...

Страница 328: ...Internal_hpib AFG1 FREQ 3 KHZ DEST FM FM 3 KHZ 600 OUTPUT Internal_hpib DISP TX MEAS RFR POW 610 ENTER Internal_hpib Meas_power 620 630 OUTPUT External_hpib Printer_addrs Measured power Meas_power 640 650 OUTPUT External_hpib Pwr_suply_addrs VSET 0 660 670 SUBEND ...

Страница 329: ...ter apply only to the Test Set s built in IBASIC Controller NOTE Indirect access to the Test Set s mass storage devices is available through the PROGram EXECute command Refer to the Standard Commands for Programmable Instruments SCPI for generic information on the PROGram EXECute command The IBASIC programming examples are provided to assist the programmer in understanding the use of the Test Set ...

Страница 330: ...he Test Set s file system supports both LIF and DOS The media format DOS or LIF is determined automatically by the Test Set s file system when the mass storage device is first accessed and the appropriate format is used from then on for mass storage operations Table 31 Test Set Default File System Activity Default File System Manual front panel operations SAVE RECALL register access c TESTS Subsys...

Страница 331: ... disk drives connected to the Test Set s external HP IB Internal static random access memory SRAM cards which are inserted into the Test Set s front panel Memory Card slot Internal read only memory ROM cards also called One Time Programmable or OTP cards which are inserted into the Test Set s front panel Memory Card slot NOTE The hardware for reading from and writing to memory cards is located int...

Страница 332: ...TERNAL 4 ROM or SRAM card Remove SRAM card from test set INTERNAL DATA BUS ROM Disk Memory 0 4 RAM Disk memory 0 n n 0 1 2 3 HP IB I O 7XX n XX 0 to 30 n 0 1 On board RAM HP IB Rear Panel HP IB LIF CS80 3 1 2 Drive 9122 9133 4 9153 9154 External Disk Drive On board ROM Front Panel Memory Card Slot Microprocessor ch5drw1 drw ...

Страница 333: ...the five types of mass storage devices Typical Uses Temporary program and data storage Temporary Save Recall register storage Comments Easily overwritten or erased Not recommended for permanent program or data storage Unit 1 can be overwritten by the COPY_PL utility program ROM Disk Units 2 and 3 are not overwritten by any ROM Disk utility program Table 32 RAM Disk Mass Storage Overview Mass Stora...

Страница 334: ...ed diagnostic programs Comments Non erasable Not available for user program or data storage Not available for Save Recall register storage Table 33 ROM Disk Mass Storage Overview Mass Storage Name Mass Storage Type Physical Location Mass Storage Volume Specifier Media Type Supported File System s ROM Disk Read only memory Test Set internal memory board MEMORY 0 4 N A LIF ...

Страница 335: ...me of Test Set s mass storage devices Table 34 External Disk Mass Storage Overview Mass Storage Name Mass Storage Type Physical Location Mass Storage Volume Specifier Media Type Supported File System s External Disk HP IB Hard disk drive HP IB Floppy disk drive Connected to Test Set s external HP IB 7xx n xx device address 0 30 n unit number range device dependent Hard disk NA Floppy disk 3 5 in D...

Страница 336: ...ry supplied utility programs Permanent storage of factory supplied diagnostic programs Table 35 SRAM Card Mass Storage Overview Mass Storage Name Mass Storage Type Physical Location Mass Storage Volume Specifier Media Type Supported File System s SRAM Memory Card Static Random Access Memory Card Plugs into Memory Card slot on front panel of Test Set INTERNAL 4 EPSON SRAM Memory Card LIF DOS Table ...

Страница 337: ...337 Chapter 6 Memory Cards Mass Storage Mass Storage Device Overview Comments Non erasable Not available for user program or data storage Not available for Save Recall register storage ...

Страница 338: ...ss storage location for the Save Recall registers is the Test Set s internal RAM no mass storage volume specifier after any of the following conditions power up initializing RAM with the SERVICE screen s RAM Initialize function resetting the Test Set using the front panel PRESET key resetting the Test Set using the RST HP IB Common Command The mass storage location for Save Recall registers can be...

Страница 339: ...ection not changeable MEMORY 0 0 Disk selection the External Disk Specification field in the TESTS External Devices screen Selecting the Mass Storage Location The IBASIC mass storage location is selected using the IBASIC Mass Storage Is command The mass storage volume specifier for the desired mass storage location is appended to the Mass Storage Is command Refer to the HP Instrument BASIC User s ...

Страница 340: ...ed procedure file names are prefixed with a lower case p pFM_TEST A corresponding code file prefixed with a lower case c cFM_TEST on the must reside on the same media for the procedure to work Refer to the TESTS screen description in the User s Guide for further information on the TESTS Subsystem The TESTS Save Delete Procedure screen using the Select Procedure Location and Enter Procedure Filenam...

Страница 341: ...he media format DOS or LIF is determined automatically by the IBASIC file system when the mass storage device is first accessed and the appropriate format is used from then on DOS and LIF use different file naming conventions In addition the Test Set uses certain file naming conventions which are unique to the Test Set Unexpected file operation can occur if proper consideration is not given to the...

Страница 342: ...DOS File Naming Conventions The DOS file system is used on IBM compatible personal computers The DOS file system is hierarchical which means it supports subdirectories The DOS file system allows up to 8 character file names with an optional extension of up to 3 characters The file name is separated from the extension if it exists with a period DOS file names are case independent The characters are...

Страница 343: ...ile naming convention The _ prefix is used to indicate a stored Save Recall register file and is prefixed onto the file name when the file is created The Test Set s Signaling Decoder in NMT mode uses the following file naming convention The n prefix is used to indicate a stored NMT file and is prefixed onto the file name when the file is created Test Set File Entry Field Width The TESTS Subsystem ...

Страница 344: ...file beginning with the letter l upper or lower case is considered a TESTS Subsystem library file On a LIF formatted disk any file beginning with a lower case l is considered a TESTS Subsystem library file If the TESTS Subsystem attempts to retrieve a file which is not a library file the following error will be generated Error reading library file Check file and media When reading files from mass ...

Страница 345: ...exclusively in DOS the following naming conventions are recommended Ensure that only TESTS Subsystem procedure files begin with the letter p upper or lower case Ensure that only TESTS Subsystem library files begin with the letter l upper or lower case Ensure that only TESTS Subsystem code files begin with the letter c upper or lower case Ensure that only user written NMT test files begin with the ...

Страница 346: ... containing ASCII characters BDAT files containing binary data DIR DOS subdirectory DOS HP UX STOREd code file Storing Code Files Two IBASIC commands are available for storing program code to a mass storage location SAVE and STORE The type of file created by the Test Set s file system when the program code is stored is dependent upon the format of the media being used The type of file created vers...

Страница 347: ...in the procedure file is the name of the code file used with that procedure 3 The Run Test softkey is selected When the Run Test softkey is selected the Test Set attempts to load the code file into memory If the code file is located on a DOS formatted media the Test Set will attempt to GET the file the Test Set assumes the file was stored using the SAVE command If the code file was stored to the D...

Страница 348: ...en by selecting the front panel TESTS key 2 Using the rotary knob select the Select Procedure Location field and choose ROM from the choices 3 Using the rotary knob select the Select Procedure Filename field A list of Test Procedures stored on the ROM disk is displayed in the Choices field Using the rotary knob select the Test Procedure of interest 4 A brief description of the Test Procedure will ...

Страница 349: ...attery to maintain stored information Inserting and Removing Memory Cards Figure 20 illustrates how to insert a memory card into the Test Set s front panel To remove a memory card simply pull it out The Test Set s memory card label is marked with an arrow that must be inserted on the same side as the arrow shown on the front panel slot Memory cards may be inserted and removed with the Test Set pow...

Страница 350: ...350 Chapter 6 Memory Cards Mass Storage Using Memory Cards Figure 20 Inserting a Memory Card ...

Страница 351: ...e user secure its contents from being overwritten or erased The switch has two positions see figure 21 Read write The memory card contents can be changed or erased and new files may written on the card Read only The memory card contents can be read by the Test Set but cannot be changed or erased Figure 21 Setting the SRAM Write Protect Switch ...

Страница 352: ...venting the card s contents from being lost 2 Hold the memory card in the slot with one hand and pull the battery holder out with your other hand See figure 22 3 Install the battery with the side marked on the same side marked on the battery holder Avoid touching the flat sides of the battery finger oils may contaminate battery contacts in the memory card 4 Re insert the battery holder into the me...

Страница 353: ...th the MSI Mass Storage Is command are lost when the Test Set is turned off Memory Card Initialization All new SRAM cards must be initialized before they can be used to store information The RAM_MNG procedure stored on the internal ROM Disk can be used to quickly initialize any SRAM memory card SRAM Memory Cards can also be initialized from the TESTS IBASIC Controller screen by inserting the memor...

Страница 354: ...e an uninitialized SRAM memory card This program does not make backup copies of TESTS Subsystem s code files or copy any type of file to OTP memory cards The COPY_PL procedure is designed for use with HP 11807 software to make backup copies of Hewlett Packard supplied TESTS Subsystem s Procedure and Library files or user generated TESTS Subsystem s Procedure and Library files To run COPY_PL 1 Acce...

Страница 355: ...Set STORE or SAVE1 the file to the destination memory card 1 See Storing Code Files on page 346 for information about the LOAD GET STORE and SAVE commands Copying an Entire Volume An entire volume can be copied from one mass storage device to the same type of mass storage device using the volume copy form of the COPY command The destination volume must be as large as or larger than the source volu...

Страница 356: ...ype on the source media LIF or DOS is forced onto the destination media Caution should be exercised when using the volume copy form of the COPY command The Test Set only supports the following types of volume copy using the volume copy form of the COPY command 1 Like media to like media RAM disk to RAM disk external floppy to external floppy and so forth 2 Like file system to like file system DOS ...

Страница 357: ...he contents of RAM Disk unit 0 from the TESTS IBASIC Controller screen execute the following command CAT MEMORY 0 0 Volume 0 s contents can be viewed and loaded from the TESTS IBASIC Controller screen the TESTS Main Menu screen the TESTS Save Delete Procedure screen and the Signaling Decoder screen in NMT mode Volumes 1 2 and 3 can only be accessed from the TESTS IBASIC Controller screen NOTE RAM ...

Страница 358: ... initialized from the TESTS IBASIC Controller screen The optional unit size parameter in the following procedure specifies the memory area in 256 byte blocks set aside for each disk unit Follow these steps to initialize volumes 1 2 or 3 1 Access the TESTS IBASIC Controller screen 2 Using the rotary knob or an external terminal enter and execute the IBASIC command INITIALIZE MEMORY 0 unit number 1 ...

Страница 359: ...2 1 Initializing External Disks All new external disk media must be initialized before it can be used to store information External disk media can be initialized for either LIF Logical Interchange Format or DOS Disk Operating System format using the Test Set See DOS and LIF File System Considerations on page 341 External disk media can be initialized from the TESTS IBASIC Controller screen by inse...

Страница 360: ...360 Chapter 6 Memory Cards Mass Storage Using External Disk Drives ...

Страница 361: ...361 7 IBASIC Controller ...

Страница 362: ...amming language called Instrument BASIC or IBASIC Using this programming language it is possible to develop programs which use the Test Set s instruments to automatically test a variety of radios Software is available from Hewlett Packard the HP 11807 series for testing the major radio systems currently in use today Users can also develop their own IBASIC programs for automated radio testing This ...

Страница 363: ...s the TESTS IBASIC Controller screen as shown in figure 23 This screen is accessed as follows Select the front panel TESTS key The TESTS Main Menu screen will be displayed Using the rotary knob position the cursor on the IBASIC field in the lower center of the screen Push the rotary knob and the TESTS IBASIC Controller screen will be displayed Figure 23 The IBASIC Screen ch6drw1 drw ...

Страница 364: ...rea The five highlighted areas within the softkey label area correspond to the five special function keys on the front panel of the Test Set IBASIC programs can assign tables to these keys and control program execution by using ON KEY interrupts The vertical rectangle at the bottom right side is the To Screen area and is the same as the To Screen area displayed on any other Test Set screen The use...

Страница 365: ...an IBASIC program follow these basic steps 1 Use the DISPlay command to select the screen for the instrument whose front panel contains the desired measurement result or data field such as AF ANALYZER 2 Set the measurement field such as SINAD to the ON state 3 Trigger a reading 4 Read the result NOTE The following sections discuss developing IBASIC programs which do not use the TESTS Subsystem Pro...

Страница 366: ...evelopment method will typically be driven by available equipment and extent of development task If the development task is large it is strongly recommended that a BASIC language computer be used as outlined in development Method 1 Method 2 is recommended for large program modification or smaller program development Method 2 uses an external PC or terminal as the CRT and keyboard for the built in ...

Страница 367: ...32 using terminal emulator program Develop on BASIC Language Computer external to Test Set Connect HP IB cable to Test Set and run program from external computer Debug Run Program Debug Debug Save program in mass storage Method 1 Method 2 Method 3 Not Recommended Change Address in program and download into Test Set Verify program operation in IBASIC environment Save program in mass storage Save pr...

Страница 368: ...Set must first be configured to operate with a PC or terminal This includes Hardware Cables Screens I O CONFIGURE and TESTS IBASIC Controller There are two independently controllable serial interfaces in the Test Set each using a 3 wire transmit receive ground implementation of the RS232 standard The IBASIC Controller can send and receive data from either port by using its assigned select code Ser...

Страница 369: ...ernal PC or terminal and serial port 10 can be connected to a serial printer for generating program listings or as the destination printer for the program itself This is schematically shown in figure 26 on page 371 If simultaneous multiple serial I O is not a requirement then only use serial port 9 as it can directly access the IBASIC Command Line field For your convenience figure 25 on page 370 a...

Страница 370: ...ale 15 meter cable 98642 66505 Table 39 Available HP RS232 Serial Cables and Adapters Device for RS232 Serial connections Typical Uses Description HP Part Number 08921 61038 08921 61039 98642 66508 08921 61031 98642 66505 6 pin RJ 11 Male 9 pin DB 9 Female 6 pin RJ 11 Male 6 pin RJ 11 Male 6 pin RJ 11 Male 6 pin RJ 11 Male 25 pin DB 25 Male Dual 6 pin RJ 11 Female 6 pin RJ 11 Female in back of ada...

Страница 371: ...al Ports Figure 26 Connecting the Test Set Serial Port to a PC or Terminal Table 40 Port 9 or Port 10 serial cable connections RJ 11 pins Signal DB 9 pins 6 Transmit Address 10 2 5 Transmit Address 9 2 4 Ground 5 3 not used 2 Receive Address 9 3 1 Receive Address 10 3 ch6drw4 drw ...

Страница 372: ...SIC Echo field to ON This will cause IBASIC character output from commands such as LIST PRINT or DISPLAY or error messages to echo characters to Serial Port 9 the characters will in turn show up on the external PC or terminal screen This will allow program listings and syntax error messages to be seen on the external PC or terminal 6 Another method which can be used to output characters to the ext...

Страница 373: ...like printers which may have small input buffers it is important to set Rcv Pace and Xmt Pace to Xon Xoff This allows the printer to stop data transmission from the Test Set when the printer s buffer is full and then start it again when the printer is ready Table 41 Test Set Serial Port 9 Configuration Field Available Settings Recommended Setting Serial In Inst IBASIC Inst IBASIC Echo On Off On In...

Страница 374: ...e and user defined setup Refer to the instructions shipped with the PC for hardware and software configuration information Terminal Emulator Configuration Information A terminal emulator is an application program running on the PC that communicates with one of the serial communication ports installed in the PC It provides a bi directional means of sending and receiving ASCII characters to the Test...

Страница 375: ...o match the following Terminal Modes Line Wrap Off Local Echo Off Sound Off Columns 132 CR CR LF Inbound Off Outbound Off Cursor Block Blink On Terminal Font Fixedsys Translations None Show Scroll Bars On Buffer Lines 100 Use Function Arrow and Ctrl Keys for Windows Off 6 From the Terminal menu select Settings then Text Transfers 7 Edit the Text Transfer settings to match the following Flow Contro...

Страница 376: ... to the IBASIC Controller using Serial Ports Example Terminal Communications Settings Baud Rate 9600 Data Bits 8 Stop Bits 1 Parity None Flow Control Xon Xoff Connector Com1 be sure to match your current setup Parity Check Off Carrier Detect Off ...

Страница 377: ...r field 3 Press ENTER to accept the displayed choice Setting up the ProComm Software 1 Press Alt P to access the LINE SETTINGS window 2 Enter the number 11 This will automatically set the following Baud rate 9600 Parity None Data Bits 8 Stop Bits 1 Selected communications port COM1 This may be different on your PC 3 To select a different communications port enter the following numbers 20 COM1 21 C...

Страница 378: ...ion BS Line wrap ON Scroll ON Break length ms 350 Enquiry CNTL E OFF 12 Press Esc to exit Terminal Setup back to the Setup Menu 13 Enter the number 4 for General Setup Translate Table OFF Alarm sound OFF Alarm time secs 1 Aborted downloads KEEP 14 Press Esc to exit General Setup back to the Setup Menu 15 On the Setup Menu press S to save your entries 16 Press Esc to exit the Setup Menu 17 Press Al...

Страница 379: ...he displayed choice 2 Press the NEXT CHOICE and PREVIOUS CHOICE keys to move among the choices for a particular field Setting up the AdvanceLink Software 1 Press the TERMINAL function key 2 Press CONFIG KEYS 3 Press GLOBAL CONFIG Keyboard USASCII Personality ANSI Language ENGLISH Terminal Mode Alphanumeric Remote To enter your PC s selected serial port number often Serial 1 Printer I F None Memory...

Страница 380: ...nhEolWrp C NO Line Page D LINE InhHndShk G NO Inh DC2 H NO Esc Xfer N YES ASCII 8 Bits YES Fld Separator down arrow or US BlkTerminator up arrow or RS ReturnDef musical note or CR Copy Fields Type Ahead NO Row Size 160 Host Prompt Character left arrow or D1 Horiz Scrolling Increment 08 8 Press DONE to return to the Config screen 9 Press DONE to return to the Terminal screen 10 Press MAIN to return...

Страница 381: ...typically have a DB 25 male connector Set the terminal for DEC VT 100 ANSI emulation Many ASCII terminals will also function properly To set up the terminal use the field settings found in the HP AdvanceLink terminal emulator section found earlier in this chapter As a minimum make sure the terminal s basic setup information matches the fields on the Test Set s I O CONFIGURE screen refer to table 4...

Страница 382: ...C environment Develop in Word Processor on PC Download into Test Set over RS 232 using terminal emulator program Develop on BASIC Language Computer external to Test Set Connect HP IB cable to Test Set and run program from external computer Debug Run Program Debug Debug Save program in mass storage Method 1 Method 2 Method 3 Not Recommended Change Address in program and download into Test Set Verif...

Страница 383: ...rage is usually an SRAM card When running IBASIC programs on the Test Set s internal controller the Test Set displays only the IBASIC screen not the individual instrument screens as the program executes This makes troubleshooting larger programs more difficult Method 3 The third method of program development is to use a word processor on a PC with RS 232 and then download the program into the Test...

Страница 384: ... Method 1 Program Development on an External BASIC Language Computer Figure 28 Connecting IBASIC Language Computers to the Test Set HP IB HP 200 300 Series Controller Test Set Personal Computer BASIC language environment and HP IB I O card HP IB Connect to HP IB connector on rear panel or ch6drw5 drw ...

Страница 385: ...r conflict between the external BASIC language computer and the Test Set resulting in either an Interface Status Error or lock up of the HP IB Refer to Passing Control on page 318 3 Set the HP IB Adrs field to the desired address for the Test Set The default value is 14 Compatible BASIC Language Computers As shown in figure 28 on page 384 there are two types of computers that can be used in this d...

Страница 386: ... install 1 Install the HP 82341B C into an open expansion slot Refer to the interface card s in stallation guide details Utilize the default card settings 2 Install the SICL libraries using the SETUP32 EXE setup file 3 Run the SICL I_O Config program to configure the card 4 Select HP 82340 82341 HP IB from the available interface list of choices 5 Select the Configure command button Use the defaul...

Страница 387: ...omputer treating the Test Set as a device on the external BASIC language computer s HP IB For example to setup the Test Set s RF Generator use the OUTPUT command with the Test Set s HP IB address If the select code of the HP IB card in the external BASIC language computer is 7 and the address of the Test Set is 14 the address following the OUTPUT command would be 714 When the command executes on t...

Страница 388: ...Test Set to reset at address 814 A second method is to assign an I O path to the desired I O port For example To control device 14 on the port with select code 7 20 Establishes IO path to select code 7 address 14 10 ASSIGN Device TO 714 30 Commands Test Set to reset at address 714 20 OUTPUT Device RST To change the address simply change line 10 to 10 ASSIGN Device TO 800 NOTE The dedicated HP IB i...

Страница 389: ...ayed 1 OUTPUT 714 PROG DEL ALL Deletes any programs that reside in Test Set RAM 2 OUTPUT 714 PROG DEF 0 Defines the address in Test Set RAM where the downloaded program will be stored 3 LIST 714 Causes all program lines to transfer over HP IB to the Test Set which is at address 714 4 OUTPUT 714 END Defines end of download process by generating an EOI command After the above commands complete the p...

Страница 390: ...tiate the upload must be running on the external BASIC language controller The uploaded program is stored to a file specified by the user In the following program the external BASIC language controller is a PC running TransEra HT BASIC The file is stored to the C HTB386 directory If the external BASIC language controller is an HP 9000 Series 200 300 Workstation modify the mass storage volume speci...

Страница 391: ...est Set display 170 OUTPUT 714 PROG DEF Initiates the upload of whole program 180 ENTER Addr USING X D Count_len Number of lines in program 190 ENTER Addr USING VAL Count_len D Char_count Number of characters 200 210 File_name_1 CREATE ASCII C htb386 code 1 05 Char_count 256 5 220 Number of records reserved for upload 230 File_name_2 ASSIGN File TO C htb386 code 240 250 DISP Transferring code from...

Страница 392: ...ually an SRAM memory card When running IBASIC programs on the Test Set s internal controller the Test Set displays only the IBASIC screen The Test Set s IBASIC controller has an editor that is interactive with a terminal or PC over the RS 232 serial port The editor does not work unless a terminal or PC with terminal emulator is connected to Serial Port 9 The editor hereafter referred to as the IBA...

Страница 393: ...p left is the IBASIC Command Line To Access the IBASIC Command Line Field 1 Position the cursor on the screen s upper left This is the IBASIC Command Line field 2 The IBASIC Command Line field does not have a title like other fields in the Test Set it is the highlighted horizontal 2 line bar just below the screen title TESTS IBASIC Controller To Use the IBASIC Command Line Field with the Test Set ...

Страница 394: ...that the IBASIC controller is running to support the full screen edit mode After editing is complete exit the IBASIC EDIT Mode by pressing the terminal or PC s ESCAPE key twice or pressing the SHIFT CANCEL keys on the Test Set A variety of editing commands are supported by the IBASIC EDIT Mode These commands are activated in the Test Set as escape code sequences Most terminals and PC terminal emul...

Страница 395: ...d Setting Up Function Keys in HP AdvanceLink From the Main highest level screen set up the 8 softkeys as follows 1 Display User Definition screens by pressing Ctrl F9 2 Enter all the LABEL titles for K1 through K8 3 Activate the Display Function feature by pressing softkey F7 4 Now you can enter the escape codes for each edit command aligned with the soft key definitions you just entered With the ...

Страница 396: ... Keyboard Macro function This function is accessed by keying Alt M There is no method of displaying key labels so they will have to be recorded elsewhere See the ProComm manual for further information Table 42 Edit Mode Escape Code Commands Function Key Names Windows Terminal Escape Codes HP AdvanceLink Escape Codes INSERT LINE L L DELETE LINE M M GO TO LINE g g CLEAR LINE K K PAGE UP OQ OQ PAGE D...

Страница 397: ...nes it is very time consuming to transfer the code into the Test Set Configuring a Word Processor The word processor on which the IBASIC code is developed must be able to save the file in ASCII format and have an ASCII file transfer utility This is necessary because word processors use a variety of escape codes to mark all the special display formats such as bold face font size indented text and t...

Страница 398: ...secutive line just like an IBASIC language program 3 Typically begin with 10 and increment by ten for each consecutive line 4 Do not leave any space or double space between lines 5 Make sure to use hard carriage return line feeds at the end of each line 6 When saving the completed program save it as an ASCII file Some word processors have ASCII options which require that the user specify CR LF at ...

Страница 399: ... the IBASIC program memory Each line takes about two seconds to scroll in and be parsed This becomes very time consuming for long programs An alternative for longer programs is discussed later in this section To start the transfer process make sure there is no program in the Test Set s IBASIC RAM memory by executing a SCRATCH command from the IBASIC Command Line The following example shows how to ...

Страница 400: ...gram memory through the RS 232 serial port is too time consuming To speed the process up it is necessary to transfer the program using a two step process 1 Transfer the ASCII text file directly to a Test Set mass storage location typically an SRAM card 2 Perform a GET command to bring the program from mass storage into the IBASIC pro gram memory To perform the ASCII text file transfer for long pro...

Страница 401: ...TPUT 800 CONF SPORT SIN IBASIC IBECHO OFF 220 CALL Code File_name In 230 END 240 Purge_it SUB Purge_it Purges File_name on card 250 COM File_name File_name 260 OFF ERROR 270 PURGE File_name INTERNAL 280 SUBEND 290 Code SUB Code File_name In 300 ON ERROR CALL Purge_it Branches if CREATE statement returns error 310 CREATE ASCII File_name INTERNAL 650 Creates file on card 320 OFF ERROR 330 ASSIGN Fil...

Страница 402: ...Select Transfers 7 Select Send Text File 8 Set Strip LF off and Append LF off It is important that the line feeds that are in the ASCII file not be stripped or the file transfer will not work 9 Select or enter the file name to transfer 10 Begin the transfer by selecting OK At this point each line of the program will rapidly scroll across the screen of the Test Set When the transfer is finished the...

Страница 403: ... LF 10 Translation NONE This is important since the default setting will strip line feeds and this will cause the transfer to never begin 11 Select the Escape key to exit setup mode and return to the main screen 12 Press Alt F10 to access the help menu 13 To begin sending the file select PgUp 14 In the UPLOAD screen select 7 ASCII protocol 15 Run the ASCII_DN download program on the Test Set 16 Wh...

Страница 404: ...e program to Serial Port 9 position the cursor on the IBASIC Command Line field Execute the command PRINTER IS 9 This command sets Serial Port 9 as the default printer port When PRINT commands are executed ASCII characters will be sent to Serial Port 9 On the PC select Receive Text File in Windows Terminal or Receive Files PgDn which is called Download in ProComm Enter a file name then initiate th...

Страница 405: ... port configuration refer to the Test Set Serial Port Configuration on page 368 For connection information refer to figure 26 on page 371 Before using either port the RS 232 protocol must be established by setting baud rate pacing and the other settings as explained in Test Set Serial Port Configuration on page 368 Functionally from an I O perspective the two serial ports are identical However ope...

Страница 406: ...d 40 Outputs ASCII characters on Serial Port 10 beginning with ASCII 50 character 32 space and ending with ASCII character 126 60 Characters are output with no CR LF 70 OUTPUT 9 When you are ready to send data on port10 press ENTER 80 OUTPUT 800 CONF SPOR SIN IBASIC BAUD 9600 90 Allows IBASIC to read port 9 100 DIM A 10 110 ENTER 9 A Program waits here until CR LF is received 120 130 I 32 140 HILE...

Страница 407: ...rument Echo Not available for Port 10 There is no Test Set screen that shows Serial Port 10 s settings Therefore to know Serial Port 10 settings they must either be set or queried using IBASIC commands For example the following IBASIC program queries the baud rate setting of Serial Port 10 10 DIM Setting 20 20 OUTPUT 800 CONF SPB BAUD Initiates a query 30 ENTER 800 Setting 40 DISP Setting 50 END T...

Страница 408: ...andard Commands for Programmable Instruments SCPI Standard The PROGram Subsystem commands as implemented in the Test Set can be used to download an IBASIC program from an external controller into the Test Set upload an IBASIC program from the Test Set into an external controller control an IBASIC program resident in the Test Set from an external controller set or query program variables within an ...

Страница 409: ...commended that you obtain a copy of the book A Beginner s Guide to SCPI ISBN 0 201 56350 Addison Wesley Publishing Company Test Set PROGram Subsystem The Test Set was designed to store only one IBASIC program in RAM memory at any given time The PROGram Subsystem commands as implemented in the Test Set operate differently than described in the SCPI Standard In addition the SCPI PROGram Subsystem co...

Страница 410: ... EXPLicit DEFine EXPLicit DELete EXPLicit EXECute EXPLicit MALLocate EXPLicit MALLocate EXPLicit NUMBer EXPLicit NUMBer EXPLicit STATe EXPLicit STATe EXPLicit STRing EXPLicit STRing EXPLicit WAIT NOTE Sending the Test Set any of the unsupported SCPI PROGram Subsystem commands can result in unexpected and or erroneous operation of IBASIC This may require the Test Set s RAM to be initialized from th...

Страница 411: ... Set Optional keyword this is the default state the Test Set will process the command to have the same effect whether the optional keyword is included by the programmer or not Specific SCPI defined parameter types Refer to the SCPI Standard for definitions of the SCPI defined parameter types One or more parameters that must be included one or more times Separator for choices for a parameter Can be...

Страница 412: ... there is an IBASIC program resident in the Test Set when in actuality there is not This situation would exist for example if an IBASIC program had been created and downloaded using the DEFine command and then deleted from the front panel using the SCRATCH ALL command from the IBASIC Command line Under this circumstance IBASIC Error 282 would be generated when another attempt is made to download a...

Страница 413: ... END IEEE 488 1 END message This terminates the block transfer and is only sent once with the last byte of the indefinite block data Example BASIC program to download an IBASIC program to Test Set 10 OUTPUT 714 PROG DEL ALL Delete current program 20 OUTPUT 714 PROG DEF 0 Create program send header 30 OUTPUT 714 10 FOR J 1 TO 10 1st prog line 40 OUTPUT 714 20 DISP J 2nd prog line 50 OUTPUT 714 30 B...

Страница 414: ...es the number of data bytes being sent followed by the number of data bytes specified by the count field Example 16 data byte data byte data byte data byte data byte data by te Example BASIC program to download an IBASIC program to Test Set 10 OUTPUT 714 PROG DEL ALL Delete current program 20 OUTPUT 714 PROG DEF 257 Create program send header 30 OUTPUT 714 10 FOR J 1 TO 10 18 characters CR LF 40 O...

Страница 415: ...header which begins with a followed by a single non zero digit in the range 1 9 which specifies the number of digits in the following count field followed by a series of digits in the range of 0 9 which gives the number of data bytes being sent followed by the number of data bytes specified by the count field Example 16 data byte data byte data byte data byte data byte data byte The transfer is te...

Страница 416: ...am add 5 records for buffer 90 CREATE ASCII File_name Chars_total 256 5 100 ASSIGN File TO File_name 110 LOOP 120 ENTER 714 Prog_line Read in one program line 130 OUTPUT File Prog_line Store in file 140 Chars_xferd Chars_xferd LEN Prog_line 2 CR LF not read 150 EXIT IF Chars_xferd Chars_total 160 END LOOP 170 ENTER 714 Msg_terminator Terminate the block data transfer 180 ASSIGN File TO 190 END DEL...

Страница 417: ...ror is generated Any IBASIC program in the Test Set must be in either the PAUSed or STOPped state before the external controller issues the EXECute program_command command If the IBASIC program is in the RUN state an IBASIC Error 284 Program currently running is generated Syntax PROGram SELected EXECute delimiter program_command delimiter The following notation is used in the command description d...

Страница 418: ...ollowing error HP IB Error 112 Program mnemonic too long If an attempt is made to set the value of a numeric variable or array and no IBASIC program is in the Test Set an IBASIC Error 282 Illegal program name is generated If an attempt is made to set the value of a numeric variable or array and the numeric variable specified in varname does not exist in the program an IBASIC Error 283 Illegal vari...

Страница 419: ...an 12 characters as character data var_name not enclosed in quotes will generate the following error If the variable name var_name is longer than 12 characters it must be sent as string data var_name enclosed in quotes For example OUTPUT 714 PROG NUMB Var_name HP IB Error 112 Program mnemonic too long For simple variables the value is returned as a series of ASCII characters representing a numeric...

Страница 420: ...f HP Rocky Mountain BASIC programming language running on an HP 9000 300 Series Controller Example querying the value of a simple variable OUTPUT 714 PROGram SELected NUMBer Variable ENTER 714 Value or OUTPUT 714 PROG NUMB Variable ENTER 714 Value This example assumes that the variable named Value in the ENTER statement is the same type as the variable named Variable in the IBASIC program Example ...

Страница 421: ...mp Find comma separator 90 Result_array N VAL Temp 1 Pos_comma 1 Put value into array 100 Temp Temp Pos_comma 1 Remove value from temporary string 110 UNTIL POS Temp 0 Check for last value in temporary string 120 Result_array N 1 VAL Temp Put last value into array 130 END The above example assumes that the dimensioned size of the IBASIC array is small er than the dimensioned size of the array name...

Страница 422: ...tax PROGram SELected STATe RUN PAUSe STOP CONTinue Example OUTPUT 714 PROGram SELected STATe RUN or OUTPUT 714 PROG STAT RUN Table 43 Effect of STATe Commands Desired State of IBASIC Program STATe command sent to Test Set Current State of IBASIC Program RUNNING PAUSED STOPPED RUN HP IB Error 221 Settings conflict RUNNING RUNNING CONT HP IB Error 221 Settings conflict RUNNING HP IB Error 221 Settin...

Страница 423: ...turn data RUN STOP or PAUS is sent as a series of ASCII characters The program execution states are defined as follows RUN the program is currently executing PAUS the program has reached a break in execution but can be continued STOP program execution has been terminated Syntax PROGram SELected STATe Example OUTPUT 714 PROGram SELected STATe ENTER 714 State or OUTPUT 714 PROG STAT ENTER 714 State ...

Страница 424: ...pend the IBASIC string identifier onto the string variable name the string variable name must be sent as string data that is enclosed in quotes For example OUTPUT 714 PROG STR Var_name data Appending the IBASIC string identifier onto the string variable name without enclosing the string variable name in quotes will generate HP IB Error 101 Invalid character If an attempt is made to set the value o...

Страница 425: ...am in the Test Set varname is the name of an existing string variable or string array in the IBASIC program NOTE If the variable name var_name is longer than 12 characters it must be sent as string data var_name enclosed in quotes For example OUTPUT 714 PROG STR Var_name Attempting to send a var_name longer than 12 characters as character data var_name not enclosed in quotes will generate the foll...

Страница 426: ...TE The program commands and syntax used to enter string data from the Test Set into the external controller will depend upon the programming language used in the external controller The examples which follow represent the capabilities of HP Rocky Mountain BASIC programming language running on an HP 9000 300 Series Controller Example of querying the value of a simple string variable OUTPUT 714 PROG...

Страница 427: ...arator 90 Temp_array N Temp 2 Pos_comma 2 Put value into array 100 Temp Temp Pos_comma 1 Remove value from temporary string 110 UNTIL POS Temp 0 Check for last value in temporary string 120 Temp_array N 1 Temp 2 LEN Temp 1 Put last value in array 130 END The above example assumes that the total number of characters in the dimensioned size of the IBASIC string array named Array is smaller than the ...

Страница 428: ...for the HP IB input buffer to empty If a query command is sent to the Test Set while the IBASIC program is under the influence of a WAIT command no data will be put into the Test Set s Output Queue until the IBASIC program is either PAUSED or STOPPED If the external controller attempts to enter the queried data before the IBASIC program is PAUSED or STOPPED the HP IB bus will appear to be locked u...

Страница 429: ...on the enter or input statement until the IBASIC program is either STOPPED or PAUSED This is due to the fact that the HP IB bus and the external controller will be in a temporary holdoff state while waiting for the Test Set to put a 1 into the Output queue to satisfy the WAIT query command Syntax PROGram SELected WAIT Example OUTPUT 714 PROGram SELected WAIT ENTER 714 Dummy or OUTPUT 714 PROG WAIT...

Страница 430: ...30 OUTPUT 714 PROG STAT 40 ENTER 714 State 50 EXIT IF State STOP OR State PAUS 60 END LOOP 70 DISP IBASIC program not running 80 END Example BASIC program using the WAIT query command 10 OUTPUT 714 PROG STAT RUN 20 OUTPUT 714 PROG WAIT 30 ENTER 714 Dummy Program will hang here until IBASIC program stops 40 DISP IBASIC program not running 50 END ...

Страница 431: ... Mountain BASIC programming language running on an HP 9000 300 Series Controller When a PROGram Subsystem command is sent to the Test Set through HP IB from an external controller the Test Set is put into REMOTE mode The Test Set must be put in LOCAL mode to use the front panel keys or to use the serial ports to input data into the IBASIC Command line Entering a new IBASIC program line IBASIC prog...

Страница 432: ...epresents an existing IBASIC program line For example to edit the following existing program line in the Test Set 30 OUTPUT 814 AFAN DEMP GAIN 20 dB to 30 OUTPUT 814 AFAN DEMP GAIN 10 dB execute the following command from the external controller OUTPUT 714 PROG EXEC 30 OUTPUT 814 AFAN DEMP GAIN 10 dB Quoted strings such as those used in OUTPUT commands must use double quotes Listing A Program Exec...

Страница 433: ...f no program is available When run the sample program clears the Test Set s IBASIC Controller display area and prints a message indicating that the download procedure worked 10 THIS IS A SAMPLE PROGRAM 20 CLEAR SCREEN 30 PRINT DOWNLOADING COMPLETED 40 END 3 Execute the following commands on the external controller OUTPUT 714 PROG DEL ALL OUTPUT 714 PROG DEF 0 LIST 714 OUTPUT 714 END 4 To verify th...

Страница 434: ...m line in Test Set 30 DIM File_name 10 Holds the name of file to store IBASIC program 40 Addr 714 Test Set HP IB address 50 LINPUT Enter name of file to store IBASIC program in File_name 60 OUTPUT Addr PROG DEF 70 ENTER Addr USING X D Count_length Get length of count field 80 Get number of characters in program includes CR LF on each line 90 ENTER Addr USING VAL Count_length D Chars_total 100 Crea...

Страница 435: ...reset 2 If the memory card has not been initialized insert it into the Test Set and execute the following command on the external controller OUTPUT 714 PROG EXEC INITIALIZE INTERNAL 4 3 Insert the initialized memory card into the Test Set 4 Define the memory card as the Mass Storage device by executing the following command on the external controller OUTPUT 714 PROG EXEC MSI INTERNAL 4 5 Save the ...

Страница 436: ...e with the information needed to test a radio a hardcode the information directly into the software or b store the information outside the program code itself and make it available to the software as needed Hardcoding the information into the software has several serious drawbacks changing the information is difficult and the software becomes specific to that radio type Storing the information out...

Страница 437: ...by a lower case c in the HP 8921A This tells the TESTS Subsystem that this particular file contains program code Library Files A Library indicates all of the available test subroutines in the code the set of all parameters that might be entered using the user interface screens and all specifications that might be used by the subroutines in the code to decide if a test point passes or fails Only on...

Страница 438: ...he choices available in the Library These files are preceded with alower case p in the Test Set but are not required to have the same base name as either the Library or the Code The name of the corresponding Library if any is stored in each Procedure file Figure 29 TESTS Subsystem File Relationship IBASIC Test Code cName Code for all possible radio tests Test Library lName Set of all parameters sp...

Страница 439: ...he procedure to be loaded The Select Procedure Filename field is used to select the name of the procedure to be loaded The Description field gives the user a brief description of the procedure currently selected in the Select Procedure Filename field To view all the Procedures available on the mass storage location currently selected in the Select Procedure Location field position the cursor on th...

Страница 440: ...Subsystem User Interface Screens The TESTS Subsystem allows the user to easily modify the test subroutines parameters specifications and configuration to correspond to the requirements of a specific radio There are several user interface screens provided to allow the user to make modifications ch6drw7 drw ...

Страница 441: ...tch those of the radio being tested audio load impedance audio power power supply voltage The External Devices screen identifies all connected HP IB equipped instruments and their HP IB addresses The Save Delete Procedure screen is used to save or delete Procedures The Printer Setup screen is used to select the printer used for IBASIC PRINT commands and to configure the format of the printer page ...

Страница 442: ...442 Chapter 7 IBASIC Controller The TESTS Subsystem ...

Страница 443: ...using the Call Processing Subsystem s remote user interface For information on how to control the Call Processing Subsystem manually refer to Chapter 6 Call Processing Subsystem in the Test Set s User s Guide It is highly recommended that the programmer be familiar with using the Call Processing Subsystem manually before reading this chapter ...

Страница 444: ...ogramming commands provide the capability to generate control programs which can establish a cellular link between the Test Set and a cellular phone mobile station The status register group and the error messages provide the control program with the information necessary to make program flow decisions Once a link is established the control program can exercise the call processing functionality of ...

Страница 445: ... signaling messages The remote user interface provides commands which allow the control program access to the contents of the decoded messages For forward control channel and forward voice channel signaling messages the Call Processing Subsystem provides the option of sending messages whose contents are built using the rules and regulations specified in the applicable industry standard or the cont...

Страница 446: ...transceiver to the voice channel assigned to the mobile station Once the voice channel link is terminated the Test Set automatically re configures its transceiver back to being a control channel Handoffs are accomplished in a similar manner When a handoff is initiated while on a voice channel the Test Set sends the necessary information to the mobile station on the current voice channel At the pro...

Страница 447: ...Register END key pressed while on an active voice channel State Originate SEND key pressed while Roaming or in Service mode State Page Annunciator Page Meas RECCW A RECCW B RECCW C Page State Access Meas None Annunciator Access State Connected Meas RVCOrdCon Annunciator Connect TX Freq Error TX Power FM Deviation Meas RECCW A RECCW B RECCW C RECCW D RECCW E Release Handoff Phone Number ESN hexadec...

Страница 448: ...tation to the Test Set on page 449 shows a typical example of how to connect a mobile station to the Test Set You may need a special fixture to access the mobile station s antenna audio in and audio out signals These fixtures are available from the mobile station s manufacturer If any audio testing is to be done on the mobile station the audio input microphone input to the mobile station and the a...

Страница 449: ...rt on the front panel of the Test Set as this will cause the overpower protection circuitry to trip when the mobile station is transmitting Refer to the ANT IN field description in the User s Guide for further information Refer to the User s Guide for detailed information on connecting a mobile station to the Test Set ANT IN Manufacturer s Special Fixture AUDIO OUT RF IN OUT AUDIO IN LO HI Antenna...

Страница 450: ...MEAS screens using the DISPlay command The mnemonics used to select a particular screen with the DISPlay command are shown in table 44 The query form of the DISPlay command that is DISPlay can be used to determine which screen is currently displayed Syntax DISPlay screen mnemonic DISPlay Example OUTPUT 714 DISP ACNT OUTPUT 714 DISP ENTER 714 Screen Table 44 Call Processing Screen Mnemonics Screen ...

Страница 451: ...ate command has completed successfully Call Processing Subsystem states do not complete a state is either active or not active Using the OPC OPC or WAI commands with a Call Processing Subsystem state command results in a deadlock condition Refer to the OPC OPC and WAI commands in section Common Command Descriptions on page 213 for descriptions of the deadlock conditions The OPC OPC or WAI commands...

Страница 452: ...ing the presence of the mobile stations s RF carrier b Zeroing the power meter establishes a 0 0000 W reference for measuring the mobile station s RF power at the RF IN OUT port This ensures the most accurate RF power measurements of the mobile stations s RF carrier at different power levels Example OUTPUT 714 RFG AMPL STATE OFF OUTPUT 714 DISP RFAN RFAN PME ZERO OUTPUT 714 RFG AMPL STATE ON NOTE ...

Страница 453: ...se voice channel the raw data message bits are displayed in hexadecimal format in the upper right hand portion of the CALL CONTROL screen Figure 33 on page 453 shows the layout of the CALL CONTROL screen when a decoding error has occurred The raw data bits can be read by the control program Refer to the Display field description on page 465 for information on how to read data in the upper right ha...

Страница 454: ...ram the Call Processing Subsystem and the mobile station For example if the control program wishes to register a mobile station the control program will have to send a command to put the Call Processing subsystem into the Active state then once in the Active state send a registration message by putting the Call Processing Subsystem into the Register state and then determine when to read the mobile...

Страница 455: ...tion may cause problems with the timing of the message protocol between the Test Set and the mobile station Therefore care must be exercised when using the polling technique to allow enough time between polls for processes to execute within the Test Set Some computer systems and or programming languages may not support the service request feature of the HP IB and consequently polling would be the ...

Страница 456: ...e For example the control program should not attempt to read the MIN ESN or SCM until after the Register annunciator is turned off and the Active annunciator is turned on This is because the Test Set has a multitasking architecture wherein multiple processes execute on a priority driven and an event driven basis Each process is given a timeslice on the CPU depending upon its priority the priority ...

Страница 457: ...a or request the data multiple time checking for the presence of data each time or some combination of the two Call Processing Subsystem state changes can be monitored by the control program through the Call Processing Status Register Group See Call Processing Status Register Group on page 453 for further information Table 45 Call Processing Subsystem State Transitions Starting State Command State...

Страница 458: ...TROL Screen Programming The CALL CONTROL Screen Figure 34 The CALL CONTROL Screen The CALL CONTROL screen is the primary Call Processing Subsystem screen It contains the most often used Test Set configuration fields and the command fields used to initiate call processing functions ...

Страница 459: ...er s Guide for further information The Test Set s speaker is turned off when in the Access state This is done to eliminate any possible audio feedback which may occur if the mobile station s microphone is open Active This field is used to turn on the forward control channel of the Test Set or to force a return to the Active state from any other state Register Page Access Connect If the forward con...

Страница 460: ...ween a mobile station and the Test Set The Active annunciator is not programmable The state of the Active annunciator is reflected in the Call Processing Status Register Group Condition Register bit 0 See Status Reporting in the User s Guide for further information AF Freq The AF Freq field is displayed only when the Display field is set to Meas This field displays the audio frequency of the demod...

Страница 461: ...formation string displays the called phone number in decimal form received from the mobile station on the reverse control channel when the mobile station originates a call The Called Number field is only displayed when the Display field is set to Data and a reverse control channel message has been decoded when the mobile originates a call Refer to the Display field description on page 465 for info...

Страница 462: ...ight hand subfield The query form of the command that is VCHannle can be used to determine the current voice channel setting Syntax VCHannel real number VCHannel Example OUTPUT 714 CALLP VCH 215 OUTPUT 714 CALLP VCH ENTER 714 Vch_number Cntl Channel This field is used to set the control channel number used by the Test Set The CCHannel command is used to control this field The Cntl Channel field is...

Страница 463: ...the Connect state and a change is made to the Cntl Channel field the Connect state will be lost The query form of the command that is CCHannel can be used to determine the current control channel setting Syntax CCHannel integer number CCHannel Example OUTPUT 714 CALLP CCH 333 OUTPUT 714 CALLP CCH ENTER 714 Control_chan ...

Страница 464: ...us Register Group Condition Register bit 5 See Status Reporting in the Application Guide for further information NOTE When the CALL CONTROL screen is displayed and the Call Processing Subsystem is in the Connect state the host firmware constantly monitors the mobile station s transmitted carrier power If the power falls below 0 0005Watts the Test Set will terminate the call and return to the Activ...

Страница 465: ...pe is selected Syntax MODE DATA MEAS MODE Example OUTPUT 714 CALLP MODE DATA OUTPUT 714 CALLP MODE ENTER 714 Screen Setting the Display field to Data When the Display field is set to Data the top right hand portion of the CALL CONTROL screen is used to display decoded data message s received from the mobile station on the reverse control channel or the reverse voice channel If the data message s r...

Страница 466: ...eries these received data fields to obtain the displayed information strings Figure 35 CALL CONTROL Screen Received Data Fields Information Strings Available From The Received Data Fields Table 46 lists the information strings available from the reverse control channel data messages received from the mobile station The control program would query the appropriate received data field to obtain the d...

Страница 467: ...ram would query the appropriate received data field to obtain the displayed information string Origination Message Phone Number ESN dec ESN hex Station Class Mark Called Number RCDD1 RCDD2 RCDD3 RCDD4 RCDD5 Order Message Phone Number ESN dec ESN hex Station Class Mark RCDD1 RCDD2 RCDD3 RCDD4 Table 46 Information Strings Available From Reverse Control Channel Reverse Control Channel Message Informa...

Страница 468: ... Decoding Error Occurs Information Strings Displayed Displayed in Received Data Field Length of Received Data Field error data received from channel type word 1 word 2 word 3 word 4 word 5 word 6 RCDD1 RCDD2 RCDD3 RCDD4 RCDD5 RCDD6 30 characters max 40 characters max 30 characters max 40 characters max 40 characters max 40 characters max ...

Страница 469: ...fields are read only data fields The RCDD1 through RCDD6 query commands are used to read the contents of the six received data fields Syntax RCDD 1 6 Example OUTPUT 714 CALLP RCDD1 ENTER 714 Rcv_data Setting the Display Field to Meas When the Display field is set to Meas the top right hand portion of the CALL CONTROL screen is used to display modulation quality measurements made on the mobile stat...

Страница 470: ...470 Chapter 8 Programming The Call Processing Subsystem Programming The CALL CONTROL Screen Figure 36 CALL CONTROL Screen with Meas Selected ...

Страница 471: ...ntax Syntax See Measure in chapter on page 151 Example OUTPUT 714 MEAS RFR POW ENTER 714 Tx_power OUTPUT 714 MEAS RFR FREQ ERR ENTER 714 Tx_freq_error OUTPUT 714 MEAS AFR FREQ ENTER 714 Af_freq OUTPUT 714 MEAS AFR FM ENTER 714 Fm_deviation ESN dec This information string contains the electronic serial number ESN in decimal form received from the mobile station on the reverse control channel in res...

Страница 472: ...fer to the Display field description on page 465 for information on how to read data displayed in the upper right hand portion of the CALL CONTROL screen FM Deviation This field displays the measured FM deviation of the RF carrier being transmitted by the mobile station on the reverse voice channel Four dashes indicate that no carrier is present to measure A numeric value would only be displayed i...

Страница 473: ...r and Page states and 300 Hz to 15 kHz when in the Connected state This is done to ensure that no signaling tones are filtered off This wide post detection bandwidth allows more noise to be introduced into the measurement process which affects the measured deviation Given these conditions it is recommended that FM deviation measurements requiring full Test Set FM deviation accuracy be made on the ...

Страница 474: ...ed using the upper field There are two formats which can be used to enter the identification number in the lower field The identification number can be entered as the 10 digit phone number in decimal i e 5095551212 The PNUMber command is used to enter the 10 digit phone number The identification number can be entered as the mobile identification number MIN in hexadecimal i e AAABBBBBB The MIN numb...

Страница 475: ... be used to interrogate the contents of each field Syntax NMODE PHONE NUM MIN2 MIN1 NMODE PNUMber 10 character phone number PNUMber MINumber 3 character MIN2 6 character MIN1 MINumber Example OUTPUT 714 CALLP NMOD PHONE NUM OUTPUT 714 CALLP PNUM 5099906092 OUTPUT 714 CALLP NMOD MIN OUTPUT 714 CALLP MIN 1F2DE5BD5 OUTPUT 714 CALLP NMOD ENTER 714 Number_mode ...

Страница 476: ...S This command is used to send an order type mobile station control message to the mobile station The Access annunciator will light momentarily while the Test Set is sending the mobile station control message A mobile station must be actively connected on a voice channel to the Test Set that is the Connect annunciator lit before attempting to send an order to a mobile station The query form of the...

Страница 477: ...tion The PAGE command is used to control this field There is no query form of the PAGE command Syntax PAGE Example OUTPUT 714 CALLP PAGE Page When lit the Page annunciator indicates that the mobile station connected to the Test Set is currently being paged on the forward control channel The Page annunciator is not programmable The state of the Page annunciator is reflected in the Call Processing S...

Страница 478: ...et to Data and a reverse control channel message containing this information has been decoded Refer to the Display field description on page 465 for information on how to read data in the upper right hand portion of the CALL CONTROL screen CAUTION Do not confuse the Phone Num field which is displayed in the upper right hand portion of the CALL CONTROL screen with the Phone Num selection of the MS ...

Страница 479: ...only field The AVCPower command is used to query the contents of the left hand subfield There is no command form of the AVCPower command Syntax AVCPower Example OUTPUT 714 CALLP AVCP ENTER 714 Active_vc_pwr The right hand subfield highlighted field is used to enter the Voice Mobile Attenuation Code VMAC The VMAC determines the mobile station power level to be used on the designated voice channel t...

Страница 480: ...EGister command is used to control this field There is no query form of the REGister command Syntax REGister Example OUTPUT 714 CALLP REG Register When lit the Register annunciator indicates that the mobile station connected to the Test Set is being commanded to register with the Test Set The Register annunciator is not programmable The state of the Register annunciator is reflected in the Call Pr...

Страница 481: ...mobile station control message with a Release order is sent to the mobile station on the forward voice channel A mobile station must be actively connected on a voice channel to the Test Set that is the Connect annunciator lit before attempting to send a release order to the mobile station The RELease command is used to control this field There is no query form of the RELease command Syntax RELease...

Страница 482: ...nel This is a read only field The AVCSat query command is used to query the contents of the left hand subfield There is no command form of the AVCSat command Syntax AVCSat Example OUTPUT 714 CALLP AVCS ENTER 714 Active_vc_sat The right hand field highlighted field is used to set the SAT Color Code SCC to be used on the designated voice channel the channel number entered into the Chan right hand su...

Страница 483: ...ion on page 465 for information on how to read data in the upper right hand portion of the CALL CONTROL screen SID This field is used to set the system identification number SID of the Test Set The SIDentify command is used to control this field The SID field is an immediate action field That is whenever the SIDentify command is sent the change is reflected immediately in the appropriate signaling...

Страница 484: ...iguration of the Test Set the control channel is immediately deactivated reconfigured and then reactivated to reflect the change and causes an immediate change to the current state of the Call Processing Subsystem the state is set to Active NOTE If the Test Set is in the Connect state and a change is made to the System Type field the Connect state will be lost The query form of the command that is...

Страница 485: ...eq Error field is only displayed when the Display field is set to Meas Refer to the Display field description on page 465 for information on how to read data in the upper right hand portion of the CALL CONTROL screen TX Power This field displays the measured RF power of the RF carrier being transmitted by the mobile station A nonzero value would only be displayed in the connected state that is the...

Страница 486: ... by the Test Set from the mobile station Six different decoded messages can be viewed on this screen The message to be viewed is selected using the Display Word field The messages which can be viewed are Reverse Control Channel Messages for Paging Origination Orders and Order Confirmation RECCW A Message Fields on page 490 RECCW B Message Fields on page 493 RECCW C Message Fields on page 495 RECCW...

Страница 487: ...amming information Active See Active on page 459 for programming information Active See Active on page 460 for programming information Connect See Connect on page 464 for programming information Display Word This field is used to select the desired reverse control channel or reverse voice channel message to be displayed The DATA command is used to control this field The query form of the command t...

Страница 488: ... DATA Example OUTPUT 714 CALLP DATA RECCW A OUTPUT 714 CALLP DATA ENTER 714 Message Handoff See Handoff on page 473 for programming information Order See Order on page 476 for programming information Page See Page on page 477 for programming information Page See Page on page 477 for programming information See Register on page 480 for programming information Register See Register on page 480 for p...

Страница 489: ...available on the CALL DATA screen The syntactical structure for reading one or more fields from an individual message is as follows General Syntax CALLP message name field name additional field Call Data Screen Message and Field Names Table 49 lists the message names used to access each of the signaling messages available on the CALL DATA screen Table 49 CALL DATA Screen Signaling Message Names Me...

Страница 490: ...criptions CALL DATA Screen Message Field Descriptions This section describes the individual data fields contained in each of the decoded reverse control channel and reverse voice channel messages accessible through the CALL DATA screen RECCW A Message Fields Figure 38 RECCW A Message Fields ...

Страница 491: ...T This field displays the message type received from the mobile station Set to 1 to identify the message as an origination or an order Set to 0 to identify the message as an order response or page response S This field displays whether the serial number word is received from the mobile station Set to 1 if the serial number word is sent Set to 0 if the serial number word is not sent E This field di...

Страница 492: ...iptions RSVD This field is reserved for future use SCM This field displays the mobile station s received station class mark MIN1 This field displays the first part of the mobile identification number received from the mobile station Parity This field displays the parity of the transmitted data ...

Страница 493: ...s that this is the first word A 0 is displayed for all subsequent words NAWC This field displays the number of additional words coming from the mobile LOCAL This field displays the local control field This field is specific to each system The ORDER field must be set to local control for this field to be interpreted by the Test Set ORDQ This field displays the received order qualifier The field qua...

Страница 494: ... displays the Order field and identifies the order type received by the Test Set LT This field displays the last try code field RSVD Reserved for future use MIN2 This field displays the second part of the mobile identification number received by the Test Set Parity This field displays the parity of the received data ...

Страница 495: ... field displays the first word indication received from the mobile station A 1 indicates that this is the first word A 0 is displayed for all subsequent words NAWC This field displays the number of additional words coming from the mobile Serial This field displays the serial number of the mobile station Parity This field displays the parity of the received data ...

Страница 496: ...irst word indication received from the mobile station A 1 indicates that this is the first word A 0 is displayed for all subsequent words NAWC This field displays the number of additional words coming from the mobile Dig 1 through Dig 8 These fields display digits 1 through 8 of the phone number dialed on the mobile station Parity This field displays the parity of the received data ...

Страница 497: ...rst word indication received from the mobile station A 1 indicates that this is the first word A 0 is displayed for all subsequent words NAWC This field displays the number of additional words coming from the mobile Dig 9 through Dig 16 These fields display digits 9 through 16 of the phone number dialed on the mobile station Parity This field displays the parity of the received data ...

Страница 498: ...ion received from the mobile station A 1 indicates that this is the first word A 0 is displayed for all subsequent words NAWC This field displays the number of additional words coming from the mobile T This field displays the message type received from the mobile station Set to 1 to identify the message as an origination or an order Set to 0 to identify the message as an order response or page res...

Страница 499: ... ORDER field must be set to local control for this field to be interpreted by the Test Set ORDQ This field displays the received order qualifier The field qualifies the order confirmation to a specific action Order This field displays the Order field and identifies the order type received by the Test Set RSVD Reserved for future use Parity This field displays the parity of the received data ...

Страница 500: ...t separator Example of Multiple Queries Combined Into One Command String OUTPUT 714 CALLP RECA NAWC SER EXT SCM MIN OUTPUT 714 CALLP DATA RECCW A ENTER 714 Message PRINT Message Printed Test Set Response Message 010 1 1 1110 110111100101101111010101 In order to read individual response message units into individual string variables combined into one ENTER statement the programming language used mu...

Страница 501: ...nt from the Test Set to the mobile station to perform a desired action such as registering a mobile station Modifying the contents of one or more messages may be required for testing the robustness of a mobile station s call processing algorithms or for new product development The CALL BIT screen should not be used to change any parameter that can be set on any other Call Processing Subsystem scre...

Страница 502: ...creen requires expert knowledge of the call processing messaging protocols used in the selected system that is the system selected in the System Type field on the CALL CONTROL screen The contents of eleven different messages can be modified from this screen The message to be modified is selected using the Set Message field The eleven messages whose contents can be modified are Forward Control Chan...

Страница 503: ...ding the pres ence of the mobile stations s RF carrier the Test Set s RF power meter should be zeroed before using the Call Processing Subsystem Failure to zero the power meter can result in erroneous RF power measurements See Conditioning the Test Set for Call Process ing on page 452 for information on zeroing the RF Power meter manually Refer to the User s Guide for detailed information on the o...

Страница 504: ...ramming The CALL BIT Screen Access See Access on page 459 for programming information Active See Active on page 459 for programming information Active See Active on page 460 for programming information Connect See Connect on page 464 for programming information ...

Страница 505: ...he contents of all signaling messages used in that function The Call Processing Subsystem host firmware uses the messaging protocol as defined in the applicable industry standard The contents of the applicable fields on the CALL CONTROL screen and the CALL CONFIGURE screen are not updated to reflect any changes made while in the Bits mode There is no coupling between the Bits mode and the Test Set...

Страница 506: ...rs available are Change Power to Power Level 0 7 Maintenance put the mobile station in maintenance mode Alert alert the mobile station The Order field is a one of many selection field To send an order to the mobile station position the cursor on the Order field and select it A list of choices is displayed Position the cursor on the desired order and select it Once the selection is made a mobile st...

Страница 507: ...age See Page on page 477 for programming information Page See Page on page 477 for programming information Register See Register on page 480 for programming information Register See Register on page 480 for programming information Release See Release on page 481 for programming information ...

Страница 508: ... this field The query form of the command that is MESSage can be used to determine which forward control channel or forward voice channel message is currently being displayed See Reading the CALL BIT Screen Message Fields on page 509 for information on how to read the contents of the individual messages Syntax MESSage Forward Control or Voice Channel Message Word MESSage Example OUTPUT 714 CALLP M...

Страница 509: ...yntax CALLP message name field name additional field Table 50 on page 509 lists the message names used to access each of the signaling messages available on the CALL BIT screen Example of Querying A Single Field OUTPUT 714 CALLP MESS SPC WORD1 OUTPUT 714 CALLP SPOM1 SID ENTER 714 Sid PRINT Sid Example Printout 00000001110011 Table 50 CALL BIT Screen Signaling Message Names Message Message Name SPC...

Страница 510: ...UTPUT 714 CALLP MESS SPC WORD1 OUTPUT 714 CALLP SPOM1 DCC SID OHD ENTER 714 Message PRINT Message Printed Test Set Response Message 01 00000001110011 110 In order to read individual response message units into individual string variables combined into one ENTER statement the programming language used must recognize the response message unit separator as an entry terminator for each string in the i...

Страница 511: ...a string Table 51 CALL BIT Screen Signaling Message Names on page 511 lists the message names used to access each of the signaling messages available on the CALL BIT screen Example of Modifying A Single Field OUTPUT 714 CALLP SPOM1 SID 00000001110011 Example of Modifying Multiple Fields With One OUTPUT OUTPUT714 CALLP SPOM1 DCC 01 SID 00000001110011 OHD 110 Table 51 CALL BIT Screen Signaling Messa...

Страница 512: ...ividual data fields contained in each of the forward control channel and forward voice channel messages SPC WORD1 Message Fields Figure 45 SPC WORD1 Message Fields T1T2 This field identifies the received message as an order confirmation an order or a called address message 2 binary characters required DCC This field sets the digital color code 2 binary characters required ...

Страница 513: ...binary characters required NAWC This field displays the number of additional words coming 4 binary characters required OHD This field displays the overhead message type A 100 indicates a global action message A 110 indicates that this is the first word of the system overhead parameter message A 111 indicates this is the second word of the system parameter overhead message 3 binary characters requi...

Страница 514: ...entifies the received message as an order confirmation an order or a called address message 2 binary characters required DCC Digital color code field 2 binary characters required S This field displays whether the serial number word is sent to the mobile station Set to 1 if the serial number word is sent Set to 0 if the serial number word is not sent 1 binary character required ...

Страница 515: ... 0 if the extended address word is not sent 1 binary character required REGH Registration field for home stations 1 binary character required REGR Registration field for roaming stations 1 binary character required DTX Discontinuous transmission field 2 binary characters required N 1 N is the number of paging channels in the system 5 binary characters required RCF Read control filler field 1 binar...

Страница 516: ...ast word of the overhead message train Set to 0 if not the last word 1 binary characters required OHD This field displays the overhead message type A 100 indicates a global action message A 110 indicates that this is the first word of the system overhead parameter message A 111 indicates this is the second word of the system parameter overhead message 3 binary characters required Parity Parity fie...

Страница 517: ...CCESS Message Fields Figure 47 ACCESS Message Fields T1T2 This field identifies the received message as an order confirmation an order or a called address message 2 binary characters required DCC Digital color code field 2 binary characters required ACT Global Action Field 4 binary characters required ...

Страница 518: ... word of the overhead message train Set to 0 if not the last word 1 binary character required OHD This field displays the overhead message type A 100 indicates a global action message A 110 indicates this is the first word of the system parameter overhead parameter message A 111 indicates this is the second word of the system parameter overhead message 3 binary characters required Parity Parity fi...

Страница 519: ...G INC Message Fields Figure 48 REG INC Message Fields T1T2 This field identifies the received message as an order confirmation an order or a called address message 2 binary characters required DCC Digital color code field 2 binary characters required ACT Global Action Field 4 binary characters required ...

Страница 520: ...e last word of the overhead message train Set to 0 if not the last word 1 binary character required OHD This field displays the overhead message type A 100 indicates a global action message A 110 indicates this is the first word of the system parameter overhead parameter message A 111 indicates this is the second word of the system parameter overhead message 3 binary character required Parity Pari...

Страница 521: ...ies the received message as an order confirmation an order or a called address message 2 binary characters required DCC Digital color code field 2 binary characters required REGID Registration ID field 20 binary character required END End indication field Set to 1 to indicate the last word of the overhead message train Set to 0 if not the last word 1 binary character required ...

Страница 522: ...111 indicates this is the second word of the system parameter overhead message 3 binary character required Parity Parity field The contents of the Parity field cannot be set by the user The Test Set calculates the parity bits C FILMESS Message Fields Figure 50 C FILMESS Message Fields T1T2 This field identifies the received message as an order confirmation an order or a called address message 2 bi...

Страница 523: ...d RSVD1 Reserved for future use all bits must be set as indicated 2 binary characters required F2 Control filler message field 2 All bits must be set as indicated 2 binary characters required RSVD2 Reserved for future use all bits must be set as indicated 2 binary characters required F3 Control filler message field 3 All bits must be set as indicated 1 binary character required WFOM Wait for overh...

Страница 524: ...s this is the first word of the system parameter overhead parameter message A 111 indicates this is the second word of the system parameter overhead message 3 binary character required Parity Parity field The contents of the Parity field cannot be set by the user The Test Set calculates the parity bits MS WORD1 Message Fields Figure 51 MS WORD1 Message Fields T1T2 This field identifies the receive...

Страница 525: ...r field 24 binary character required Parity Parity field The contents of the Parity field cannot be set by the user The Test Set calculates the parity bits MSMessOrd Message Fields Figure 52 MSMessOrd Message Fields T1T2 This field identifies the received message as an order confirmation an order or a called address message 2 binary characters required SCC SAT color code field 2 binary characters ...

Страница 526: ...cter required LOCAL This field is specific to each system The ORDER field must be set to local control for this field to be interpreted 5 binary character required ORDQ The order qualifier field qualifies the order confirmation to a specific action 3 binary character required ORDER This field identifies the order type 5 binary character required Parity Parity field The contents of the Parity field...

Страница 527: ...elds Figure 53 MS IntVCh Message Fields T1T2 This field identifies the received message as an order confirmation an order or a called address message 2 binary characters required SCC SAT color code field 2 binary characters required MIN2 Second part of the mobile identification number field 10 binary character required ...

Страница 528: ...CHAN Channel number field Indicates the designated voice channel 11 binary character required Parity Parity field The contents of the Parity field cannot be set by the user The Test Set calculates the parity bits FVC O Mes Message Fields Figure 54 FVC O Mes Message Fields T1T2 This field identifies the received message as an order confirmation an order or a called address message 2 binary characte...

Страница 529: ... 9 binary character required LOCAL Local control field This field is specific to each system The ORDER field must be set to local control for this field to be interpreted 5 binary character required ORDQ Order qualifier field Qualifies the order to a specific action 3 binary character required ORDER Order field Identifies the order type 5 binary character required Parity Parity field The contents ...

Страница 530: ...es Message Fields T1T2 This field identifies the received message as an order confirmation an order or a called address message 2 binary characters required SCC SAT color code for new channel 2 binary characters required PSCC Present SAT color code Indicates the SAT color code associated with the present channel 2 binary characters required ...

Страница 531: ...red VMAC This field displays the voice mobile attenuation code It shows the mobile station power level associated with the designated voice channel 3 binary character required CHAN Channel number field Indicates the designated voice channel 11 binary character required Parity Parity field The contents of the Parity field cannot be set by the user The Test Set calculates the parity bits ...

Страница 532: ...tailed information on the operation and manual use of the ANALOG MEAS screen The information presented in this section covers the ANALOG MEAS screen programming commands and how to use them Requirements for Using The ANALOG MEAS Screen The Test Set must be in the connected state that is the Connect annunciator is lit in order to use the ANALOG MEAS screen The mobile station s speaker output must b...

Страница 533: ...the audio characteristics of the mobile station Only those fields which are pertinent to testing the mobile station s audio characteristics have been combined onto the ANALOG MEAS screen Since the fields on the ANALOG MEAS screen are imported from other screens those fields are programmed exactly as they would be on their home screen To set up the fields program the appropriate instrument To make ...

Страница 534: ...yntax Amplitude This field sets the output power of the Test Sets s transmitter that is the output power of the Test Set s RF Generator See RF Generator in chapter on page 167 for programming command syntax De Emphasis This field is used to select or bypass the 750 uSec de emphasis filter network used to condition the audio signal before being analyzed by the Audio Frequency Analyzer See AF Analyz...

Страница 535: ...carrier being transmitted by the mobile station Four dashes indicates that there is no carrier frequency present to measure See Measure in chapter on page 151 for programming command syntax TX Power This field displays the measured RF power of the carrier being transmitted by the mobile station Four dashes indicates that there is no carrier present to measure See Measure in chapter on page 151 for...

Страница 536: ...cessing Subsystem is in the Connect state that is the Connect annunciator is lit the mobile station s speaker output is connected to the Test Set s AUDIO IN connector the mobile station s microphone input must be connected to the Test Set s AUDIO OUT connector The intended purpose of this example subprogram is to illustrate how to program the ANALOG MEAS screen There are a variety of ways to make ...

Страница 537: ... C MESSAGE FILT2 99KHZ LP 260 OUTPUT 714 MEAS AFR SEL SINAD 270 OUTPUT 714 RFG AMPL 116DBM 280 OUTPUT 714 TRIG MODE RETR SINGLE SETT FULL 290 Running_total 0 300 FOR Loop_counter 1 TO 5 310 OUTPUT 714 TRIG MEAS AFR SINAD 320 ENTER 714 Sinad 330 Running_total Running_total Sinad 340 NEXT Loop_counter 350 Avg_sinad Running_total Loop_counter 360 PRINT USING K 3D 2D K SINAD Avg_sinad dB at 116 dBm 37...

Страница 538: ...essing Subsystem is in the Connect state that is the Connect annunciator is lit the mobile station s speaker output is connected to the Test Set s AUDIO IN connector the mobile station s microphone input must be connected to the Test Set s AUDIO OUT connector The intended purpose of this example subprogram is to illustrate how to program the ANALOG MEAS screen There are a variety of ways to make a...

Страница 539: ...NGLE SETT FULL 290 REPEAT 300 OUTPUT 714 TRIG MEAS AFR FM 310 ENTER 714 Deviation 320 IF Deviation 8300 THEN OUTPUT 714 AFG1 OUTPut INCR DOWN 330 IF Deviation 7700 THEN OUTPUT 714 AFG1 OUTPut INCR UP 340 UNTIL Deviation 7700 AND Deviation 8300 350 OUTPUT 714 AFAN DET RMS 360 OUTPUT 714 TRIG MEAS AFR FM 370 ENTER 714 Deviation 380 OUTPUT 714 MEAS AFR FM REF STAT ON VAL VAL Deviation HZ 390 OUTPUT 7...

Страница 540: ...ly used Test Set configuration parameters When the CALL CONFIGURE screen is displayed and the Call Processing Subsystem is in the Connect state the host firmware constantly monitors the mobile station s transmitted carrier power If the power falls below 0 0005Watts the error message RF Power Loss indicates loss of Voice Channel will be displayed and the Test Set will terminate the call and return ...

Страница 541: ...RE screen The information presented in this section covers the CALL CONFIGURE screen programming commands and how to use them CMAX The CMAX field sets the number of access channels in the system This will determine how many channels must be scanned by the mobile station when trying to access the Test Set The value of this field will affect the time required for the mobile station to connect with t...

Страница 542: ...he AF ANALYZER screen and is programmed exactly as it is on its home screen See AF Analyzer on page 101 for programming command syntax TX Pwr Zero The TX Pwr Zero function establishes a 0 0000 W reference for measuring RF power at the RF IN OUT port The TX Pwr Zero field is imported from the RF ANALYZER screen and is programmed exactly as it is on its home screen See RF Analyzer on page 165 for pr...

Страница 543: ... the same basic structure and execute as follows Start Initialize program variables Configure the Test Set s status registers for service request or polling Condition the Test Set for Call Processing Configure the Test Set Set the Active state Register the mobile station and print the registration data Page the mobile station Measure several parameters of the mobile station s carrier and print res...

Страница 544: ...contains relevant comments regarding individual program lines The example program uses function calls to set the various call processing states and to send orders to the mobile station Function calls are not the only programming construct which can be used to control the Call Processing Subsystem The example programs were designed to illustrate how to use the Call Processing Subsystem in a simple ...

Страница 545: ...t 160 ENABLE INTR Bus_addr 2 170 180 Start_test 190 Cond_test_set 200 OUTPUT Inst_addr DISP ACNT 210 IF NOT FNCnfg_base_sta 0 212 231 5970 47 AMPS 321 THEN Print_error 220 IF FNSet_state Register THEN 230 Read_rcdd_data 1234 Pass the numbers of the RCDD fields to be read 240 ELSE 250 Print_error 260 END IF 270 IF NOT FNSet_state Page THEN CALL Print_error 280 Meas_carrier 290 IF FNOrder Power 7 TH...

Страница 546: ... 1040 RF IN OUT port when the power meter is zeroed 1050 1060 BEEP 1070 DISP Remove all input power to the test set then press Continue 1080 PAUSE 1090 OUTPUT Inst_addr DISP RFAN RFAN PME ZERO 1100 BEEP 1110 DISP Reconnect all cables then press Continue 1120 PAUSE 1130 OUTPUT Inst_addr DISP CONF CONF NOTC AFGEN1 1140 SUBEND 1150 2000 Cnfg_srvc_intrp SUB Cnfg_srvc_intrp 2010 COM Io_addresses INTEGE...

Страница 547: ... Inst_addr STAT OPER EVEN STAT CALLP EVEN 3180 ENTER Inst_addr Oper_event Call_proc_event 3190 Oper_complete 1 3200 END IF 3210 ENABLE INTR Bus_addr 2 3220 SUBEND 3230 5000 Cnfg_base_sta DEF FNCnfg_base_sta Vmac Vch Sid Sat REAL Ampl Sys INTE GER Cch 5010 COM Io_addresses INTEGER Inst_addr Bus_addr 5020 COM Prog_control INTEGER Oper_complete Wait_time Error_flag 5030 OUTPUT Inst_addr CALLP AMPL VA...

Страница 548: ...70 CASE Release 6180 Ptr_value 1 6190 END SELECT 6200 PRINT Sending the State command 6210 IF State Originate THEN 6220 OUTPUT Inst_addr STAT CALLP PTR VAL Ptr_value 6230 ELSE 6240 OUTPUT Inst_addr STAT CALLP PTR VAL Ptr_value CALLP State 6250 END IF 6260 LOOP 6270 DISP Waiting for an interrupt 6280 WAIT Wait_time 6290 EXIT IF Oper_complete OR Error_flag 6300 END LOOP 6400 DISP 6410 IF Error_flag ...

Страница 549: ...10 OPTION BASE 1 8020 COM Io_addresses INTEGER Inst_addr Bus_addr 8030 COM Prog_control INTEGER Oper_complete Wait_time Error_flag 8040 DIM Error_message 255 Error 5 20 8050 INTEGER Std_event N 8060 Error 2 Query 8070 Error 3 Device Dependent 8080 Error 4 Execution 8090 Error 5 Command 8100 OUTPUT Inst_addr ESR 8110 ENTER Inst_addr Std_event 8120 FOR N 2 TO 5 8130 IF BIT Std_event N THEN 8140 PRIN...

Страница 550: ...er Watts 11070 PRINT USING K 2D 3D K Audio Frequency Audiofreq 1000 kHz 11080 PRINT USING K 2D 3D K FM Deviation Deviation 1000 kHz 11090 PRINT USING K 2D 3D K Carrier Freq Error Freq_error 1000 kHz 11100 SUBEXIT 11110 Timed_out 11120 ON TIMEOUT Bus_addr 5 GOTO Cannot_recover 11130 CLEAR Inst_addr 11140 OUTPUT Inst_addr trig abort mode retr rep 11150 DISP you should have the box back 11160 ENABLE ...

Страница 551: ...Avg_sinad N dB at 116 dBm 12150 OUTPUT Inst_addr TRIG MODE RETR REP SETT FULL 12160 OUTPUT Inst_addr RFG AMPL 30DBM DISP ACNT 12165 SUBEXIT 12170 Timed_out 12180 ON TIMEOUT Bus_addr Time_out_value RECOVER Cannot_recover 12190 OUTPUT Inst_addr trig abort mode retr rep 12200 ENABLE 12210 DISP you should have the box back 12220 SUBEXIT 12230 Cannot_recover 12240 DISP Cannot regain control of Test Set...

Страница 552: ...d parameter lists 2020 Reset the Test Set RST Clear the status reporting system CLS Set up the desired interrupt conditions in the Test Set Standard Event Status Register Group Event register conditions which will set the Summary Message TRUE if they occur Bit 5 Command Error decimal value 2 5 32 Bit 4 Execution Error decimal value 2 4 16 Bit 3 Device Dependent Error decimal value 2 3 8 Bit 2 Quer...

Страница 553: ...handshake in many commands it can appear to the control program that the Test Set has executed all of the commands sent when in reality they have only been placed in the input buffer To prevent the control program from getting ahead of the Test Set the OPC query command is used to synchronize the Test Set and the control program 3000 The Srvice_interupt subprogram first checks for errors If an err...

Страница 554: ...the numbers of the RCDD fields to be read 200 ELSE 210 Print_error 220 END IF 230 IF NOT FNSet_state Page THEN CALL Print_error 240 Meas_carrier 250 IF FNOrder Power 7 THEN 260 Read_rcdd_data 1 270 ELSE 280 Print_error 290 END IF 300 OUTPUT Inst_addr CALLP VCH 211 VMAC 4 SAT 5970HZ 310 IF NOT FNSet_state Handoff THEN CALL Print_error 320 Meas_sinad 330 IF NOT FNOrder Mainten 0 THEN CALL Print_erro...

Страница 555: ...oed 2050 2060 OUTPUT Inst_addr DISP RFAN RFAN PME ZERO 2070 OUTPUT Inst_addr DISP CONF CONF NOTC AFGEN1 2080 SUBEND 2090 3000 Cnfg_base_sta DEF FNCnfg_base_sta INTEGER Cch Vmac Vch Sid Sat REAL Ampl Sys 3010 COM Io_addresses INTEGER Inst_addr Bus_addr 3020 COM Prog_control INTEGER Wait_time Oper_complete 3021 INTEGER Ptr_value Call_proc_even 3030 OUTPUT Inst_addr CALLP AMPL VAL Ampl DBM SID VAL Si...

Страница 556: ... State 4220 END IF 4230 LOOP 4240 WAIT Wait_time 4250 OUTPUT Inst_addr ESR STAT CALLP EVEN 4260 ENTER Inst_addr Std_event Call_proc_even 4270 IF Std_event THEN RETURN 0 4280 IF BIT Call_proc_even LOG Ptr_value LOG 2 THEN RETURN 1 4290 END LOOP 4300 FNEND 5010 Read_rcdd_data SUB Read_rcdd_data Fields 5020 OPTION BASE 1 5030 COM Io_addresses INTEGER Inst_addr Bus_addr 5040 COM Prog_control INTEGER S...

Страница 557: ...BIT Call_proc_even LOG Ptr_value LOG 2 THEN RETURN 1 6240 END LOOP 6250 FNEND 6260 7000 Print_error SUB Print_error 7010 OPTION BASE 1 7020 COM Io_addresses INTEGER Inst_addr Bus_addr 7030 COM Prog_control INTEGER Std_event Wait_time 7040 INTEGER N 7050 DIM Error_message 255 Error 5 20 7060 Error 2 Query 7070 Error 3 Device Dependent 7080 Error 4 Execution 7090 Error 5 Command 7100 WAIT 1 Allow ti...

Страница 558: ...et 10190 STOP 10200 SUBEND 10210 11010 Meas_sinad SUB Meas_sinad 11020 COM Io_addresses INTEGER Inst_addr Bus_addr 11030 INTEGER N 11035 ON TIMEOUT Bus_addr 5 RECOVER Timed_out 11040 OUTPUT Inst_addr DISP CME AFG1 DEST FM FREQ 1KHZ FM 8KHZ FM STAT ON 11050 OUTPUT Inst_addr AFAN INP AUDIO IN DEMP OFF DET RMS 11060 OUTPUT Inst_addr AFAN FILT1 C MESSAGE FILT2 99KHZ LP 11070 OUTPUT Inst_addr MEAS AFR ...

Страница 559: ...559 Chapter 8 Programming The Call Processing Subsystem Example Programs 11280 SUBEND 11290 ...

Страница 560: ...the desired command is completed For example a successful order to change power is indicated by the Connect pseudo LED lighting Therefore the Ptr_value is set to 32 2 5 for the Power command 1020 Reset the Test Set RST Clear the status reporting system CLS Clear the Service Request Enable Register SRE 0 Preset the transition filters to pass no transitions STAT CALLP PTR 0 NTR 0 The filters will be...

Страница 561: ...he Standard Event Status Register If an error is detected return a zero operation not complete If no errors are detected then the Call Processing Event register is checked to determine if the operation has completed If the operation has completed then return a 1 operation complete If the operation has not completed then loop again In a real world situation the function should take some action if t...

Страница 562: ...562 Chapter 8 Programming The Call Processing Subsystem Example Programs ...

Страница 563: ...563 9 Error Messages ...

Страница 564: ...t BASIC Users Handbook HP P N E2083 90601 The format of the displayed message determines which manual contains information about the error message There are four basic error message formats Positive numbered error messages IBASIC error messages HP IB error messages Text only error messages The following paragraphs give a brief description of each message format and direct you to the manual to look...

Страница 565: ...rally associated with IBASIC Refer to the HP Instrument BASIC User s Handbook for information on IBASIC error messages Positive numbered error messages take the form ERROR XX error message For example Error 54 Duplicate file name or Error 80 in 632 Medium changed or not in drive ...

Страница 566: ... following book A Beginner s Guide to SCPI Addison Wesley Publishing Company ISBN 0 201 56350 9 HP P N 5010 7166 or contact Fred Bode Executive Director SCPI Consortium 8380 Hercules Drive Suite P3 La Mesa CA 91942 Phone 619 697 8790 FAX 619 697 5955 CompuServe Number 76516 254 Negative numbered error messages take the form ERROR XX error message For example Error 128 Numeric data not allowed or E...

Страница 567: ...ser s Handbook for information on positive numbered error messages Refer to the HP IB Error Messages section for information on negative numbered error messages the error message associated with a negative number is the same for HP IB errors and IBASIC errors IBASIC error messages take the following form IBASIC Error XX error message For example IBASIC Error 286 Program runtime error ...

Страница 568: ...or Messages are associated with HP IB operation HP IB error messages take the following form HP IB Error XX error message or HP IB Error error message For example HP IB Error 410 Query INTERRUPTED or HP IB Error Input value out of range ...

Страница 569: ...ror messages can also be displayed while running the Test Set s built in diagnostic or calibration utility programs Refer to the HP 8920 HP 8921 Assembly Level Repair manual for information on text only error messages displayed while running the Test Set s built in diagnostic or calibration utility programs Text only error messages take the following form This is an error message For example Input...

Страница 570: ...re only displayed when the error first occurs they are removed when a key is pressed or the knob is turned or when an HP IB command is received Many of the messages are displayed on the MESSAGE screen until the instrument is turned off Messages that are about error conditions may tell you what to do to correct the error turn something off reduce a field s value press a certain key and so forth Mes...

Страница 571: ...ett Packard through your local service center or by calling 800 827 3848 USA collect and asking to speak to the 8920A Service Engineer Address error exception at line number 0 To continue operation turn POWER off and back on Follow the instructions in the message Unfortunately you will not be able to recover from this condition You must switch the Test Set off and back on When you rerun the test w...

Страница 572: ...attempts to query a measurement that is not currently available or tries to access an instrument connected to the external HP IB without configuring the Test Set as the System Controller When diagnosing the cause of an error condition check for these conditions first ...

Страница 573: ...files This would occur when the Select Procedure Location field on the TESTS Main Menu screen is set to Disk and the operator then tries to select a procedure filename using the Select Procedure FIlename field Ensure that the Mode field on the I O CONFIGURE screen is set to Control and that the External Disk Specification field on the TESTS External Devices screen has the correct mass storage volu...

Страница 574: ... by reducing the size of the IBASIC program deleting one or more existing Save Recall registers recovering RAM Disk space The ROM Disk utility RAM_USAGE will display the total amount of non volatile RAM installed in the Test Set the RAM Disk allocation the Save Recall register allocation and the amount of non volatile RAM available to IBASIC HP IB Error HP IB Units cause invalid conversion of attr...

Страница 575: ...est Set s external HP IB bus with an IBASIC program running on the built in IBASIC controller controlling the Test Set with a program running on an external controller using the Test Set manually to print to an external HP IB printer using the Test Set manually to access procedure library code files stored on an external HP IB disk NOTE HP IB Parser The term Parser is used in the following error m...

Страница 576: ...REQ and AMPL commands should be omitted in the following command RFG FREQ 850 MHZ AMPL 35 Error 104 Data type error The parser recognized a data element different than one allowed For example numeric or string data was expected but block data was encountered Error 105 GET not allowed A Group Execute Trigger was received within a program message see IEEE 488 2 7 7 Error 108 Parameter not allowed Mo...

Страница 577: ...that a nonheader character has been encountered in what the parser expects is a header element Error 120 Numeric data error This error as well as errors 121 through 128 are generated when parsing a data element which appears to be numeric including the nondecimal numeric types Error 121 Invalid character in number An invalid character for the data type being parsed was encountered For example an a...

Страница 578: ...cters see IEEE 488 2 7 7 3 4 Error 138 Suffix not allowed A suffix was encountered after a numeric element which does not allow suffixes Error 140 Character data error This error as well as errors 141 through 148 are generated when parsing a character data element Error 141 Invalid character data Either the character data element contains an invalid character or the particular element received is ...

Страница 579: ...ut was not allowed by the device at this point in parsing Error 160 Block data error This error as well as errors 161 through 168 are generated when parsing a block data element Error 161 Invalid block data A block data element was expected but was invalid for some reason see IEEE 488 2 7 7 6 2 For example an END message was received before the length was satisfied Error 168 Block data not allowed...

Страница 580: ...acro definition Error 183 Invalid inside macro definition Indicates that the program message unit sequence sent with a DDT or DMC command is syntactically invalid see Error 184 Macro parameter error Indicates that a command inside the macro definition had the wrong number or type of parameters Error 200 Execution error This code indicates only that an Execution Error as defined in IEEE 488 2 11 5 ...

Страница 581: ...s ignored Error 213 Init ignored Indicates that a request for a measurement initiation was ignored as another measurement was already in progress Error 214 Trigger deadlock Indicates that the trigger source for the initiation of a measurement is set to GET and subsequent measurement query is received The measurement cannot be started until a GET is received but the GET would cause an INTERRUPTED e...

Страница 582: ...an the device could handle due to memory or related device specific requirements Error 224 Illegal parameter value Used where exact value from a list of possibles was expected Error 230 Data corrupt or stale Possibly invalid data new reading started but not completed since last access Error 231 Data questionable Indicates that measurement accuracy is suspect Error 240 Hardware error Indicates that...

Страница 583: ...or example there is no room on the disk Error 255 Directory full Indicates that a legal program command or query could not be executed because the media directory was full Error 256 File name not found Indicates that a legal program command or query could not be executed because the file name on the device media was not found For example an attempt was made to read or copy a nonexistent file Error...

Страница 584: ...ion error Indicates that a syntactically legal macro program data sequence could not be executed due to some error in the macro definition see IEEE 488 2 10 7 6 3 Error 273 Illegal macro label Indicates that the macro label defined in the DMC command was a legal string syntax but could not be accepted by the device see IEEE 488 2 10 7 3 and 10 7 6 2 For example the label was too long the same as a...

Страница 585: ...icates that a downloaded program related execution error occurred Error 281 Cannot create program Indicates that an attempt to create a program was unsuccessful A reason for the failure might include not enough memory Error 282 Illegal program name The name used to reference a program was invalid For example redefining an existing program deleting a nonexistent program or in general referencing a ...

Страница 586: ...data saved by the PUD command has been lost Error 313 Calibration memory lost Indicates that nonvolatile calibration data used by the CAL command has been lost Error 314 Save recall memory lost Indicates that the nonvolatile data saved by the SAV command has been lost Error 315 Configuration memory lost Indicates that nonvolatile configuration data saved by the device has been lost Error 330 Self ...

Страница 587: ...es that a condition causing an UNTERMINATED Query error occurred see IEEE 488 2 6 3 2 2 For example the device was addressed to talk and an incomplete program message was received This message usually appears when trying to access a measurement that is not active For example you cannot query the DTMF Decoder measurements from the DUPLEX TEST screen or query the TX Frequency measurement when the TX...

Страница 588: ...Count EEPROM file during installation of a new input module This error is most probably generated as a result of a hardware error or failure Refer to the Test Set s for diagnostic information Error 1300 Order attempted while not in Connect state Indicates that an attempt was made to send an order type Mobile Station Control Message that is order a change in power level put the mobile station in ma...

Страница 589: ... expired before receiving a response from the mobile station during a registration attempt The internal timer is set to 20 seconds when the Register state is entered Error 1308 Timeout occurred while attempting to page Mobile Indicates that the simulated Base Station s internal timer expired before receiving a response from the mobile station during a page attempt The internal timer is set to 20 s...

Страница 590: ...neous RF power measurements See Conditioning The Test Set For Call Processing in the HP 8920 User s Guide for information on zeroing the RF Power meter manually or blue Conditioning the Test Set for Call Processing on page 452 of this manual for information on zeroing the RF Power meter programmatically Error 1312 Data from RVC contains invalid bits in word 1 2 3 Indicates that the decoded data re...

Страница 591: ...se control channel did not contain the proper number of bits in word 1 and or word 2 and or word 3 The raw decoded data is displayed in hexadecimal format in the top right hand portion of the CALL CONTROL screen Raw decoded data is only displayed when the CALL CONTROL screen Display field is set to Data Error 1317 Incomplete data received on RVC for word 1 2 3 Indicates that the decoded data recei...

Страница 592: ...592 ...

Страница 593: ...0 AF Generator 1 HP IB command syntax diagram 104 AF Generator 2 HP IB command syntax diagram 105 106 pre modulation filters 105 ANALOG MEAS Screen amplitude 534 de emphasis 534 detector 534 example measurement routines 535 filter 1 534 filter 2 535 fm deviation 535 how to program analog meas screen 533 requirements for using analog meas screen 532 tx freq error 535 tx power 535 Analog MEAS Screen...

Страница 594: ...Call Control screen Chan 461 Call Data Screen access 487 active 487 connect 487 display word 487 handoff 488 order 488 page 488 reading the call data screen message fields 489 register 488 release 488 Call Processing HP IB command syntax diagram 126 call processing state diagram 447 Call Processing Status Register Group 274 program flow control 454 Call Processing Subsystem Accessing the Call Proc...

Страница 595: ...ng mode via HP IB 194 INCR SET querying value via HP IB 194 INCR SET setting display units via HP IB 195 INCR SET setting mode via HP IB 194 INCR SET setting value via HP IB 193 INCR Up Down Arrow keys 196 keys 185 LO LIMIT 189 LO LIMIT detecting if limit exceeded via HP IB 192 LO LIMIT querying display units via HP IB 191 LO LIMIT querying ON OFF state via HP IB 190 LO LIMIT querying setting via ...

Страница 596: ...e Programs 543 comments 552 polling example program 554 SRQ example program 545 extended address word order 525 reverse control channel 493 voice channel assignment 527 External Automatic Control Mode 32 External controller 28 32 46 External disk drives 331 335 359 initializing media for 346 359 F FCC mobile station control word 2 order 525 voice channel assignment 527 FCC mobile station control w...

Страница 597: ...n Commands TST 218 Common Commands WAI 224 configuration 45 display units changing 78 display units definition 77 display units guidelines 79 display units querying 79 downloading programs to Test Set 389 error messages 563 Errors 563 572 extended addressing 51 external select code 7 31 46 getting started 36 Group Execute Trigger GET 228 HP IB units changing 81 HP IB units definition 80 HP IB unit...

Страница 598: ...UNits 191 EXCeeded 192 RESet 193 STATe 189 STATe 190 VALue 190 VALue 192 MEASure 151 RESet 205 METer HEND 199 DUNits 200 DUNits 200 HEND 199 INTerval 198 INTerval 198 LEND 199 DUNits 200 DUNits 200 LEND 199 STATe 197 STATe 197 Multiple Number Measurement 183 Multiple Real Number Setting 180 Number Measurement 181 OSCilloscope 158 PROGram 163 Real Number Setting 179 REFerence DUNits 203 DUNits 203 ...

Страница 599: ... CLS 225 Common Commands ESE 225 265 Common Commands ESE 225 264 Common Commands ESR 225 262 Common Commands IDN 213 Common Commands OPC 219 Common Commands OPC 221 Common Commands OPT 215 Common Commands PCB 226 320 Common Commands RCL 227 Common Commands RST 205 216 Common Commands SAV 227 Common Commands SRE 226 298 Common Commands SRE 226 298 Common Commands STB 226 248 Common Commands TRG 226...

Страница 600: ...36 349 write protecting 351 Mass storage locations default values 338 selecting 339 Mass Storage Volume Specifier 353 Measure HP IB command syntax diagram 151 measurement active 29 43 querying ON OFF state 91 querying value 29 44 76 recommended sequence 40 turning ON and OFF 90 Measurement speed increasing see In creasing Measurement Speed 238 Memory Cards 329 address 353 battery see Battery 352 i...

Страница 601: ...490 reverse voice channel 490 RVCOrdCon 498 SPC Word 1 512 SPC Word 2 514 system parameter overhead word 1 512 system parameter overhead word 2 514 messages error 563 Microsoft Windows Terminal terminal emulator 375 395 Multiple Number Measurement HP IB command syntax diagram 183 Multiple Real Number Setting HP IB command syntax diagram 180 N Non Recoverable Firmware Error 571 Number Measurement H...

Страница 602: ...EDIT mode 392 Method 3 Using word processor on PC 397 methods of 366 program hangs avoiding 42 PROGram Subsystem 389 408 commands 411 executing commands 431 Q Questionable Data Signal Register Group 270 accessing registers contained in 272 condition register bit assignments 271 R Radio Interface HP IB command syntax diagram 168 RAM Disk 331 333 initializing 358 using 357 RAM_MNG 357 Real Number Se...

Страница 603: ...ting 249 Status reporting 244 Calibration Status Register Group see Calibration StatusRegister Group 278 Call Processing Status Register Group 274 clearing the Status Byte Register 249 Communicate Status Register Group see Communicate StatusRegister Group 291 Condition register definition 251 Enable register definition 252 Error Message Queue Group see Error Message Queue Group 268 Event register ...

Страница 604: ...49 STATe command definition 90 STATe command guidelines 91 status registers 255 units of measure 77 writing programs for 28 33 Tests HP IB command syntax diagram 174 TESTS Subsystem 436 default mass storage locations 339 DOS file restrictions 347 file descriptions 437 file relationships 438 screens 439 writing programs for 437 TestSet file name entry field width 343 file names see also DOS LIF fil...

Страница 605: ...ess 493 first word of called address 496 reverse voice channel order confirma tion message 498 second word of called address 497 serial number 495 Word processor 397 configuring for program development 397 transferring programs to Test Set 399 writing lines of IBASIC code 398 Write protect switch 351 X Xon Xoff 373 ...

Отзывы: