Agilent Technologies 8935 Series E6380A CDMA Cellular/PCS Base Station Test Set and E6381A TDMA Base Station Test SetProgrammer’s GuideFirmware Versio
10 O:\Manuals\E6380A_Progguid\Book\Preface.fmNOTEHP-IB and GPIB are one and the same.Trademark AcknowledgementsHewlett-Packard and HP are register
100 Chapter 4 O:\Manuals\E6380A_Progguid\Book\Ieee.fmIEEE Common CommandsCommon Command Descriptions*SRE? (Service Request Enable Query) The Test Set
Chapter 4 101IEEE Common CommandsCommon Command Descriptions*SAV (Save Instrument State) The *SAV command saves the present state of the Test Set into
102 Chapter 4 O:\Manuals\E6380A_Progguid\Book\Ieee.fmIEEE Common CommandsCommon Command Descriptions
1035 Triggering Measurements
104 Chapter 5O:\Manuals\E6380A_Progguid\Book\Trigmeas.fmTriggering MeasurementsThis chapter gives you information about triggering your measurements.
Chapter 5 105Triggering MeasurementsTriggering MeasurementsTriggering Measurements The measurement cycle is started (triggered) by the occurrence of a
106 Chapter 5O:\Manuals\E6380A_Progguid\Book\Trigmeas.fmTriggering MeasurementsTriggering MeasurementsTrigger Modes The Trigger Mode is defined by two
Chapter 5 107Triggering MeasurementsTriggering MeasurementsSettling Settling refers to the amount of delay introduced to allow signal transients to pr
108 Chapter 5O:\Manuals\E6380A_Progguid\Book\Trigmeas.fmTriggering MeasurementsTriggering MeasurementsDefault Trigger Mode The Trigger mode is set to
Chapter 5 109Triggering MeasurementsTriggering MeasurementsTrigger Commands :TRIGger:IMMediate The :TRIGger:IMMediate command tells the Test Set to “s
11Regulatory InformationManufacturer’s DeclarationThis statement is provided to comply with the requirements of the German Sound Emission Directive,
110 Chapter 5O:\Manuals\E6380A_Progguid\Book\Trigmeas.fmTriggering MeasurementsTriggering MeasurementsExample 5-7 Settling Syntax:TRIGger:MODE:SETTli
Chapter 5 111Triggering MeasurementsTriggering MeasurementsTrigger Mode Settings for Most Reliable Measurements Use the following Test Set configurati
112 Chapter 5O:\Manuals\E6380A_Progguid\Book\Trigmeas.fmTriggering MeasurementsTriggering MeasurementsArming Hardware-Triggered Measurements Some meas
1136 Advanced Operations
114 Chapter 6O:\Manuals\E6380A_Progguid\Book\Advoper.fmAdvanced OperationsIncreasing Measurement ThroughputIncreasing Measurement Throughput Measureme
Chapter 6 115Advanced OperationsIncreasing Measurement Throughput2. Autoranging The autoranging functions continuously calculate and adjust gain to pr
116 Chapter 6O:\Manuals\E6380A_Progguid\Book\Advoper.fmAdvanced OperationsIncreasing Measurement Throughput3. Frequency Counter Gate TimeThe frequency
Chapter 6 117Advanced OperationsIncreasing Measurement ThroughputOptimizing the Execution Speed of the Control Program Execution speed of the control
118 Chapter 6O:\Manuals\E6380A_Progguid\Book\Advoper.fmAdvanced OperationsIncreasing Measurement ThroughputExample 6-7 Example #3OUTPUT 714;"ENC
Chapter 6 119Advanced OperationsIncreasing Measurement ThroughputScreen Display Time Each time the screen being displayed on the Test Set (active scre
12 O:\Manuals\E6380A_Progguid\Book\Preface.fmSafetyGENERALThis product and related documentation must be reviewed for familiarization with safety ma
120 Chapter 6O:\Manuals\E6380A_Progguid\Book\Advoper.fmAdvanced OperationsIncreasing Measurement ThroughputExample 6-13 Syntax:SPECiaL:DISPlay?Exampl
Chapter 6 121Advanced OperationsStatus ReportingStatus Reporting This section describes the status reporting structure used in the Test Set. The struc
122 Chapter 6O:\Manuals\E6380A_Progguid\Book\Advoper.fmAdvanced OperationsStatus ReportingFigure 6-1 Status Reporting Structure OverviewStatus Regist
Chapter 6 123Advanced OperationsStatus ReportingStatus Byte Register The Status Byte Register is an 8-bit register that is used to summarize the Summa
124 Chapter 6O:\Manuals\E6380A_Progguid\Book\Advoper.fmAdvanced OperationsStatus ReportingTable 6-1 details the Status Byte Register bit assignments a
Chapter 6 125Advanced OperationsStatus ReportingReading with a Serial Poll The contents of the Status Byte Register can be read by a serial poll from
126 Chapter 6O:\Manuals\E6380A_Progguid\Book\Advoper.fmAdvanced OperationsStatus ReportingExample BASIC program to read Status Byte with *STB commandE
Chapter 6 127Advanced OperationsStatus ReportingStatus Register Structure Overview The structure of the register groups used in the Test Set is based
128 Chapter 6O:\Manuals\E6380A_Progguid\Book\Advoper.fmAdvanced OperationsStatus ReportingStatus Register Model This section explains how the status r
Chapter 6 129Advanced OperationsStatus ReportingTransition Filters are read-write. Transition Filters are unaffected by a *CLS (clear status) command
13Safety Considerations for this InstrumentWARNINGThis product is a Safety Class I instrument (provided with a protective earthing ground incorporat
130 Chapter 6O:\Manuals\E6380A_Progguid\Book\Advoper.fmAdvanced OperationsStatus ReportingStatus Reporting Structure Operation In general the status
Chapter 6 131Advanced OperationsStatus ReportingFigure 6-4 Status Data Structure - Queue ModedataSummary Message Bit Queue Empty = "0&qu
132 Chapter 6O:\Manuals\E6380A_Progguid\Book\Advoper.fmAdvanced OperationsStatus ReportingStatus Register Group Contents Figure 6-5 shows the Status R
Chapter 6 133Advanced OperationsStatus ReportingOperation Status Register Group The Operation Status Register Group contains information about the sta
134 Chapter 6O:\Manuals\E6380A_Progguid\Book\Advoper.fmAdvanced OperationsStatus ReportingTable 6-2 shows the Operation Status Register Group Conditio
Chapter 6 135Advanced OperationsStatus ReportingAccessing the Operation Status Register Group’s Registers The following sections show the syntax and g
136 Chapter 6O:\Manuals\E6380A_Progguid\Book\Advoper.fmAdvanced OperationsStatus ReportingExample 6-24 ExampleOUTPUT 714;"STAT:OPER:EVEN?"E
Chapter 6 137Advanced OperationsStatus ReportingStandard Event Status Register Group The Standard Event Status Register Group is a specific implementa
138 Chapter 6O:\Manuals\E6380A_Progguid\Book\Advoper.fmAdvanced OperationsStatus ReportingTable 6-3 Standard Event Status Register Bit AssignmentsBit
Chapter 6 139Advanced OperationsStatus ReportingAccessing the Standard Event Status Register Group’s Registers The following sections show the syntax
14 O:\Manuals\E6380A_Progguid\Book\Preface.fmWARNINGWhenever it is likely that the protection has been impaired, the instrument must be made inopera
140 Chapter 6O:\Manuals\E6380A_Progguid\Book\Advoper.fmAdvanced OperationsStatus ReportingReading the Event Register Example 6-29 Syntax*ESR?Examp
Chapter 6 141Advanced OperationsStatus ReportingExample 6-34 ExampleOUTPUT 714;"*ESE?"ENTER 714;Register_valueThe *ESE? query allows the pr
142 Chapter 6O:\Manuals\E6380A_Progguid\Book\Advoper.fmAdvanced OperationsStatus ReportingExample 6-38 ExampleOUTPUT 714;"*ESE 255"The *ESE
Chapter 6 143Advanced OperationsStatus ReportingOutput Queue Group The Output Queue Group is a specific implementation of the status queue model descr
144 Chapter 6O:\Manuals\E6380A_Progguid\Book\Advoper.fmAdvanced OperationsStatus ReportingAccessing the Output Queue When messages are sent to the Tes
Chapter 6 145Advanced OperationsStatus ReportingError Message Queue Group The Error Message Queue Group is an implementation of the status queue model
146 Chapter 6O:\Manuals\E6380A_Progguid\Book\Advoper.fmAdvanced OperationsStatus ReportingAccessing the Error Message Queue A message appears in the E
Chapter 6 147Advanced OperationsStatus ReportingQuestionable Data/Signal Register Group The Questionable Data/Signal Register Group contains informati
148 Chapter 6O:\Manuals\E6380A_Progguid\Book\Advoper.fmAdvanced OperationsStatus ReportingTable 6-5 shows the Questionable Data/Signal Register Group’
Chapter 6 149Advanced OperationsStatus ReportingAccessing the Questionable Data/Signal Register Group’s Registers The following sections show the synt
15CAUTIONAlways use the three-prong ac power cord supplied with this product. Failure to ensure adequate earth grounding by not using this cord may
150 Chapter 6O:\Manuals\E6380A_Progguid\Book\Advoper.fmAdvanced OperationsStatus ReportingClearing the Event Register The EVENT register is cleared
Chapter 6 151Advanced OperationsStatus ReportingCalibration Status Register Group The Calibration Status Register Group contains information about the
152 Chapter 6O:\Manuals\E6380A_Progguid\Book\Advoper.fmAdvanced OperationsStatus ReportingTable 6-6 details the Calibration Status Register Group’s Co
Chapter 6 153Advanced OperationsStatus ReportingAccessing the Calibration Status Register Group’s Registers The following sections show the syntax and
154 Chapter 6O:\Manuals\E6380A_Progguid\Book\Advoper.fmAdvanced OperationsStatus ReportingClearing the Event Register The EVENT register is cleared
Chapter 6 155Advanced OperationsStatus ReportingHardware Status Register #2 Group The Hardware Status Register #2 Group contains information about the
156 Chapter 6O:\Manuals\E6380A_Progguid\Book\Advoper.fmAdvanced OperationsStatus ReportingTable 6-7 shows the Hardware Status Register Group #2’s Cond
Chapter 6 157Advanced OperationsStatus ReportingAccessing the Hardware Status Register #2 Group’s Registers The following sections show the syntax and
158 Chapter 6O:\Manuals\E6380A_Progguid\Book\Advoper.fmAdvanced OperationsStatus ReportingClearing the Event Register The EVENT register is cleared
Chapter 6 159Advanced OperationsStatus ReportingHardware Status Register #1 Group The Hardware Status Register #1 Group contains information about the
16 O:\Manuals\E6380A_Progguid\Book\Preface.fmWARNING - RUBIDIUM REFERENCE ASSEMBLY (E6381A)The optional Rubidium Reference assembly, A2A15, (OPTION
160 Chapter 6O:\Manuals\E6380A_Progguid\Book\Advoper.fmAdvanced OperationsStatus ReportingTable 6-8 shows the Hardware Status Register Group #1’s Cond
Chapter 6 161Advanced OperationsStatus ReportingAccessing the Hardware Status Register #1 Group’s Registers The following sections show the syntax and
162 Chapter 6O:\Manuals\E6380A_Progguid\Book\Advoper.fmAdvanced OperationsStatus ReportingExample 6-86 ExampleOUTPUT 714;"STAT:HARD1:PTR 256&quo
Chapter 6 163Advanced OperationsStatus ReportingCommunicate Status Register Group The Communicate Status Register Group contains information about the
164 Chapter 6O:\Manuals\E6380A_Progguid\Book\Advoper.fmAdvanced OperationsStatus ReportingTable 6-9 shows the Communicate Status Register Group’s Cond
Chapter 6 165Advanced OperationsStatus ReportingAccessing the Communicate Status Register Group’s Registers The following sections show the syntax and
166 Chapter 6O:\Manuals\E6380A_Progguid\Book\Advoper.fmAdvanced OperationsStatus ReportingClearing the Event Register The EVENT register is cleared
Chapter 6 167Advanced OperationsHP-IB Service RequestsHP-IB Service Requests The Test Set is capable of generating a “service request” when it require
168 Chapter 6O:\Manuals\E6380A_Progguid\Book\Advoper.fmAdvanced OperationsHP-IB Service RequestsSetting Up and Enabling SRQ Interrupts Test Set status
Chapter 6 169Advanced OperationsHP-IB Service RequestsService Request Enable Register Service request enabling allows the application programmer to se
17Agilent Technologies Warranty Statement for Commercial Products Product Name: E6380A/E6381ADuration of Warranty: 1 year1. Agilent Technologies war
170 Chapter 6O:\Manuals\E6380A_Progguid\Book\Advoper.fmAdvanced OperationsHP-IB Service RequestsReading the Service Request Enable Register The Servic
Chapter 6 171Advanced OperationsHP-IB Service RequestsWriting the Service Request Enable Register The Service Request Enable Register is written with
172 Chapter 6O:\Manuals\E6380A_Progguid\Book\Advoper.fmAdvanced OperationsHP-IB Service RequestsProcedure for Generating a Service Request The followi
Chapter 6 173Advanced OperationsHP-IB Service RequestsExample BASIC Program to Set Up and Service an SRQ Interrupt The following Agilent Technologies
174 Chapter 6O:\Manuals\E6380A_Progguid\Book\Advoper.fmAdvanced OperationsHP-IB Service Requests470 !480 OUTPUT Inst_address;"STAT:CAL:PTR";
Chapter 6 175Advanced OperationsHP-IB Service Requests1080 !1090 ENABLE INTR 7;21100 !1110 ! Start of the dummy loop:1120 !1130 LOOP1140 DISP "I
176 Chapter 6O:\Manuals\E6380A_Progguid\Book\Advoper.fmAdvanced OperationsHP-IB Service Requests1700 ! appropriate action.1710 ! NOTE: Read the Event
Chapter 6 177Advanced OperationsInstrument InitializationInstrument Initialization This section discusses the various methods available to the program
178 Chapter 6O:\Manuals\E6380A_Progguid\Book\Advoper.fmAdvanced OperationsInstrument InitializationMethods of Initialization There are six methods of
Chapter 6 179Advanced OperationsInstrument InitializationPower-On Reset The Power-On Reset is accomplished by applying or cycling AC/DC power to the T
18 O:\Manuals\E6380A_Progguid\Book\Preface.fm8. Agilent Technologies will be liable for damage to tangible property per incident up to the greater o
180 Chapter 6O:\Manuals\E6380A_Progguid\Book\Advoper.fmAdvanced OperationsInstrument InitializationThe Power-On Reset condition in the Test Set was sp
Chapter 6 181Advanced OperationsInstrument InitializationFront-panel PRESET Key The Front-panel Reset is accomplished by pressing the PRESET key on th
182 Chapter 6O:\Manuals\E6380A_Progguid\Book\Advoper.fmAdvanced OperationsInstrument Initialization*RST IEEE 488.2 Common Command The *RST Reset is ac
Chapter 6 183Advanced OperationsInstrument InitializationThe *RST Reset condition in the Test Set was specifically designed to configure the instrumen
184 Chapter 6O:\Manuals\E6380A_Progguid\Book\Advoper.fmAdvanced OperationsInstrument InitializationDevice Clear (DCL) HP-IB Bus Command The Device Cle
Chapter 6 185Advanced OperationsInstrument InitializationSelected Device Clear (SDC) HP-IB Bus Command The Selected Device Clear (SDC) Reset is accomp
186 Chapter 6O:\Manuals\E6380A_Progguid\Book\Advoper.fmAdvanced OperationsPassing ControlPassing Control Communications on the HP-IB bus are accomplis
Chapter 6 187Advanced OperationsPassing ControlConfiguring the Test Set as the System Controller To configure the Test Set as a System Controller, sel
188 Chapter 6O:\Manuals\E6380A_Progguid\Book\Advoper.fmAdvanced OperationsPassing ControlPassing Control to the Test Set Control is passed to the Test
Chapter 6 189Advanced OperationsPassing ControlPassing Control Back to Another Controller The Test Set has two methods of passing control back to anot
19Regional Sales OfficesTable 2 Regional Sales and Service OfficesUnited States of America:Agilent TechnologiesTest and Measurement Call CenterP.O.
190 Chapter 6O:\Manuals\E6380A_Progguid\Book\Advoper.fmAdvanced OperationsPassing ControlRequesting Control using IBASIC The Test Set has the capabili
Chapter 6 191Advanced OperationsPassing ControlPass Control Examples The following examples illustrate how pass control could be implemented in two of
192 Chapter 6O:\Manuals\E6380A_Progguid\Book\Advoper.fmAdvanced OperationsPassing ControlExample 6-110 Example PASS CONTROL 714This command p
Chapter 6 193Advanced OperationsPassing ControlExample 6-111 Example10 COM /Hpib_names/ INTEGER Internal_hpib,Inst_address,Cntrl_state20 COM /Cn
194 Chapter 6O:\Manuals\E6380A_Progguid\Book\Advoper.fmAdvanced OperationsPassing Control620 COM /Reg_vals/ INTEGER Status_byte,Stdevnt_reg_val630
Chapter 6 195Advanced OperationsPassing Control380 GOTO Try_again390 ELSE400 PRINT "ERROR =";ERRN410 STOP420 END IF430
196 Chapter 6O:\Manuals\E6380A_Progguid\Book\Advoper.fmAdvanced OperationsPassing Control
1977 Memory Cards/Mass Storage
198 Chapter 7 O:\Manuals\E6380A_Progguid\Book\Mencard.fmMemory Cards/Mass StorageThis chapter contains information about using the mass storage device
Chapter 7 199Memory Cards/Mass StorageDefault File SystemDefault File System The Test Set’s default file system is DOS (the Microsoft Disk Operating
2 NoticeInformation contained in this document is subject to change without notice.All Rights Reserved. Reproduction, adaptation, or translation wit
20 O:\Manuals\E6380A_Progguid\Book\Preface.fm
200 Chapter 7 O:\Manuals\E6380A_Progguid\Book\Mencard.fmMemory Cards/Mass StorageMass Storage Device OverviewMass Storage Device Overview There are fo
Chapter 7 201Memory Cards/Mass StorageMass Storage Device OverviewFigure 7-1 Mass Storage DevicesPrograms and data can be retrieved from any of these
202 Chapter 7 O:\Manuals\E6380A_Progguid\Book\Mencard.fmMemory Cards/Mass StorageMass Storage Device Overview• Temporary Save/Recall register storageC
Chapter 7 203Memory Cards/Mass StorageMass Storage Device Overview Typical Uses• Permanent storage of factory supplied utility programs • Permanent st
204 Chapter 7 O:\Manuals\E6380A_Progguid\Book\Mencard.fmMemory Cards/Mass StorageMass Storage Device OverviewTypical Uses• Semi-permanent program and
Chapter 7 205Memory Cards/Mass StorageMass Storage Device OverviewTypical Uses• Permanent storage of factory supplied application programs • Permanent
206 Chapter 7 O:\Manuals\E6380A_Progguid\Book\Mencard.fmMemory Cards/Mass StorageDefault Mass Storage LocationsDefault Mass Storage Locations Built-in
Chapter 7 207Memory Cards/Mass StorageDefault Mass Storage LocationsTests Subsystem The default mass storage location for the Tests Subsystem is set u
208 Chapter 7 O:\Manuals\E6380A_Progguid\Book\Mencard.fmMemory Cards/Mass StorageMass Storage AccessMass Storage Access Program and data files stored
Chapter 7 209Memory Cards/Mass StorageDOS File System ConsiderationsDOS File System Considerations The DOS file system is used on IBM compatible perso
211 Using HP-IB
210 Chapter 7 O:\Manuals\E6380A_Progguid\Book\Mencard.fmMemory Cards/Mass StorageDOS File System ConsiderationsPotential File Name Conflicts Unexpecte
Chapter 7 211Memory Cards/Mass StorageDOS File System ConsiderationsInitializing Media The INITIALIZE command is used to initialize a media (PC card,
212 Chapter 7 O:\Manuals\E6380A_Progguid\Book\Mencard.fmMemory Cards/Mass StorageUsing the ROMUsing the ROM The Test Set comes with several Test Proce
Chapter 7 213Memory Cards/Mass StorageUsing PC CardsUsing PC Cards OTP (One-Time Programmable) cards provide removable read-only storage. File editing
214 Chapter 7 O:\Manuals\E6380A_Progguid\Book\Mencard.fmMemory Cards/Mass StorageUsing PC CardsFigure 7-2 Inserting a Memory CardSetting the Write-Pr
Chapter 7 215Memory Cards/Mass StorageUsing PC CardsFigure 7-3 Inserting the Battery and Setting the Write-Protect SwitchBattery Holder BatteryCAUTIO
216 Chapter 7 O:\Manuals\E6380A_Progguid\Book\Mencard.fmMemory Cards/Mass StorageUsing PC CardsThe Memory Card Battery SRAM PC cards use a lithium bat
Chapter 7 217Memory Cards/Mass StorageUsing PC CardsMemory Card Mass Storage Volume Specifier The front-panel PC card slot’s mass storage volume speci
218 Chapter 7 O:\Manuals\E6380A_Progguid\Book\Mencard.fmMemory Cards/Mass StorageBacking Up Procedure and Library FilesBacking Up Procedure and Librar
Chapter 7 219Memory Cards/Mass StorageCopying Files Using IBASIC CommandsCopying Files Using IBASIC Commands Files can be copied from one mass storage
22 Chapter 1 O:\Manuals\E6380A_Progguid\Book\Usehpib.fmUsing HP-IBOverview of the Test SetOverview of the Test Set The Test Set combines numerous sepa
220 Chapter 7 O:\Manuals\E6380A_Progguid\Book\Mencard.fmMemory Cards/Mass StorageCopying Files Using IBASIC CommandsExample 7-5 ExampleCOPY ":ME
Chapter 7 221Memory Cards/Mass StorageUsing RAMUsing RAM RAM is a section of the Test Set’s internal RAM that has been set aside for use as a mass sto
222 Chapter 7 O:\Manuals\E6380A_Progguid\Book\Mencard.fmMemory Cards/Mass StorageUsing RAMInitializing RAM Each RAM volume must be initialized before
2238 IBASIC Controller
224 Chapter 8O:\Manuals\E6380A_Progguid\Book\Ibasic.fmIBASIC ControllerIntroductionIntroduction The Test Set contains an instrument controller that ca
Chapter 8 225IBASIC ControllerThe IBASIC Controller ScreenThe IBASIC Controller Screen The Test Set has a dedicated screen for interfacing with the bu
226 Chapter 8O:\Manuals\E6380A_Progguid\Book\Ibasic.fmIBASIC ControllerThe IBASIC Controller ScreenExample 8-1 ExampleOUTPUT 714;"DISP TIBasic&q
Chapter 8 227IBASIC ControllerImportant Notes for Program DevelopmentImportant Notes for Program Development The Test Set is designed to operate the s
228 Chapter 8O:\Manuals\E6380A_Progguid\Book\Ibasic.fmIBASIC ControllerProgram DevelopmentProgram Development There are three recommended approaches f
Chapter 8 229IBASIC ControllerProgram DevelopmentFigure 8-2 Program Development MethodsDevelop on Test Setusing screen"EDIT" modeRun progra
Chapter 1 23Using HP-IBOverview of the Test SetManual Control Mode The Test Set’s primary instruments are shown on the left side of Figure 1-1 on page
230 Chapter 8O:\Manuals\E6380A_Progguid\Book\Ibasic.fmIBASIC ControllerInterfacing to the IBASIC Controller using Serial PortsInterfacing to the IBASI
Chapter 8 231IBASIC ControllerInterfacing to the IBASIC Controller using Serial PortsFigure 8-3 Serial Port Pin AssignmentsSerial Port 9 Configuratio
232 Chapter 8O:\Manuals\E6380A_Progguid\Book\Ibasic.fmIBASIC ControllerInterfacing to the IBASIC Controller using Serial Ports6. Another method which
Chapter 8 233IBASIC ControllerInterfacing to the IBASIC Controller using Serial PortsReceive and Transmit Pacing When receiving characters into the IB
234 Chapter 8O:\Manuals\E6380A_Progguid\Book\Ibasic.fmIBASIC ControllerInterfacing to the IBASIC Controller using Serial PortsPC Configuration To prep
Chapter 8 235IBASIC ControllerInterfacing to the IBASIC Controller using Serial PortsSetting Up HyperTerminal on your PC (Windows Version 3.1) 1. St
236 Chapter 8O:\Manuals\E6380A_Progguid\Book\Ibasic.fmIBASIC ControllerInterfacing to the IBASIC Controller using Serial Ports9. Edit the Communicatio
Chapter 8 237IBASIC ControllerInterfacing to the IBASIC Controller using Serial Ports3. To select a different communications port, enter the following
238 Chapter 8O:\Manuals\E6380A_Progguid\Book\Ibasic.fmIBASIC ControllerInterfacing to the IBASIC Controller using Serial PortsSetting Up HP AdvanceLin
Chapter 8 239IBASIC ControllerInterfacing to the IBASIC Controller using Serial Ports5. Press REMOTE CONFIG (to set up the Serial port you selected ab
24 Chapter 1 O:\Manuals\E6380A_Progguid\Book\Usehpib.fmUsing HP-IBOverview of the Test SetInternal Automatic Control Mode In Internal Automatic Contro
240 Chapter 8O:\Manuals\E6380A_Progguid\Book\Ibasic.fmIBASIC ControllerInterfacing to the IBASIC Controller using Serial Ports8. Press DONE to return
Chapter 8 241IBASIC ControllerChoosing Your Development MethodChoosing Your Development Method There are three fundamental methods for developing IBAS
242 Chapter 8O:\Manuals\E6380A_Progguid\Book\Ibasic.fmIBASIC ControllerChoosing Your Development MethodMethod 1 Using a BASIC language computer (eithe
Chapter 8 243IBASIC ControllerMethod #1. Program Development on an External BASIC Language ComputerMethod #1. Program Development on an External BASIC
244 Chapter 8O:\Manuals\E6380A_Progguid\Book\Ibasic.fmIBASIC ControllerMethod #1. Program Development on an External BASIC Language ComputerConfigurin
Chapter 8 245IBASIC ControllerMethod #1. Program Development on an External BASIC Language ComputerHP BASIC for Windows PC Configuration for Windows N
246 Chapter 8O:\Manuals\E6380A_Progguid\Book\Ibasic.fmIBASIC ControllerMethod #1. Program Development on an External BASIC Language ComputerProgram De
Chapter 8 247IBASIC ControllerMethod #1. Program Development on an External BASIC Language ComputerExample 8-5 Example20 ! Establishes IO path to sel
248 Chapter 8O:\Manuals\E6380A_Progguid\Book\Ibasic.fmIBASIC ControllerMethod #1. Program Development on an External BASIC Language ComputerAfter the
Chapter 8 249IBASIC ControllerMethod #1. Program Development on an External BASIC Language ComputerExample 8-7 Example10 ! PROGRAM TO UPLOAD IBASI
Chapter 1 25Using HP-IBOverview of the Test SetDifferences Between the Test Set’s IBASIC Controller and Other Single-Tasking ControllersThe IBASIC con
250 Chapter 8O:\Manuals\E6380A_Progguid\Book\Ibasic.fmIBASIC ControllerMethod #2. Developing Programs on the Test Set Using the IBASIC EDIT ModeMethod
Chapter 8 251IBASIC ControllerMethod #2. Developing Programs on the Test Set Using the IBASIC EDIT ModeTo Access the IBASIC Command Line Field1. Posit
252 Chapter 8O:\Manuals\E6380A_Progguid\Book\Ibasic.fmIBASIC ControllerMethod #2. Developing Programs on the Test Set Using the IBASIC EDIT ModeEnteri
Chapter 8 253IBASIC ControllerMethod #2. Developing Programs on the Test Set Using the IBASIC EDIT ModeSetting Up Function Keys In HyperTerminal When
254 Chapter 8O:\Manuals\E6380A_Progguid\Book\Ibasic.fmIBASIC ControllerMethod #2. Developing Programs on the Test Set Using the IBASIC EDIT ModeSettin
Chapter 8 255IBASIC ControllerMethod #3. Developing Programs Using Word Processor on a PC (Least Preferred)Method #3. Developing Programs Using Word P
256 Chapter 8O:\Manuals\E6380A_Progguid\Book\Ibasic.fmIBASIC ControllerMethod #3. Developing Programs Using Word Processor on a PC (Least Preferred)Wr
Chapter 8 257IBASIC ControllerMethod #3. Developing Programs Using Word Processor on a PC (Least Preferred)Transferring Programs from the Word Process
258 Chapter 8O:\Manuals\E6380A_Progguid\Book\Ibasic.fmIBASIC ControllerMethod #3. Developing Programs Using Word Processor on a PC (Least Preferred)As
Chapter 8 259IBASIC ControllerMethod #3. Developing Programs Using Word Processor on a PC (Least Preferred)Example 8-8 Example10 ! ASCII_DN20 ! Pro
26 Chapter 1 O:\Manuals\E6380A_Progguid\Book\Usehpib.fmUsing HP-IBOverview of the Test SetExternal Automatic Control Mode In External Automatic Contro
260 Chapter 8O:\Manuals\E6380A_Progguid\Book\Ibasic.fmIBASIC ControllerMethod #3. Developing Programs Using Word Processor on a PC (Least Preferred)Se
Chapter 8 261IBASIC ControllerMethod #3. Developing Programs Using Word Processor on a PC (Least Preferred)Sending ASCII Text Files over RS-232 with P
262 Chapter 8O:\Manuals\E6380A_Progguid\Book\Ibasic.fmIBASIC ControllerMethod #3. Developing Programs Using Word Processor on a PC (Least Preferred)17
Chapter 8 263IBASIC ControllerUploading Programs from the Test Set to a PCUploading Programs from the Test Set to a PC As an overview, the following s
264 Chapter 8O:\Manuals\E6380A_Progguid\Book\Ibasic.fmIBASIC ControllerSerial I/O from IBASIC ProgramsSerial I/O from IBASIC Programs There are two se
Chapter 8 265IBASIC ControllerSerial I/O from IBASIC ProgramsExample IBASIC Program Using Serial Port 10 The following program illustrates I/O to both
266 Chapter 8O:\Manuals\E6380A_Progguid\Book\Ibasic.fmIBASIC ControllerSerial I/O from IBASIC ProgramsSerial Port 10 Information Serial Port 10 is som
Chapter 8 267IBASIC ControllerPROGram SubsystemPROGram Subsystem IntroductionThe PROGram Subsystem provides a set of commands which allow an external
268 Chapter 8O:\Manuals\E6380A_Progguid\Book\Ibasic.fmIBASIC ControllerPROGram SubsystemTest Set PROGram SubsystemThe Test Set was designed to store o
Chapter 8 269IBASIC ControllerPROGram SubsystemUnsupported SCPI CommandsThe Test Set does not support the following SCPI commands.:CATalog?:SELected:D
Chapter 1 27Using HP-IBOverview of the Test SetWriting programs for the Test Set One of the design goals for automatic control of the Test Set was tha
270 Chapter 8O:\Manuals\E6380A_Progguid\Book\Ibasic.fmIBASIC ControllerPROGram SubsystemPROGram Subsystem Commands See the “:PROGram Subsystem in the
Chapter 8 271IBASIC ControllerPROGram SubsystemExample 8-11 SyntaxPROGram[:SELected]:DEFine <program> The DEFine command is used to create and
272 Chapter 8O:\Manuals\E6380A_Progguid\Book\Ibasic.fmIBASIC ControllerPROGram SubsystemExample 8-13 Example BASIC program to download an IBASIC prog
Chapter 8 273IBASIC ControllerPROGram SubsystemExample 8-16 Example BASIC program to download an IBASIC program to Test Set10 OUTPUT 714;"PROG:D
274 Chapter 8O:\Manuals\E6380A_Progguid\Book\Ibasic.fmIBASIC ControllerPROGram SubsystemExample 8-19 Example BASIC program to upload an IBASIC progra
Chapter 8 275IBASIC ControllerPROGram SubsystemExample 8-21 ExampleOUTPUT 714;"PROGram:SELected:DELete:ALL" orOUTPUT 714;"PROG:DEL:ALL
276 Chapter 8O:\Manuals\E6380A_Progguid\Book\Ibasic.fmIBASIC ControllerPROGram SubsystemExample 8-23 ExampleOUTPUT 714;"PROGram:SELected:EXECute
Chapter 8 277IBASIC ControllerPROGram SubsystemExample 8-26 Example setting the value of a one dimensional array [Array(5)] with 6 elementsOUTPUT 714
278 Chapter 8O:\Manuals\E6380A_Progguid\Book\Ibasic.fmIBASIC ControllerPROGram SubsystemFor simple variables the value is returned as a series of ASCI
Chapter 8 279IBASIC ControllerPROGram SubsystemExample 8-30 Example querying the value of a one dimensional array [Array(5)] with 6 elementsOUTPUT 71
28 Chapter 1 O:\Manuals\E6380A_Progguid\Book\Usehpib.fmUsing HP-IBOverview of the Test SetFigure 1-1 Manual Control ModeDisplayKEY-PAD/ROTARY KNOB SC
280 Chapter 8O:\Manuals\E6380A_Progguid\Book\Ibasic.fmIBASIC ControllerPROGram Subsystem:STATe RUN|PAUSe|STOP|CONTinue The STATe command is used to
Chapter 8 281IBASIC ControllerPROGram SubsystemExample 8-34 SyntaxPROGram[:SELected]:STATe?Example 8-35 ExampleOUTPUT 714;"PROGram:SELected:STA
282 Chapter 8O:\Manuals\E6380A_Progguid\Book\Ibasic.fmIBASIC ControllerPROGram SubsystemExample 8-36 SyntaxPROGram[:SELected]:STRing <varname>{
Chapter 8 283IBASIC ControllerPROGram SubsystemIf an attempt is made to query the value of a string variable or array and no IBASIC program is in the
284 Chapter 8O:\Manuals\E6380A_Progguid\Book\Ibasic.fmIBASIC ControllerPROGram SubsystemExample 8-42 Example of querying the value of a string array
Chapter 8 285IBASIC ControllerPROGram SubsystemExample 8-43 SyntaxPROGram[:SELected]:WAITExample 8-44 ExampleOUTPUT 714;"PROGram:SELected:WAIT&
286 Chapter 8O:\Manuals\E6380A_Progguid\Book\Ibasic.fmIBASIC ControllerPROGram SubsystemExample 8-47 Example BASIC program without using the :WAIT? q
Chapter 8 287IBASIC ControllerPROGram SubsystemUsing the EXECute Command The PROGram:EXECute command can be used to list, edit and control IBASIC prog
288 Chapter 8O:\Manuals\E6380A_Progguid\Book\Ibasic.fmIBASIC ControllerPROGram SubsystemExample 8-52 ExampleOUTPUT 714;"PROG:EXEC ’30 PRINT &quo
Chapter 8 289IBASIC ControllerPROGram SubsystemDownloading An IBASIC Program Into the Test Set The following procedure uses the PROGram Subsystem comm
Chapter 1 29Using HP-IBOverview of the Test SetFigure 1-2 Internal Automatic Control ModeDisplayKEY-PAD/ROTARY KNOBSCREENCONTROLHARDWAREINSTRUMENT CO
290 Chapter 8O:\Manuals\E6380A_Progguid\Book\Ibasic.fmIBASIC ControllerPROGram SubsystemUploading a Program From the Test Set The following BASIC prog
Chapter 8 291IBASIC ControllerPROGram SubsystemSaving an IBASIC Program To A PC card The following procedure can be used to save an IBASIC program fro
292 Chapter 8O:\Manuals\E6380A_Progguid\Book\Ibasic.fmIBASIC ControllerThe TESTS SubsystemThe TESTS Subsystem The Test Set makes available to the user
Chapter 8 293IBASIC ControllerThe TESTS SubsystemTESTS Subsystem File Descriptions Three types of files are used in the TESTS Subsystem to store diffe
294 Chapter 8O:\Manuals\E6380A_Progguid\Book\Ibasic.fmIBASIC ControllerThe TESTS SubsystemFigure 8-6 TESTS Subsystem File RelationshipTESTS Subsystem
Chapter 8 295IBASIC ControllerThe TESTS SubsystemFigure 8-7 The SOFTWARE MENU ScreenTESTS Subsystem User-Interface Screens The TESTS Subsystem allows
296 Chapter 8O:\Manuals\E6380A_Progguid\Book\Ibasic.fmIBASIC ControllerThe TESTS Subsystem•The External Devices screen identifies all connected HP-IB
2979 Error Messages
298 Chapter 9 O:\Manuals\E6380A_Progguid\Book\Errormsg.fmError MessagesGeneral Information About Error MessagesGeneral Information About Error Message
Chapter 9 299Error MessagesGeneral Information About Error MessagesIBASIC Error Messages IBASIC Error Messages are associated with IBASIC operation. I
Contents 31. Using HP-IBOverview of the Test Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
30 Chapter 1 O:\Manuals\E6380A_Progguid\Book\Usehpib.fmUsing HP-IBGetting StartedGetting Started What is HP-IB? The Hewlett-Packard Interface Bus (HP-
300 Chapter 9 O:\Manuals\E6380A_Progguid\Book\Errormsg.fmError MessagesGeneral Information About Error MessagesUsually, negative numbers preceding the
Chapter 9 301Error MessagesGeneral Information About Error MessagesThe Message Display During instrument operation, various messages may appear on the
302 Chapter 9 O:\Manuals\E6380A_Progguid\Book\Errormsg.fmError MessagesGeneral Information About Error MessagesText Only Error Messages Operation erro
Chapter 9 303Error MessagesGeneral Information About Error Messages• Cal file checksum incorrect - initializing file.This error usually occurs after c
304 Chapter 9 O:\Manuals\E6380A_Progguid\Book\Errormsg.fmError MessagesHP-IB ErrorsHP-IB Errors Most HP-IB errors occur when the control program attem
Chapter 9 305Error MessagesText Only HP-IB ErrorsText Only HP-IB Errors Un-numbered (text only) HP-IB error messages are generally self-explanatory. F
306 Chapter 9 O:\Manuals\E6380A_Progguid\Book\Errormsg.fmError MessagesText Only HP-IB ErrorsIn order to save the current Test Set state into a Save/R
Chapter 9 307Error MessagesNumbered HP-IB Error DescriptionsNumbered HP-IB Error Descriptions The following HP-IB errors can be generated under any of
308 Chapter 9 O:\Manuals\E6380A_Progguid\Book\Errormsg.fmError MessagesNumbered HP-IB Error DescriptionsExample 9-12 Error -104Data type errorThe pa
Chapter 9 309Error MessagesNumbered HP-IB Error DescriptionsExample 9-20 Error -114 Header suffix out of rangeIndicates that a nonheader character ha
Chapter 1 31Using HP-IBGetting StartedHP-IB Information Provided in This Manual What Is Explained • How to configure the Test Set for HP-IB operation
310 Chapter 9 O:\Manuals\E6380A_Progguid\Book\Errormsg.fmError MessagesNumbered HP-IB Error DescriptionsExample 9-28 Error -134Suffix too longThe suf
Chapter 9 311Error MessagesNumbered HP-IB Error DescriptionsExample 9-36 Error -152Parity errorParity errorExample 9-37 Error -158String data not al
312 Chapter 9 O:\Manuals\E6380A_Progguid\Book\Errormsg.fmError MessagesNumbered HP-IB Error DescriptionsExample 9-44 Error -180Macro errorThis error
Chapter 9 313Error MessagesNumbered HP-IB Error DescriptionsExample 9-52 Error -211Trigger ignoredIndicates that a GET, *TRG, or triggering signal wa
314 Chapter 9 O:\Manuals\E6380A_Progguid\Book\Errormsg.fmError MessagesNumbered HP-IB Error DescriptionsExample 9-59 Error -222Data out of rangeIndic
Chapter 9 315Error MessagesNumbered HP-IB Error DescriptionsExample 9-67 Error -251Missing mass storageIndicates that a legal program command or que
316 Chapter 9 O:\Manuals\E6380A_Progguid\Book\Errormsg.fmError MessagesNumbered HP-IB Error DescriptionsExample 9-74 Error -258Media protectedIndicat
Chapter 9 317Error MessagesNumbered HP-IB Error DescriptionsExample 9-81 Error -274Macro parameter errorIndicates that the macro definition improper
318 Chapter 9 O:\Manuals\E6380A_Progguid\Book\Errormsg.fmError MessagesNumbered HP-IB Error DescriptionsExample 9-88 Error -282Illegal program nameTh
Chapter 9 319Error MessagesNumbered HP-IB Error DescriptionsExample 9-97 Error -313Calibration memory lostIndicates that nonvolatile calibration dat
32 Chapter 1 O:\Manuals\E6380A_Progguid\Book\Usehpib.fmUsing HP-IBGetting StartedGeneral HP-IB Programming Guidelines The following guidelines should
320 Chapter 9 O:\Manuals\E6380A_Progguid\Book\Errormsg.fmError MessagesNumbered HP-IB Error DescriptionsExample 9-104 Error -420Query UNTERMINATEDIndi
Chapter 9 321Error MessagesNumbered HP-IB Error DescriptionsExample 9-109 Error -608Initialization of Input Module Relay Count file failed.Indicates t
322 Chapter 9 O:\Manuals\E6380A_Progguid\Book\Errormsg.fmError MessagesNumbered HP-IB Error DescriptionsExample 9-116 Error -1307Timeout occurred whil
Chapter 9 323Error MessagesNumbered HP-IB Error DescriptionsExample 9-121 Error -1312Data from RVC contains invalid bits in word [1,2,3].Indicates tha
324 Chapter 9 O:\Manuals\E6380A_Progguid\Book\Errormsg.fmError MessagesNumbered HP-IB Error DescriptionsExample 9-125 Error -1316Incomplete data recei
IndexIndex 325Symbols*CLS, 99*ESE, 99*ESE?, 99*ESR?, 99*IDN?, 89*OPC, 93*OPC?, 96*OPT?, 90*PCB, 100, 188*RCL, 100*RST, 91, 182*SAV, 101*SRE, 99, 171*
326 Index Indexupload IBASIC code from Test Set, 249upload IBASIC program from Test Set, 274variables and arrays, 276wait (*WAI), 98Extended Addressin
IndexIndex 327L.LIB Files, 293, 209Library Files, 209, 293backing up, 218Local Lockout, 50Local Mode, 48Local to Remote Transition, 49Local/Remote Tr
328 Index Indextriggering, immediate, 109triggering, repetitive/single, 109triggering, settling, 110upload IBASIC code from Test Set, 249upload IBASIC
IndexIndex 329using semicolon command separator, 117using semicolon to output multiple commands, 67using upper/lower case letters, 65System Controlle
Chapter 1 33Using HP-IBGetting Started6. Send the MEASure query command to initiate a reading. This will place the measured value into the Test Set’s
34 Chapter 1 O:\Manuals\E6380A_Progguid\Book\Usehpib.fmUsing HP-IBGetting Started• Guideline #2.If the program stops or “hangs up” when trying to ENTE
Chapter 1 35Using HP-IBGetting Started• Guideline #3.The syntax diagrams in the HP-IB Syntax Reference Guide show where single quotes are needed and w
36 Chapter 1 O:\Manuals\E6380A_Progguid\Book\Usehpib.fmUsing HP-IBGetting StartedControl Annunciators The letters and symbols at the top right corner
Chapter 1 37Using HP-IBGetting StartedPreparing the Test Set For HP-IB Use 1. If other HP-IB devices are in the system, attach an HP-IB cable from the
38 Chapter 1 O:\Manuals\E6380A_Progguid\Book\Usehpib.fmUsing HP-IBGetting StartedUsing the HP-IB with the Test Set’s built-in IBASIC Controller The Te
Chapter 1 39Using HP-IBGetting StartedBasic Programming Examples The following simple examples illustrate the basic approach to controlling the Test S
4 Contents4. IEEE Common CommandsIEEE 488.2 Common Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
40 Chapter 1 O:\Manuals\E6380A_Progguid\Book\Usehpib.fmUsing HP-IBGetting StartedTo Read a Field’s Setting over HP-IB1. Use the DISPlay command to acc
Chapter 1 41Using HP-IBGetting StartedTo Make a Simple Measurement The basic method for making a measurement is very similar to the method used to rea
42 Chapter 1 O:\Manuals\E6380A_Progguid\Book\Usehpib.fmUsing HP-IBRemote OperationRemote Operation The Test Set can be operated remotely through the H
Chapter 1 43Using HP-IBRemote OperationRemote Capabilities Conformance to the IEEE 488.1-1987 Standard For all IEEE 488.1 functions implemented, the T
44 Chapter 1 O:\Manuals\E6380A_Progguid\Book\Usehpib.fmUsing HP-IBAddressingAddressing Factory Set Address The Test Set’s HP-IB address is set to deci
Chapter 1 45Using HP-IBIEEE 488.1 Remote Interface Message CapabilitiesIEEE 488.1 Remote Interface Message Capabilities The remote interface message c
46 Chapter 1 O:\Manuals\E6380A_Progguid\Book\Usehpib.fmUsing HP-IBIEEE 488.1 Remote Interface Message CapabilitiesClear Lockout/Set LocalYes The Test
Chapter 1 47Using HP-IBIEEE 488.1 Remote Interface Message CapabilitiesTrigger Yes If in remote programming mode and addressed to listen, the Test Set
48 Chapter 1 O:\Manuals\E6380A_Progguid\Book\Usehpib.fmUsing HP-IBRemote/Local ModesRemote/Local Modes Remote Mode In Remote mode all front-panel keys
Chapter 1 49Using HP-IBRemote/Local ModesLocal To Remote Transitions The Test Set switches from Local to Remote mode upon receipt of the Remote messag
Contents 5Calibration Status Register Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151Hardware Status
50 Chapter 1 O:\Manuals\E6380A_Progguid\Book\Usehpib.fmUsing HP-IBRemote/Local ModesLocal Lockout The Local Lockout mode disables the front-panel LOCA
512 Methods For Reading Measurement Results
52 Chapter 2O:\Manuals\E6380A_Progguid\Book\Measrslt.fmMethods For Reading Measurement ResultsBackgroundBackgroundOne of the most common remote user i
Chapter 2 53Methods For Reading Measurement ResultsBackgroundThe following programs demonstrate a recommended technique for querying and entering data
54 Chapter 2O:\Manuals\E6380A_Progguid\Book\Measrslt.fmMethods For Reading Measurement ResultsRMB ‘ON TIMEOUT’ Example ProgramRMB ‘ON TIMEOUT’ Example
Chapter 2 55Methods For Reading Measurement ResultsRMB ‘ON TIMEOUT’ Example ProgramExample 2-2 Time-out Example10 COM /Io_names/ INTEGER Inst_addr,B
56 Chapter 2O:\Manuals\E6380A_Progguid\Book\Measrslt.fmMethods For Reading Measurement ResultsRMB ‘ON TIMEOUT’ Example ProgramComments for Recommended
Chapter 2 57Methods For Reading Measurement ResultsRMB ‘ON TIMEOUT’ Example Program380 Set up a time-out for any I/O activity on the HP-IB while the c
58 Chapter 2O:\Manuals\E6380A_Progguid\Book\Measrslt.fmMethods For Reading Measurement ResultsRMB ‘MAV’ Example ProgramRMB ‘MAV’ Example ProgramThe fo
Chapter 2 59Methods For Reading Measurement ResultsRMB ‘MAV’ Example ProgramExample 2-3 MAV Example10 COM /Io_names/ INTEGER Inst_addr,Bus_addr20 CL
6 ContentsCopying Files Using IBASIC Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .219Copying an Entire Vo
60 Chapter 2O:\Manuals\E6380A_Progguid\Book\Measrslt.fmMethods For Reading Measurement ResultsRMB ‘MAV’ Example ProgramComments for Recommended Routin
Chapter 2 61Methods For Reading Measurement ResultsRMB ‘MAV’ Example Program360 Perform a serial poll to read the Status Byte from the Test Set. A ser
62 Chapter 2O:\Manuals\E6380A_Progguid\Book\Measrslt.fmMethods For Reading Measurement ResultsRMB ‘MAV’ Example Program490 The following lines of code
633 HP-IB Command Guidelines
64 Chapter 3O:\Manuals\E6380A_Progguid\Book\Guidelin.fmHP-IB Command GuidelinesSequential and Overlapped CommandsSequential and Overlapped Commands IE
Chapter 3 65HP-IB Command GuidelinesGuidelines for OperationGuidelines for Operation The following topics discuss rules and guidelines for controlling
66 Chapter 3O:\Manuals\E6380A_Progguid\Book\Guidelin.fmHP-IB Command GuidelinesGuidelines for OperationUsing Quotes for String Entries Quotation marks
Chapter 3 67HP-IB Command GuidelinesGuidelines for OperationExample 3-4 ExampleDISP AFANAFAN:INP:GAIN ’40 dB’Using the Semicolon to Output Multiple C
68 Chapter 3O:\Manuals\E6380A_Progguid\Book\Guidelin.fmHP-IB Command GuidelinesGuidelines for OperationExample 3-6 ExampleRFAN:FREQ 850MHZ;:AFAN:INP
Chapter 3 69HP-IB Command GuidelinesGuidelines for OperationDisplay Units (DUNits)Display Units are the units-of-measure used by the Test Set to displ
Contents 7PROGram Subsystem Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270Using the EXECute Com
70 Chapter 3O:\Manuals\E6380A_Progguid\Book\Guidelin.fmHP-IB Command GuidelinesGuidelines for OperationExample 3-16 mV:MEAS:RFR:POW:DUN MV Example 3-
Chapter 3 71HP-IB Command GuidelinesGuidelines for OperationExample 3-26 Example!Query Display Units setting for TX Power measurement.OUTPUT 714;&quo
72 Chapter 3O:\Manuals\E6380A_Progguid\Book\Guidelin.fmHP-IB Command GuidelinesGuidelines for OperationHP-IB Units (UNITs) HP-IB Units are the units-o
Chapter 3 73HP-IB Command GuidelinesGuidelines for OperationChanging HP-IB Units Use the UNITs command to change the HP-IB Units setting for selected
74 Chapter 3O:\Manuals\E6380A_Progguid\Book\Guidelin.fmHP-IB Command GuidelinesGuidelines for OperationGuidelines for HP-IB Units • When setting the
Chapter 3 75HP-IB Command GuidelinesGuidelines for OperationAttribute Units (AUNits)Attribute Units are the units-of-measure used by the Test Set when
76 Chapter 3O:\Manuals\E6380A_Progguid\Book\Guidelin.fmHP-IB Command GuidelinesGuidelines for OperationDefault Data Function Values The majority of m
Chapter 3 77HP-IB Command GuidelinesGuidelines for OperationThe Data Functions are set to their default values whenever• the power is cycled on the Te
78 Chapter 3O:\Manuals\E6380A_Progguid\Book\Guidelin.fmHP-IB Command GuidelinesGuidelines for OperationIf it is not possible to properly convert all t
Chapter 3 79HP-IB Command GuidelinesGuidelines for OperationExample 3-29 Example!Reset the Test SetOUTPUT 714;"*RST"!Set HIgh LIMIT value t
8 Contents
80 Chapter 3O:\Manuals\E6380A_Progguid\Book\Guidelin.fmHP-IB Command GuidelinesGuidelines for OperationReading-back Attribute Units Use the AUNits? c
Chapter 3 81HP-IB Command GuidelinesGuidelines for OperationGuidelines for Attribute Units • When setting the value of measurement functions REFeren
82 Chapter 3O:\Manuals\E6380A_Progguid\Book\Guidelin.fmHP-IB Command GuidelinesGuidelines for OperationUsing the STATe Command The STATe command corre
Chapter 3 83HP-IB Command GuidelinesGuidelines for OperationReading back the measurement, instrument function, or data function state Use the query fo
84 Chapter 3O:\Manuals\E6380A_Progguid\Book\Guidelin.fmHP-IB Command GuidelinesGuidelines for OperationSample HP-IB Program The following program was
Chapter 3 85HP-IB Command GuidelinesGuidelines for Operation300 !310 !Measure and plot oscilloscope trace to see the waveform shape.320 DIM Trace(0:41
86 Chapter 3O:\Manuals\E6380A_Progguid\Book\Guidelin.fmHP-IB Command GuidelinesGuidelines for Operation
874 IEEE Common CommandsThis chapter describes IEEE 488.2 common commands.
88 Chapter 4 O:\Manuals\E6380A_Progguid\Book\Ieee.fmIEEE Common CommandsIEEE 488.2 Common CommandsIEEE 488.2 Common Commands The IEEE 488.2 Standard d
Chapter 4 89IEEE Common CommandsCommon Command DescriptionsCommon Command Descriptions *IDN? (Identification Query) The *IDN? query causes a device to
9About this manual, its companions, and product regulatory information.What is discussed in this manualThis manual explains how to program the Test
90 Chapter 4 O:\Manuals\E6380A_Progguid\Book\Ieee.fmIEEE Common CommandsCommon Command Descriptions*OPT? (Option Identification Query) The *OPT? comma
Chapter 4 91IEEE Common CommandsCommon Command Descriptions*RST (Reset) The *RST command resets the Test Set. When the *RST command is received the ma
92 Chapter 4 O:\Manuals\E6380A_Progguid\Book\Ieee.fmIEEE Common CommandsCommon Command Descriptions*TST? (Self-Test Query) The *TST? self-test query c
Chapter 4 93IEEE Common CommandsCommon Command Descriptions*OPC (Operation Complete) The *OPC command allows for synchronization between the Test Set
94 Chapter 4 O:\Manuals\E6380A_Progguid\Book\Ieee.fmIEEE Common CommandsCommon Command DescriptionsExample BASIC program - Service Request Example 4-5
Chapter 4 95IEEE Common CommandsCommon Command DescriptionsExample BASIC program - Polling the Standard Event Status Register Example 4-6 Example10 I
96 Chapter 4 O:\Manuals\E6380A_Progguid\Book\Ieee.fmIEEE Common CommandsCommon Command Descriptions*OPC? (Operation Complete Query) The *OPC? query al
Chapter 4 97IEEE Common CommandsCommon Command DescriptionsExample 4-7 Example BASIC program10 INTEGER Output_que_val20 OUTPUT 714;"*SRE 0"
98 Chapter 4 O:\Manuals\E6380A_Progguid\Book\Ieee.fmIEEE Common CommandsCommon Command Descriptions*WAI (Wait To Complete) The *WAI command stops the
Chapter 4 99IEEE Common CommandsCommon Command Descriptions*CLS (Clear Status) The *CLS command clears the contents (sets all bits to zero) of all Eve
Komentáře k této Příručce