1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408
®
Advanced Test Equipment Rentals
www.atecorp.com 800-404-ATEC (2832)
Errata
1652B/1653B Logic Analyzer Programming Reference
Title & Document Type:
01652-40903
Manual Part Number:
December 1989
Revision Date:
HP References in this Manual
This manual may contain references to HP or Hewlett-Packard. Please note that Hewlett-
Packard's former test and measurement, semiconductor products and chemical analysis
businesses are now part of Agilent Technologies. We have made no changes to this
manual copy. The HP XXXX referred to in this document is now the Agilent XXXX.
For example, model number HP8648A is now model number Agilent 8648A.
About this Manual
We've added this manual to the Agilent website in an effort to help you support your
product. This manual provides the best information we could find. It may be incomplete
or contain dated information, and the scan quality may not be ideal. If we find a better
copy in the future, we will add it to the Agilent website.
Support for Your Product
Agilent no longer sells or supports this product. You will find any other available
product information on the Agilent Test & Measurement website:
www.tm.agilent.com
Search for the model number of this product, and the resulting product page will guide
you to any available information. Our service centers may be able to perform calibration
if no repair parts are needed, but no other support from Agilent is available.

Advertising

   Also See for HP HP 1652B

   Related Manuals for HP HP 1652B

   Summary of Contents for HP HP 1652B

  • Page 1

    Agilent Technologies. We have made no changes to this manual copy. The HP XXXX referred to in this document is now the Agilent XXXX. For example, model number HP8648A is now model number Agilent 8648A.

  • Page 2

    Programming Reference HP 1652B/HP 1653B Logic Analyzers HEWLETT PACKARD @Copyright Hewlett-Packard Company 1989 Printed in the U.S.A. December 1989 Manual Number 0165240903...

  • Page 3

    Printing History New editions are complete revisions of the manual. Update packages, which are issued between editions, contain additional and replacement pages to be merged into the manual by the customer. The dates on the title page change only when a new edition or a new update is published. No information is incorporated into a reprinting unless it appears as a prior update;...

  • Page 4

    List of Effective Pages The List of Effective Pages gives the data of the current edition and of any pages changed in updates to that edition. Within the manual, any page changed since the last edition will have the date the changes were made printed on the bottom of the page.

  • Page 5: Table Of Contents

    Multiple Queries ......... l-17 Contents - 1 HP 16528/1653B Programming...

  • Page 6: Table Of Contents

    ..........2- 1 Addressing Communicating Over the HP-IB Bus (HP 9000 Series 200/300 ..2- 2 Controller) .

  • Page 7: Table Of Contents

    Command Types ......... . 4-4 Tree Traversal Rules .

  • Page 8: Table Of Contents

    L I N E ..........8- 5 HP 16528/1653B...

  • Page 9: Table Of Contents

    Chapter 9 ..9-l Introduction ..9-2 Chapter 10 Introduction ..........10-l .

  • Page 10

    .........14- 4 Contents - 6 HP 16528/l 6538 Programming Reference...

  • Page 11

    ..18-5 EDGE ..18-6 ..18-8 ..18-9 HP 16628/1653B Contents - 7 Programming Reference...

  • Page 12

    ..........2O- 6 HP 16526/1653B...

  • Page 13: Table Of Contents

    TYPE ..........24- 5 HP 16528/16538...

  • Page 14

    ........26-2 2 HP 16528/1653B...

  • Page 15: Table Of Contents

    Diagrams ......... . . A-S Syntax HP 10528/16538 Contents - 11...

  • Page 16: Table Of Contents

    Bit Definitions ......... . . Using Serial Poll (HP-IB) ....... . . B-6 .

  • Page 17: Introduction

    Send measurement data to the instrument The instructions listed in this manual give you access to the measurements and front panel features of the HP 1652B153B. The complexity of your programs and the tasks they accomplish are limited only by your imagination.

  • Page 18: Instruction Syntax

    HP 1652B/53B. For example, HP 9000 Series 2W300 BASIC uses the OUTPUT statement for sending commands and queries to the HP 1652B/53B. After a query is sent, the response is usually read in using the ENTER statement. All progr amming examples in this manual are presented in BASIC.

  • Page 19: Output Command

    Output Command The output command is entirely dependant on the language you choose to use. Throughout this manual HP !%OO Series 2W300 BASIC 4.0 is used in the programming examples. People using another language will need to CLEAR in order to convert the examples. The instructions for the HP 1652B/53B are always shown between the double-quotes.

  • Page 20

    Sometimes you may need to list more than one subsystem before being allowed to specify the function. The keywords within the compound header are separated by colons. For example: To execute a single function within a subsystem, use the following: Introduction to Progmmming an Instrument HP 16628/1653B Programming Reference...

  • Page 21: Mode

    For example, the function keyword MMODE may be used to specify the marker mode in the subsystem for state listing or the timing waveforms: listing. TIME waveforms. SLIST and TWAVEFORM are subsystem selectors and determine which marker mode is being modified. HP 16528/1653B Introduction to Programming an Instrument Programming Reference...

  • Page 22

    Sending another command before reading the result of the query will cause the output buffer to be cleared and the current response to be lost. This will also generate a “QUERY UNTERMINATED” error in the error queue. Introduction to Programming an Instrument HP 1662Bll663B Programming Reference...

  • Page 23: Program Header Options

    MMEMory subsystem (see chapter 7). These syntax rules also show how data may be formatted when sent back from the HP 1652B/53B as a response. The parameter list always follows the instruction header and is separated from it by white space. When more than one parameter is used, they are separated by commas.

  • Page 24

    When receiving responses, upper-case letters will be used exclusively. The use of longform or shortform in a response depends on the setting you last specified via the SYSTem:LONGform command (see chapter 6). Introduction to Programming an Instrument HP 18528/1883B Progremming Reference...

  • Page 25: Selecting Multiple Subsystems

    The colon following the semicolon enables you to enter a new subsystem. For example: Multiple commands may be any combination of simple, compound and Note 4 common commands. HP 16528/1653B Introduction to Programming an Instrument...

  • Page 26: Load

    BASIC provides a CLEAR command which clears the interface buffer. If you’re using HP-IB, CLEAR will also reset the HP 1652B/53B’s parser. The parser is the program which reads in the instructions which you send it.

  • Page 27: Receiving Information From The Instrument

    Example Progrem This program demonstrates the basic command structure used to program the HP 16XXV53B. instrument interface 10 CLEAR XXX 20 OUTPUT XXX;" :SYSTEM:HEADER ON" 30 OUTPUT XXX; ":SYSTEM:LONGFORM ON" 40 OUTPUT XXX;" :MMEM:LOAD:CONFIG 'TEST-E'" 50 OUTPUT XXX;":MENU 60 OUTPUT XXX;":RMODE SINGLE"...

  • Page 28: Response Header Options

    The separator between the header and the data always consists of one space. The following examples show some possible responses for a with HEADER OFF: <data> <terminator> with HEADER ON and LONGFORM OFF: with HEADER ON and LONGFORM ON: Introduction to Programming an Instrument HP 16628/1653B 1-12 Programming Reference...

  • Page 29: Response Data Formats

    “ADDR ‘,lS,POScterminator > (Header off; Longform off) Refer to the individual commands in this manual for information on the Note d format (alpha or numeric) of the data returned from each query. HP 1652B/l653B Introduction to Programming an Instrument Programming Reference 1-13...

  • Page 30: String Variables

    ENTER XXX;Result$ places the output of the query in the string variable Result%. In the language used for this book (HP BASIC 4.0), string variables are Note case sensitive and must be expressed exactly the same each time they are used.

  • Page 31: Numeric Variables

    50 END This time the format of the number (such as whether or not exponential notation is used) is dependant upon your host language. In BASIC, the output would look like: HP 16528/1653B Introduction to Programming an Instrument Programming Reference...

  • Page 32: Definite-length Block Response Data

    Figure 1-2. Definite-length Block Response Data The “8” states the number of digits that follow, and ‘WOOOO80” states the number of bytes to be transmitted. Indefinite-length block data is not supported on the HI?1652B/53B. Note Introduction to Progmmming an Instrument HP 16528/1653B 1-16 Progmmming Reference...

  • Page 33: Multiple Queries

    Appendix B, “Status Reporting,” explains how to check the status of the instrument. HP 16528/1653B Introduction to Programming an Instrument 1-17...

  • Page 34

    Interface The interface capabilities of the HP 1652B/53B, as defined by IEEE 488.1 are SHl, AHl, T5, TEO, L3, LEO, SRl, RLl, PPl, DCl, DTl, CO, and E2.

  • Page 35: Local, Remote, And Local Lockout

    Lockout and the front panel will also be entirely active. If the HP 1652B/53B is in remote mode, the instrument will go from remote to local with any front panel activity.

  • Page 36: Group Execute Trigger (get)

    Cycling the power will also restore local control, but this will also reset Note certain HP-IB states. The instrument is placed in remote mode by setting the REN (Remote Enable) bus control line true, and then addressing the instrument to listen.

  • Page 37

    For both three-wire and extended hardwire operation, the DCD and DSR inputs to the HP 1652B/53B must remain high for proper operation. With extended hardwire operation, a high on the CI’S input allows the HP data transmission.

  • Page 38: Cables

    Pin 2 TD (Transmit Data from HP 1652B/53B) Pin 3 RD (Receive Data into HP 1652B/53B) The TD (Transmit Data) line from the HP 1652B/53B must connect to the RD (Receive Data) line on the controller.‘Likewise, the RD line from the HP 1652B/53B must connect to the TD line on the controller.

  • Page 39: Extended Interface With Hardware Handshake

    Pin 4 RTS (Request To Send) is an output from the HP 1652B/53B which can be used to control incoming data flow. Pin 5 CTS (Clear To Send) is an input to the HP 1652B/53B which controls data flow from the HP 1652B/53B.

  • Page 40

    If DCD or DSR are connected to the controller, the controller must keep these lines and the CTS line high to enable the HP 1652B/53B to send data to the controller. A low on any one of these lines will disable the HP 1652B/53B data transmission. Dropping the CTS line low during data transmission will stop HP 1652B/53B data transmission immediately.

  • Page 41: Configuring The Instrument Interface

    Interface The baud rate, stop bits, parity, protocol, and data bits must be configured exactly the same for both the controller and the HP 1652B/53B to Capabilities properly communicate over the RS-232C bus. The HP 1652B/53B Baud Rate: 110,300,600,1200,2400,4800,9600, or 19.2 k...

  • Page 42

    8 Bit Mode. Information is usually stored in bytes (8 bits at a time). With need to convert the data. The controller and the HP 1652B/53B must be in the same bit mode to Note d properly communicate over the RS-232C. This means that both the controller and the HP 1652B/53B must have the capability to send and receive 8 bit data.

  • Page 43

    :LOCKout OFF. For more information on this command see the chapter “System Commands” in this manual. Cycling the power will also restore local control, but this will also reset Note ” 3 certain RS-232C states. HP 16528/16538 Programming Over AS-232C Programming Reference...

  • Page 45: Delay

    These will be noted in their respective description pages. Some examples of how the truncation rule is applied to various commands are shown in table 4-1. Shortform DATA DATA START STAR LONG DELAY ACCUMULATE Table 4-l. Keyword Truncation HP 16528/1653B Programming and Documentation Conventions Programming Reference...

  • Page 46: Infinity Representation

    The first is when the query is parsed by the instrument and the second is Generation when the controller addresses the instrument to talk so that it may read the response. The HP 1652B/53B will buffer responses to a query when it is parsed. Diagrams At the be-g of each of the following chapters are syntax diagrams showing the proper syntax for each command.

  • Page 47

    1 s, one, and only one of these elements must be selected. Three Xs after an ENTER or OUTPUT statement represent the device address required by your controller. In addition, the following definition is used: :: = Linefeed (ASCII decimal 10). HP 16!528/1653B Programming and Documentation Conventions Programming Reference...

  • Page 48: The Command Tree

    The Command The command tree (figure 4-l) shows all commands in the HP 1652B/53B logic analyzers and the relationship of the commands each other. Tree Parameters are not shown in this figure. The command tree allows you to see what the HP 1652B/53B’s parser expects to receive. All legal headers...

  • Page 49

    Examples The following examples are written using HP BASIC 4.0 on a HP !%OO Series 2W300 Controller. The quoted string is placed on the bus, followed by a carriage return and linefeed (CRLF). The three Xs (XXX) shown in this manual after an ENTER or OUTPUT statement represents the device address required by your controller.

  • Page 50

    D A T A VAX i s RANGe F I N D RANGe R E M o v e RANGe R E M o v e RUNT, I Figure 4-i. HP 16!528/53B Command Tree Programming and Documentation Conventions HP 16528/16538 Programming Reference...

  • Page 51

    S O U R c e S O U R c e TYPE VAL i d XOR i g i n VMAX VMIN V T O P Figure 41. HP 16528/53B Command Tree (continued) HP 16528/1653B Progmmming and Documentation Conventions...

  • Page 52

    System MODE SFORmat DATA COMPare, SLISt, System, NAME MEASure SWAVeform, TIMebase, TWAVeform TWAVeform MMEMory OPATtem TWAVeform System OPATtem TWAVeform EDGE SLISt, TWAVeform System MEASure OTAG FIND COMPare, STRace TWAVeform, WLISt MEASure MEASure PACK MMEMory Programming and Documentation Conventions HP 18828/1853B...

  • Page 53

    TWAVeform MEASure VMIN MEASure SFORmat, SWAVeform, MEASure Symbol, TFORmat, SLISt, TWAVeform TWAVeform MEASure STRace TWAVeform MEASure System TWAVeform STRace SLISt, TWAVeform System SFORmat SLISt, TWAVeform XTAG MEASure, TRIGger, TWAVeform, WLISt TWAVeform System STOP System HP 16528/1653B Programming and Documentation Conventions...

  • Page 54: Command Set Organization

    Command Set The command set for the HP 1652B/53B logic analyzer is divided into 24 separate groups: common commands, system commands and 22 sets of Organization subsystem commands. Each of the 24 groups of commands is described in the following chapters. Each of the chapters contain a brief description of the subsystem, a set of syntax diagrams for those commands, and finally, the commands for that subsystem in alphabetical order.

  • Page 55

    HP 9000 Series m/300 controller Examples using the HP BASIC 4.0 language. The programs always assume a generic address for the HP 1652/53B of XXX. In the following examples, special attention should be paid to the ways in which the command and/or query can be sent.

  • Page 56: Common Commands

    Common commands can be received and processed by the HP 1652B/53B whether they are sent over the bus by themselves or as part of a multiple-command string. If an instrument subsystem has been selected and a common command is received by the instrument, the instrument will remain in the selected subsystem.

  • Page 57

    = An integer, 0 through 255. 73is number is the sum all the bits in the mask corresponding to conditions that are enabled. Refer to the and *SRE commandr bit definitions in the enable registerA. Figure 5-l. Common Commands Syntax Diagram Common Commands HP 16528/10538...

  • Page 58

    <terminator > , the output queue and the MAV (Message Available) bit will be cleared. Command Syntax: 'CLS Example: OUTPUT XXX;"*CLS" Refer to appendix B, “Status Reporting,” for a complete discussion of Note u status. HP 1652Bll6536 Common Commands...

  • Page 59

    In this example, the *ESE 32 command will enable CME (Command Status Error), bit 5 of the Standard Event Enable Register. Therefore, when a command error occurs, the event summary bit (ESB) in the Status Byte Register will also be set. Common Commands HP 16528/16538 Programming Reference...

  • Page 60

    *ESE Example: 10 DIM Event$[lOO] 20 OUTPUT XXX;"*ESE?" 30 ENTER XXX;Event$ 40 PRINT EventJ Table 51. Standard Event Status Enable Register Weight Enables PON - Power On URQ - User Request EXE - Execution Error DDE - Device Dependent Error QYE - Query Error RQC - Request Control OPC - Operation Complete...

  • Page 61

    Standard Event Status Register, and the bit weight. When you read Standard Event Status Register, the value returned is the total bit weights of all bits that are high at the time you read the byte. HP 16528/1653B Common Commands...

  • Page 62: Execution Errors

    *ESR Table 52. The Standard Event Status Register. CONDITION 0 = Register read - not in power up mode Power up 0 = user request - not used - always zero 0 = no command errors = a command error has been detected 0 = no execution errors 1 = an execution error has been detected 0 = no device dependent errors...

  • Page 63

    R O M r e v i s i o n Example: 20 OUTPUT XXX;"*ION?" 30 ENTER XXX;Id$ 40 PRINT Idf 50 END Common Commands HP 18528/1853B Programming Reference...

  • Page 64

    Overlapped Command are still in progress. The overlapped commands for the HP 1652B/53B are: STOP The * OPC query places an ASCII “1” in the output queue when all pending device operations have been completed.

  • Page 65

    (Reset) command The *RST command (488.2) sets the HP 1652B/53B to the power-up default settings as if no autoload file was present. Command Syntax: OUTPUT XXX;"*RST" Example: Common Commands HP 10528/1653B Programming Reference...

  • Page 66

    Refer to appendix B, “Status Reporting,” for a complete discussion of N o t e d status. Command Syntax: where: :: = integer from 0 to 255 Example: OUTPUT XXX; “*SRE 16” This example forces the h4AV bit high (see table 5-3). HP 16528/l 6538 Common Commands Programming Reference...

  • Page 67

    : : = s u m o f a l l b i t s t h a t a r e s e t 10 DIM Sre-value$[lOO] Example: 20 OUTPUT XXX;"*SRE?" 30 ENTER XXX;Sre-value$ 40 PRINT Sre-value$ 50 END Table 6-3. HP 16528/53B Service Request Enable Register Weight Enables not used not used MSS - Master Summary Status MAV - Message Available...

  • Page 68

    Refer to appendix B, “Status Reporting,” for a complete discussion of Note status. Query Syntax: *sm Returned Format: where: <value> ::= integer from Oto Example: 10 DIM Stb-value$[lOO] 20 OUTPUT XXX;"*STB?" 30 ENTER XXX;Stb-value$ 40 PRINT Stb-values 50 END HP 16528/1653B Common Commands Programming Reference s-13...

  • Page 69

    0 = a remote-to-local transition has not occurred 1 = a remote-to-local transition has occurred not used not used 0 = HP 1652B/1653B has activity to report 1 = no activity to report 0 = False =: Low 1 = True = High...

  • Page 70

    An overlapped command is a command that allows execution of subsequent commands while the device operations initiated by the overlapped command are still in progress. The overlapped commands for the HP 1652B/53B are: STOP Command Syntax: OUTPUT XXX;"*WAI"...

  • Page 71

    System commands control the basic operation of the instrument including formatting query responses and enabling reading and writing to the advisory line of the instrument’s display. They can be called at anytime. The HP 1652B/53B System commands are: DATA DSP (display)

  • Page 72

    - c o d e Figure 81. System Commands Syntax Diagram System Commands HP 16528/16538 Programming Reference...

  • Page 73

    = integerfiom 0 to 255. index = integerfrom 0 to 5. block-data = data in IEEE 488.2 format. string = string of up to 60 alphanumeric characters. Figure 81. System Commands Syntax Diagram (continued) HP 1652Bll663B System Commands Programming Reference...

  • Page 74

    Query Syntax: : S Y S T e m : A R M B n c ? [:SYSTem:ARMBnc] { MACHine{ 10 DIM Mode$[lOO] Example: 20 OUTPUT XXX;":ARMBNC?" 30 ENTER XXX;Mode$ 40 PRINT Mode$ 50 END System Commands HP 16528/16538 Programming Reference...

  • Page 75: Data

    The data sent by the SYSTem:DATA query reflects the configuration of Note ‘$ the machines when the last run was performed. Any changes made since then through either front-panel operations or programming commands do not affect the stored configuration. HP 16628/1653B System Commands Programming Reference...

  • Page 76

    Since no parameter checking is performed, out-of-range values could cause instrument lockup; therefore, care should be taken when transferring the data string into the HP 1652B/53B. The < block data > parameter can be broken down into a The <block length specifier > always takes the form #8DDDDDDDD.

  • Page 77

    [:SYSTem:DATA] <block data> < NL> HP-IB Example: 1 0 DIM Nrm1$[2], 81ockS[32000] a l l o c a t e e n o u g h m e m o r y f o r b l o c k d a t a 20 OUTPUT XXX;”...

  • Page 78: Logic Analyzer Block Data

    Analyzer 1, two bytes of status for Analyzer 2, then five sets of two bytes of information for each of the five 16-bit pods of the HP 1652B. In the HP 1653B, the status and format for the sets of bytes are the same, but the data in not valid on pods 3,4, and 5.

  • Page 79

    TOTALLY independent and conforms to its own format. The preamble (bytes 17 through 176) consists of the following 160 bytes: 2 bytes - Instrument ID (always 1652 for HP 1652B and HP 1653B) bytes - Revision Code The values stored in the preamble represent the captured data currently...

  • Page 80

    0 means the device is not armed by this analyzer. 4 bytes - Sample period for this analyzer (timing only) - Sample period at which data was acquired. Value represents the number of nanoseconds between samples. System Commands HP 16528/1663B 8 1 0 Programming Reference...

  • Page 81

    The following four sections describe the four data modes that may be encountered. Each section describes the Status bytes (shown under the Machine 1 and Machine 2 headings), and the Information bytes (shown under the Pod 5 through Pod 1 headings). HP 16528/16538 System Commands Programming Reference...

  • Page 82

    Information bytes are invalid and should be ignored. Bit 1 is used only when Bit 2 is clear. Whenever there has been a sequence level transition Bit 1 will be set, and otherwise will be clear. System Commands HP 16528/16538 Programming Reference...

  • Page 83

    (or 40 ns ticks) have elapsed since the last stored state. If this is the first stored state in memory, then the count information that is stored should be discarded. HP 16528/16538 System Commands...

  • Page 84

    The glitch information is then stored. If this is the first stored sample in memory, then the glitch information stored should be discarded. System Commands HP 16528/16!538’ 6-14 Programming Reference...

  • Page 85

    10 - This pods Information bytes contain acquisition data as obtained from the target system. 01 - This pod’s Information bytes contain the first word of a count. 00 - This pod’s Information bytes contain part of a count other than the first word. HP 16528/1653B System Commands Programming Reference...

  • Page 86

    Rows of count will always be followed by four rows of data except for the last row, which may be either data or count. This process is performed on a pod-by-pod basis. The individual status Note d bits will indicate what each pod is doing. System Commands HP 1652B/l653B...

  • Page 87

    Data 14471 Status Status Data Data Data Data Data 14485 Status Status Data Data Data Data Data 14499 Status Status Data Data Data Data Data *The headings are not a part of the returned data. HP 16528/1663B System Commands 6-17...

  • Page 88: Oscilloscope Block Data

    0 to 63. The total number of bytes is this section is 4096 with the first 2048 bytes for channel 1 and the remaining 2048 bytes for channel 2. System Commands HP 18528/1653B 6-18 Programming Reference...

  • Page 89: Display Data Section

    Changing the seconds-per-division after the oscilloscope has stopped will Note ‘d change the data displayed on the screen but it will not change the display data in this section. 18635 4096 bytes 22731 4096 bytes HP 16628/16538 System Commands Programming Reference...

  • Page 90

    The DSP command writes the specified quoted string to a device dependent portion of the instrument display. Command Syntax: :SYSTem:DSP <string > where: :: = string of up 60 alphanumeric characters <string > OUTPUT XXX;“:SYSTEM:DSP ‘The message goes here”’ Examples: System Commands HP 16528/1653B Programming Reference 6-20...

  • Page 91

    The ERRor query returns the oldest error number from the error queue. A complete list of error numbers for the HP 1652B/53B is shown in appendix C, “Error Messages.” If no errors are present in the error queue, a zero is returned.

  • Page 92

    OUTPUT XXX;":SYSTEM:HEADER ON" Example: Command: Returned Format: Example: 10 DIM Mode$[lOO] 20 OUTPUT XXX:":SYSTEM:HEAOER?" 30 ENTER XXX;Mode$ 40 PRINT Mode$ 50 END Headers should be turned off when returning values to numeric variables. Note d System Commands HP 16528/16538 Programming Reference...

  • Page 93

    Note #b send KEY commands too rapidly will cause a KEY buffer overflow error to be displayed on the HP 1652B/53B screen. The KEY query returns the key code for the last front- panel key pressed or the last simulated key press over the bus.

  • Page 94

    Example: 20 OUTPUT XXX;":SYSTEM:KEY?" 30 ENTER XXX; KEY$ 40 PRINT KEY$ 50 END Table 6-l. Key codes Key Value HP 1652B/53B Key Value STOP unused SELECT u n u s e d u n u s e d Don’t Care...

  • Page 95

    LCL Event Register is read, it is cleared. A one indicates a remote-to-local transition has taken place. A zero indicates a remote-to-local transition has not taken place. Returned Format: 10 DIM Event$[lOO] Example: 20 OUTPUT XXX;":SYSTEM:LER?" 30 ENTER XXX;Event$ 40 PRINT Event$ 50 END HP 1652B/l653B System Commands...

  • Page 96

    The LOCKout query returns the current status of the LOCKout command. Command Syntax: OUTPUT XXX;":SYSTEM:LOCKOUT ON" Example: :SYSTem:LOCKout? Query Syntax: [:SYSTem:LOCKout] {OIl}<NL> Returned Format: 10 DIM Status$[lOO] Example: 20 OUTPUT XXX;":SYSTEM:LOCKOUT?" 30 ENTER XXX;Status$ 40 PRINT Status$ System Commands HP 16528/1663B Programming Reference...

  • Page 97

    ON" Example: Query Syntax: : S Y S T e m : L O N G f o r m ? Returned Format: DIM Mode$[lOO] Example: 30 ENTER XXX;Mode$ 40 PRINT Moded 50 END HP 16528/l 6538 System Commands 6-27...

  • Page 98

    [:SYSTem:MENU] <menu-type r , < math-num > 10 DIM Response$[lOO] Example: 2 0 O U T P U T XXX;“:SYSTEM:MENU?” 3 0 E N T E R XXX;Response$ 40 PRINT Response$ 50 END System Commands HP 16528/1653B Programming Reference 6-28...

  • Page 99: Mese

    : S Y S T e m : M E S E < e n a b l e - m a s k > where: :: = integer from 0 to 255 Example: OUTPUT XXX;” :SYSTEM:MESE 1” HP 16528/1653B System Commands Programming Reference 6 2 9...

  • Page 100

    Module Event Status Enable Register (A “1” enables the MESR bit) Weight Enables Not used Not used Not used Not used Not used Not used RNT - Run until satisified MC - Measurement complete HP 16528/1653B System Commands 6 3 0...

  • Page 101: Mesr

    Query Syntax: Returned Format: [:SYSTem:MESR] where: :: = integer from 0 to 255 Example: 10 OUTPUT XXX;“:SYSTem:MESR?” 20 ENTER XXX; Mer 30 PRINT Mer 40 END HP 16528/1663B System Commands...

  • Page 102

    N o t u s e d N o t u s e d 1 = Run until satisified 0 = Run until not satisified 1 = Measurement complete 0 = Measurement not complet HP 16528/16538 System Commands 6-32 Programming Reference...

  • Page 103

    PPOWer The PPOWer (preprocessor power) query returns the current status of the HP 1652BE3B’s high-current limit circuit. If it is functioning properly, 0 is returned. If the current draw is too high, 1 is returned until the problem is corrected and the circuit automatically resets.

  • Page 104

    State and Timing Format menus Disk menu State and Timing Symbol menus State Listing menu State Trace Command Syntax: { S C R e e n 1 ALL} Example: OUTPUT XXX;“:SYSTEM:PRINT SCREEN” System Commands HP 16528/16538 6 - 3 4 Programming Reference...

  • Page 105

    After specifying the run mode, use the STARt command to start the Note d acquisition. Command Syntax: OUTPUT XXX;“:RMOOE SINGLE” Example: Query Syntax: :RMoDe? Returned Format: Example: 10 DIM Mode$[lOO] 20 OUTPUT XXX;“:RMODE?” 30 ENTER XXX;Mode$ 4 0 P R I N T Hode$ HP 16526/1653B System Commands Programming Reference...

  • Page 106

    "SCOPECNF " Additionally, the following sections may also be included, depending on what’s loaded: "SYMBOLS A - "SYMBOLS B " "SPA DATA A" "SPA DATA 8" "INVASH A " "INVASM B " "COMPARE System Commands HP 16528/1653B 6-36 Programming Reference...

  • Page 107

    Query Syntax: Returned Format: c block data> c NL> 10 DIM Block$ [32000] HP-IB Example: 2 0 D I M Specif ier$ [2] 30 OUTPUT XXX; “:SYSTEM:HEAD OFF” 40 OUTPUT XXX;“:SYSTEM:SETUP?” ! s e n d s e t u p q u e r y 50 ENTER XXX USING “#.ZA”;Specifier$!

  • Page 108

    The STARt command is an Overlapped Command. An Overlapped Note ‘4 Command is a command that allows execution of subsequent commands while the device operations initiated by the Overlapped Command are still in progress. Command Syntax: Example: OUTPUT XXX;":START" Commands HP 18528/18538 6-38 Programming Reference...

  • Page 109

    The STOP command is an Overlapped Command. An Overlapped Note d Command is a command that allows execution of subsequent commands while the device operations initiated by the Overlapped Command are still in progress. Command Syntax: Example: OUTPUT m”:STOP HP 16528/l 6538 System Commands Programming Reference 6-39...

  • Page 110

    If you are not going,to store information to the configuration disk, or if the Note disk you are using contains information you need, it is advisable to write protect your disk. This will protect the contents of the disk from accidental damage due to incorrect commands, etc. HP 16528/1653B MMEMory Subsystem Programming Reference...

  • Page 111

    Figure 7-1. MMEMory Subsystem Commands Syntax Diagram HP 16528/16538 Programming Reference...

  • Page 112

    10 alphanumeric characters representing a vaIid file name. new-name = string up to 10 alphanumetic characters representing a valid file name Figure 7-1. the HP 1652Bl53B Logic Refer to “Disk Operations” in chapter Note manual for a description of a valid file name. HP 1652B/l653B...

  • Page 113

    :: = string of up to 10 alphanumeric characters Examples: OUTPUT XXX;":MMEMORY:AUTOLOAD OFF" OUTPUT XXX;": MMEMORY:AUTOLOAD OUTPUT XXX;":MMEMORY:AUTOLOAD 'FILE,?"' Query Command: Returned Format: Example: 10 DIM Auto-status$[lOO] 20 OUTPUT XXX;":MMEMORY:AUTOLOAD?" 30 ENTER XXX;Auto-status$ 40 PRINT Auto-status$ HP 1652Bll653B Programming Reference...

  • Page 114

    7 0 F O R I=1 TO Length STEP 51 ENTER XXX USING “#,51A”;File$ PRINT Files NEXT I 110 ENTER XXX USING “A”;Specifier$ HP 16528/1653B Programming Reference...

  • Page 115

    : : = s t r i n g o f u p t o 1 0 a l p h a n u m e r i c c h a r a c t e r s r e p r e s e n t i n g a v a l i d f i l e n a m e Example: To copy the contents of “FILEl” to “FILE2”: OUTPUT XXX;":MMEMORY:COPY HP 16528/16!53B Programming Reference...

  • Page 116

    :: = integer (see Table 7-1) :: = contents of file in block data format OUTPUT XXX;“:MMEMORY:DOWNLOAD ‘SETUP-‘;‘FILE CREATED FROM SETUP Example: QUERY’ ,-16127,#600000643.. .” Table 7-l. File Types File File ‘Qpe HP 1652f3 SYSTEM -16383 INVERSE ASSEMBLER -15614 -15610 HP 16528/16538 Progmmming Reference...

  • Page 117

    The INITialize command formats the disk. Once executed, the initialize command formats the specitied disk, Note d permanently erasing all existing information from the disk. After that, there is no way to retrieve the original information. Command Syntax: OUTPUT XXX;":MMEMORY:INITIALIZE" Example: HP 18828/1883B Programming Reference...

  • Page 118

    :: = string of up to 10 alphanumeric characters representing a valid file name Examples: O U T P U T XXX;“:MMEMORY:LOAD:CONFIG ‘ F I L E - “ ’ O U T P U T XXX;“:MMEMORY:LOAD ‘ F I L E - “ ’ OUTPUT XXX;“:MMEM:LOAD:CONFIG ‘FILE-A”’ HP 16528/1653B Subsystem Programming Reference...

  • Page 119

    This variation of the LOAD command allows inverse assembler files to be loaded into analyzer 1 or analyzer 2 of the HP 1652BD653B. The parameter after the c IA-name > parameter specifies into which machine the inverse assembler is loaded.

  • Page 120

    PACK PACK command The PACK command packs the files on a disk in the disk drive. Command Syntax: OUTPUT XXX;" :HMEMORY:PACK" Example: HP 1652B/l653B Subsystem Progmmming Reference 7-11...

  • Page 121

    After that, there is no way to retrieve the original information. Command Syntax: where: :: = string of up to 10 alphanumeric characters representing a valid file name Examples: OUTPUT XXX;“:MMEMORY:PlJRGE ‘FILEl”’ HP 16528/16538 7-12 Programming Reference...

  • Page 122

    Note d Command Syntax: where: :: = string of up to 10 alphanumeric characters representing a valid file name <new-name :: = string of up to 10 alphanumeric characters representing a valid file name Examples: OUTPUT XXX;“:MMEMORY:RENAME ‘OLDFILE’,‘NEWFILE’” HP 16528/1663B 7-13...

  • Page 123

    The c description > parameter specifies the file description. Command Syntax: where: :: = string of up to 10 alphanumeric characters representing a valid file name :: = string of up to 32 alphanumeric characters OUTPUT XXX;":MMEM:STORE Example: HP 16528/1653B 7-14 Progmmming Reference...

  • Page 124

    10 DIM Block$[32000] Example: 20 DIM Specifier$[2] 30 OUTPUT XXX;":SYSTEM HEAD OFF" 40 OUTPUT XXX;":MMEMORY:UPLOAD? 50 ENTER XXX USING "#.2A":Specifier$ 60 ENTER XXX USING "#,8D";Length 70 ENTER XXX USING "-K";Block$ 80 END HP 16528/1653B Programming Reference 7-15...

  • Page 125

    These commands are: = integerfrom 1 to 8 label-name = a sbing up to 6 alphanumeric characters base = {BINary 1 HEXacecimaI 1 OcTal 1 DECimal IASCii ISXUBol} Figure 8-l. DUSt Subsystem Syntax Diagram HP 16528/1653B Programming Reference...

  • Page 126

    The DLISt selector (dual list) is used as part of a compound header to access those settings normally found in the Dual State Listing menu. The dual list displays data when two state analyzers are run simultaneously. Command Syntax: OUTPUT XXX;" :OLIST:LINE 0.1" Example: HP 16528/16538 Programming Reference...

  • Page 127

    <label-name >, -z base z }, < math-num > where: ::= {1~2~3~4~5)6~7~6} <label-name > :: = string of up to 6 alphanumeric characters :: = (BINary (HEXadecimal IOCTal ( DECimal ( ASCii ISYMBol) ::= (112) OUTPUT XXX;": DLIST:COLUMN Example: HP 16528/16538 Programming Reference...

  • Page 128

    Query syntax: Returned Format: [:DLISt:COLumn] Example: 1 0 D I M cl.$[loo] 20 OUTPUT XXX;” :DLIST:COLUMN? 4 ” 30 ENTER XXX;Cl$ 40 PRINT Clf 5 0 END HP 16528/16538...

  • Page 129

    LINE command/query LINE The LINE command allows you to scroll the state analyzer listing vertically. The command specifies the state line number relative to the trigger that the specified analyzer will h&hlight at center screen. The LINE query returns the line number for the state currently in the box at center screen and the machine number to which it belongs.

  • Page 130

    Introduction Two commands in the WLJSt subsystem control the X and 0 marker placement on the waveforms portion of the Timing/State mixed mode display. These commands are XTIMe and OTIMe. The XSTate and markers can only be placed on the timing waveforms, the queries return what state (state acquisition memory location) the marked pattern is stored in.

  • Page 131

    Since the WLISt command is a root level command, it will always appear as the first element of a compound header. The WLISt Subsystem is only available when one state analyzer (with time Note d Command Syntax: :wust OUTPUT XXX;":WLIST:XTIME Example: HP 16528/1653B Programming Reference...

  • Page 132

    The OSTate query returns the state where the 0 Marker is positioned. I f data is not valid, the query returns 32767. Format: where: :: = integer Example: 10 DIM s0$[1001 20 OUTPUT XXX;":WLIST:OSTATE?" 30 ENTER XXX;So$ 40 PRINT So$ 50 END HP 16528/1653B...

  • Page 133

    The XSTate query returns the state where the X Marker is positioned. If data is not valid, the query returns 32767. Query Syntax: OUTPUT XXX,":WLIST:XSTATE? Example: Returned Format: where: :: = integer 10 DIM Sx$[lOO] Example: 20 OUTPUT XXX;":WLIST:XSTATE?" 30 ENTER XXX;Sx$ 40 PRINT Sx$ 50 END HP 16528/1653B Programming Reference...

  • Page 134

    : : = r e a l n u m b e r OUTPUT XXX,":WLIST:OTIME Example: Query Syntax: Format: <time-value> c NL> Example: 10 DIM To$[lOO] 20 OUTPUT XXX;":WLIST:OTIME?" 30 ENTER XXX;To$ 40 PRINT To$ 50 END HP 1652B/l653B Programming Reference...

  • Page 135

    The XTIMe query returns the X Marker position in time. If data is not valid, the query returns 9.9E37. Command Syntax: <time-value > where: :: = real number OUTPUT XXX.":WLIST:XTIME Example: Query Syntax: Returned Format: Example: 10 DIM Tx$[lOO] 20 OUTPUT XXX;":WLIST:XTIME?" 30 ENTER XXX;TxS 40 PRINT Tx$ 50 END HP 16528/1653B...

  • Page 136

    Introduction The MACHine subsystem contains the commands available for the NAME There are actually hvo MACHine subsystems: MACHinel and MACHine2. Unless noted, they are identical. In the syntax definitions you will see MACHme{ 112) anytime the subject is applicable to both subsystems.

  • Page 137

    {RUN / MACHine {I 12)) pod-list = (NONE 1 <pod-num > [, <pod-num >I...} pod-num = (I 1 2 1 3 1 4 ( 5) machine-name = string up to 10 alphanumeric characters Figure 10-l. Machine Subsystem Syntax Diagram HP 16528/1653B...

  • Page 138

    The MACHine c N > selector specifies which of the two analyzers (machines) available in the HP 1652B/53B the commands or queries following will refer to. Since the MACHine < N > command is a root level command, it will normally appear as the first element of a compound header.

  • Page 139

    : : = {RlJN~MACHine{l~2}~BNC~SCOPe} OUTPUT XXX;":MACHINEl:ARM Example: Query Syntax: Returned Format: Example: 1 0 D I M String$ 2 0 O U T P U T m ‘:MACHINEl:ARM?” 3 0 E N T E R >ooc; StringS HP 1652BD653B Programming Reference...

  • Page 140

    ::= (112131415) Example: OUTPUT XXX;":MACHINEl:ASSIGN 5. 2, 1" Query Syntax: Returned Format: [MACHINE { 1 IP):ASSign] <pod-list > c NL> Example: 10 DIM String$ [lDD] 20 OUTPUT XXX;" :MACHINEl:ASSIGN?” 30 ENTER XXX;String$ 40 PRINT String$ 50 END HP 1652B/1653B Programming Reference...

  • Page 141

    *OPC and *WAI commands in conjunction with AUToscale (see chapter 5, “Common Commands.“) When the AUToscale command is issued, existing timing analyzer Note d configurations are erased and the other analyzer is turned off. Command Syntax: OUTPUT XXX;":MACHINEl:AUTOSCALE" Example: HP 16528/1663B Progmmming Reference...

  • Page 142: Name

    The NAME query returns the current analyzer name as an ASCII string. Command Syntax: where: :: = string of up to 10 alphanumeric characters OUTPUT XXX;":MACHINEl:NAME 'DRAMTEST'" Example: Query Syntax: Example: 20 OUTPUT XXX;“:MACHINEl:NAME?” 30 ENTER XXX;String$ 40 PRINT String$ HP 16528/l 8538 Programming Reference...

  • Page 143: Type

    Command Syntax: where: ::= {OFFISTATeITIMing} Example: OUTPUT XXX:": MACHINEl:TYPE STATE" Query Syntax: Returned Format: <analyzer type z < NL> Example: 10 DIM String$ [loo] 20 OUTPUT XXX;":MACHINEl:TYPE?" 30 ENTER XXX;String$ 40 PRINT String$ 50 END HP 1882B/l883B Programming Reference...

  • Page 144

    SFORmat Subsystem Introduction The SFORmat subsystem contains the commands available for the State Format menu in the HP 1652B/53B logic analyzer. These commands are: Figure 1 l-l. SFORmat Subsystem Diagram HP 16528/1653B SFORmat Subsystem 11-l...

  • Page 145

    0 to 65535) for a pod (pods are assigned in decreasing order) clock-spec = {OFF 1 ZUSing I FALLing value = voltage (real number) -9.9 to + 9.9 Figure 1 l-l. Subsystem Syntax Diagram (continued) Subsystem HP 16528/1653B 11-2 Programming Reference...

  • Page 146

    The SFORmat (State Format) selector is used as a part of a compound header to access the settings in the State Format menu. It always follows the MACHine selector because it selects a branch directly below the Command Syntax: OUTPUT XXX;“:MACHINE2:SFORMAT:MASTER J, RISING” Example: HP 16528/1653B SFORmat Subsystem Progmmming Reference 11-3...

  • Page 147

    < c l o c k - m o d e > <NL> 10 DIM String$ [loo] Example: 20 OUTPUT XXX; “:MACHINEl:SFDRMAT:CLDCK2?” 30 ENTER XXX; String$ 4 0 P R I N T String$ 50 END HP 16628/1663B Programming Reference...

  • Page 148

    :MACHine{l 12):SFORmat:CPERiod where: :: = greater than SO ns Example: OUTPUT XXX;" :MACHINE2:SFORMAT:CPERIOD GT” Query Syntax: Returned Format: Example: 10 DIM String$[lOO] 20 OUTPUT XXX;":MACHINE2:SFORMAT:CPERIOD? 30 ENTER XXX; Strings 40 PRINT String$ 50 END HP 15526/1553B Subsystem Programming Reference 11-5...

  • Page 149

    The LABel query returns the current specification for the selected (by name) label. If the label does not exist, nothing is returned. The polarity is always returned as the first parameter. Numbers are always returned in decimal format. HP 16528/1653B Subsystem...

  • Page 150: L3-2

    OUTPUT XXX;":MACHINE2:SFORMAT:LABEL ‘SIG l’, 64, 12, 0, 20, NEGATIVE" OUTPUT XXX;":MACHINEl:SFORMAT:LABEL 'AOOR', NEG, Query Syntax: Format: Example: 10 DIM String$[lOO] 20 OUTPUT XXX;" :MACHINE2:SFORMAT:LABEL? 'DATA" 30 ENTER XXX String$ 40 PRINT Strings 5 0 E N D HP 16528/1653B 11-7...

  • Page 151

    OUTPUT XXX ; ” :MACHINE2:SFORMAT:MASTER J , R I S I N G ” Query Syntax: Returned Format: 10 DIM String$[100] Example: 20 OUTPUT XXX;“:MACHINE2:SFORMAT:MASTER?<clock_id>*’ 30 ENTER XXX String$ 4 0 P R I N T String$ 50 END HP 16528/1653B Programming Reference...

  • Page 152

    The REMove command allows you to delete all labels or any one label for a given machine. Command Syntax: { < n a m e > JALL} where: c name > :: = string of up to 6 alphanumeric characters Examples: OUTPUT XXX;":MACHINE2:SFORMAT:REMOVE 'A"' OUTPUT XXX;":MACHINE2:SFORMAT:REHOVE ALL" HP 1652Bll6536 Programming Reference 11-9...

  • Page 153

    :: = (OFF1 RlSing 1 FALLlng ) BOTH I LOW I HIGH) Example: OUTPUT XXX;“:MACHINEZ:SFORMAT:SLAVE J, RISING” Query Syntax: <clock-id > Returned Format: <clock-id >, cclock-spec Example: 2 0 O U T P U T XXX;“:MACHINE2:SFORMAT:SLAVE? <clock-id>" 30 ENTER XXX String$ 40 PRINT String$ 50 END HP 16528/1653B 11-10 Programming Reference...

  • Page 154

    ECL, TI’L, or a specific voltage from -99V to + 9.9V in 0.1 volt increments. On the HP 1652B, the pod thresholds of pods 1,2 and 3 can be set Note ” d l independently. The pod thresholds of pods 4 and 5 are slaved together;...

  • Page 155

    STRace Subsystem Introduction The STRace subsystem contains the commands available for the State Trace menu in the HP 1652B/53B logic analyzer. The STRace subsystem commands are: TERM Figure 12-l. STRace Subsystem Syntax Diagram HP 1652B/l653B Programming Reference 12-1...

  • Page 156

    Figure 12-l. STRace Subsystem Syntax Diagram (continued) HP 16528/1653B 12-2 Programming Reference...

  • Page 157

    = { < or-term2 > [OR < or-term2 >I... I < ar@term2 > [AND < and-tern12 >I... } or-term2 = {EIFIGIH} and-term2 = (NOTE ) NOW ) NOTG ) NOTH} Figure 12-l. STRace Subsystem Syntax Diagram (continued) HP 1652B/l553B Programming Reference 12-3...

  • Page 158

    (State header to access the settings found in the State Trace menu. It always follows the MACHine selector because it selects a branch directly below the MACHine level in the command tree. Command Syntax: OUTPUT XXX;":MACHINEl:STRACE:TAG TIME" Example: HP 16528/16538...

  • Page 159

    Note #I level, or they must both be after the trigger level. The trigger level is determined through the SEQuence command. The BRANch query returns the current branch qualifier specification for a given sequence level. HP 16528/1653B Progmmming Reference 12-5...

  • Page 160

    OUTPUT XXX:“:MACHINEl:STRACE:BRANCHJ ( ( A O R 6) OR NOTG). 1” Query Syntax Returned Format: 10 DIM String$[lOO] Example: 20 OUTPUT XXX;” :MACHINEl:STRACE:BRANCH3?” 30 ENTER XXX;String$ 4 0 P R I N T String$ 50 END HP 16628/1663B 12-6 Programming Reference...

  • Page 161

    It is acceptable for a group to consist of a single term. Thus, an expression like (B AND G) is legal, since the two operands are both simple terms from separate groups. HP 16528/1653B Programming Reference 12-7...

  • Page 162

    :: = { <or-term1 > [OR <or-term1 >I.., ) <and-term1 > [AND cand-term1 >I...} :: = (-zor_term2> [OR <or-termi!>]... ::= {A]B]CJD(INRange]OUTRange} :: = { NOTAJ NOTB ] NOTC) NOTD I INRange ] OUTRange} ::= {EIFJGIH) :: = {NOTE I NOTF I NOTG I NOTH} HP 16528/1653B 12-8...

  • Page 163

    FIND xxx ;" :HACHINEl:STRACE:FINDl ANYSTATE. 1” Examples: OUTPUT OUTPUT XXX;" :MACHINEl:STRACE:FIND2 A, 512" OUTPUT XXX;":MACHINEl:STRACE:FIND3 Query Syntax: Returned Format: 10 DIM String$[lDD] Example: 40 PRINT Strings 50 END HP 16528/1’6538 Programming Reference 12-9...

  • Page 164

    PREStore PREStore command/query The PREStore command turns the prestore feature on and off. It also defines the qualifier required to prestore only selected states. The terms A through H are defmed by the TERM command. The meaning of Expressions are limited to what you could manually enter through the Format menu.

  • Page 165

    OUTPUT XXX;":MACHINEl:STRACE:PRESTORE (A OR B OR II OR F OR H)" Query Syntax: Format: {Off 1-c prestore-qualifier > ) -z NL > 10 DIM String$[lOO] Example: 20 OUTPUT XXX;":MACHINEl:STRACE:PRESTORE?" 30 ENTER XXX;String$ 40 PRINT String$ 50 END HP 1652Wl653B Programming Reference...

  • Page 166

    The FMNGe query returns the range recognizer end point specifications for the range. When two state analyzers are on, the RANGe term is not available in the Note d second state analyzer assigned and there are only 4 pattern recognizers per analyzer. HP 1652~/1663B 12-12...

  • Page 167

    OUTPUT XXX;":MACHINEl:STRACE:RANGE 'DATA', '255' w Examples: OUTPUT XXX;":MACHINEl:STRACE:RANGE 'ABC', ‘XBOOOO1111’, ‘#HCF’ I’ Query Syntax: Returned Format: Example: 10 DIM String$[lOO] 20 OUTPUT XXX;“:MACHINEl:STRACE:RANGE?” 30 ENTER XXX;String$ 4 0 P R I N T Strings 50 END HP 1652B/l653B Programming Reterence 12-13...

  • Page 168

    :: = { <or-term1 z= I <and-term1 > I <or_term2> I -zand_term2>} :: = {<or-term1 ::= {cor_term2>[0R ::= {AIBJCIDIINRangelOUTRange} : : = { NOTA : : = {EIFJGIH} : : = {NOTEINOTFINOTGINOTH} OUTPUT XXX;" :MACHINEl:STRACE:RESTART OFF" Examples: OUTPUT XXX;":MACHINEl:STRACE:RESTART PERLEVEL" OUTPUT XXX;":MACHINEl:STRACE:RESTART (B OR (NOTE AND NOTF))" HP 16528/1653B 12-14...

  • Page 169

    Query Syntax: {OFF 1 PERLevel [ <restart-qualifier>) -zNL> Returned Format: Example: 10 DIM String$[lOO] 20 OUTPUT XXX;" :MACHINEl:STRACE:RESTART?" 30 ENTER XXX;String$ 40 PRINT Strings 50 END HP 1652Bll653B Progmmming Reference 12-15...

  • Page 170

    OUTPUT XXX;” :MACHINEl:STRACE:SEQUENCE 4 . 3 ” Query Syntax: Returned Format: trigger > < NL > Example: 10 DIM String$[lOO] 20 OUTPUT XXX;“:MACHINEl:STRACE:SEQUENCE?” 30 ENTER XXX;String$ 4 0 P R I N T StringS 50 END HP 16528/16538 12-16 Programming Reference...

  • Page 171

    :: = { <or-term1 > [OR <or_terml >I... 1 <and-term1 > [AND <and-term1 >I...) ::= {<or-ten2>(OR cor_term2>]... ( cand_term2>[AND <and_term2>]...} ::= {A~BICIDIINRange(OUTFlange) :: = { NOTAJ NOTB I NOTC I NOTD( INRange I OUTRange} ::= {EIFIGJH} ::= (NOTEINOTFINOTG~NOTH} HP 1652B/leSSB Subsystem Progmmming Reference 12-17...

  • Page 172

    OUTPUT XXX;" :MACHINEl:STRACE:STOREl ANYSTATE" OUTPUT XXX;":MACHINEl:STRACE:STORE2 OUTRANGE" OUTPUT XXX;":MACHINEl:STRACE:STORE% Query Syntax: Returned Format: <store-qualifier > c NL> Example: 10 DIM String$[lOO] 20 OUTPUT XXX;":MACHINEl:STRACE:STORE4?" 30 ENTER XXX;String$ 40 PRINT Strings 50 END HP 18528/1883B 12-18 Programming Reference...

  • Page 173

    :: = { <or-term1 > [OR <or-term1 >I... ) <and-term1 >[AND <and-term1 z-l...) c expression2 z :: = { -zor_term2> [OR <or_term2z]... I <andterm2> [AND <and_term2>]...} <and-term 1 > :: = { NOTAJ NOTB I NOTC I NOTD I INRange 1 OUTRange} HP 19528/1653B Programming Reference 12-19...

  • Page 174

    Examples: OUTPUT XXX;":MACHINEl:STRACE:TAG OFF" OUTPUT XXX;":MACHINEl:STRACE:TAG TIME" OUTPUT XXX;":MACHINEl:STRACE:TAG OUTPUT XXX;":MACHINEl:STRACE:TAG ((INRANGE OR A) AND Query Syntax: Returned Format: Example: 10 DIM String$[lOO] 20 OUTPUT XXX;":MACHINEl:STRACE:TAG?" 30 ENTER XXX;String$ 40 PRINT Stringf 50 END HP 1652Wl663B 12-20 Programming Reference...

  • Page 175

    Command Syntax: where: ::= (AIBJCJDIEIFIGIH} :: = string of up to 6 alphanumeric characters :: = ‘{#B{O) 1 IX) . . . 1 . . I . , }’ OUTPUT XXX;":HACHINEl:STRACE:TERM Example: OUTPUT XXX;":MACHINEl:STRACE:TERM HP 16528/1653B Programming Reference 12-21...

  • Page 176

    TERM Query Syntax: <term-id z=, -c label-name > Returned Format: Example: 10 DIM String$[lOO] 20 OUTPUT XXX;":MACHINEl:STRACE:TERM? 30 ENTER XXX;String$ 40 PRINT String$ 50 END HP 16528/1653B 12-22...

  • Page 177

    Introduction The SLISt subsystem contains the commands available for the State Listing menu in the HP 1652B/53B logic analyzer. These commands are: DATA OTAG XTAG HP 16528/16538 Programming Reference 13-l...

  • Page 178

    l a b e l - n a m e l i n e - n u m b e r L I N E ? ) T I M E 13-l. Figure 13-2...

  • Page 179

    Figure 13-l. SLlSt Subsystem Syntax Diagram (continued) HP 1652B/l653B Programming Reference...

  • Page 180

    = { BINary 1 HEXadecimal ) OCTul 1 DECimal 1 ASCii 1 SMMBol for labels or . . 1 . . }” occurrence = integerfrom -1023 to + 1023 time-value = real number state-value = real number value = real number 13-l. Figure SUST Subsystem HP 16528/16538 Programming Reference...

  • Page 181

    The SLISt selector is used as part of a compound header to access those settings normally found in the State Listing menu. It always follows the Command Syntax: OUTPUT XXX;" :MACHINEl:SLIST:LINE 256" Example: HP 16528/16538 Programming Reference...

  • Page 182

    :: = { BlNary ( HEXadecimal I OCTal I DECimal 1 ASCii I SYMBol I IASSembler} for labels :: = {ABSolute 1 RELative} for tags A label for tags must be assigned in order to use ABSolute or RELative Note ” 4 state tagging. OUTPUT XXX;":MACHINEl:SLIST:COLUMN Examples: OUTPUT XXX;":MACHINEl:SLIST:COLUMN ABSOLUTE" HP 16528/1653B Programming Reference 13-6...

  • Page 183

    Query Syntax: Returned Format: <label-name >, c base > -c NL> Example: 10 DIM c1$[100] 20 OUTPUT XXX;” :MACHINEl:SLIST:COLUMN? 4 ” 30 ENTER XXX;Cl$ 40 PRINT Cl$ 5 0 END HP 16528/1653B 13-7...

  • Page 184

    :: = string of up to 6 alphanumeric characters <pattern-string > :: = “{#El{01 1 IX} . 1 . }” Example: 2 0 OUTPUT XXX;“:MACHINEl:SLIST:OATA? 512. ‘RAS’” 3 0 ENTER XXX;Sd$ 4 0 P R I N T Sd$ E N D HP 18528/1653B 13-8 Programming Reference...

  • Page 185

    :: = integer from -1023 to + 1023 Example: OUTPUT XXX;“:MACHINEl:SLIST:LINE 0” Query Syntax: Returned Format: 1 0 DIM Ln$[lOO] Example: 20 OUTPUT XXX;“:MACHINEl:SLIST:LINE?” 30 ENTER XXX:Ln$ 40 PRINT Ln$ 5 0 END HP 16!526/1653B Programming Reference 13-9...

  • Page 186

    The MMODe query returns the current marker mode selected. Command Syntax: where: mode> :: = {OFF) PATTern 1 STATe 1 TIME) MSTats} OUTPUT XXX;":MACHINE1:SLIST:MMODE TIME" Example: Query Syntax: Returned Format: 10 DIM Mn$[lOO] Example: 20 OUTPUT XXX;":MACHINE1:SLIST:MMOOE?" 30 ENTER XXX;Mn$ 40 PRINT Mn$ 50 END HP 1652B/l653B...

  • Page 187

    :: = string of up to 6 alphanumeric characters :: = “{#B{OI 1 IX} . . . 1 . . 1 . . I . . }” Examples: O U T P U T XXX;“:MACHINEl:SLIST:OPATTERN OUTPUT XXX;“:MACHINEl:SLIST:OPATTERN HP 16528/1663B Programming Reference 13-11...

  • Page 188

    Query Syntax: Format: 10 DIM Dp$[lOO] Example: 20 OUTPUT XXX;" :MACHINEl:SLIST:OPATTERN? 'A"' 30 ENTER XXX;Op$ 40 PRINT Op$ 50 END HP 16528/16538 13-12...

  • Page 189

    :: = integer from -1023 to + 1023 <origin > :: = {TRIGger 1 STARt IXMARker} Example: OUTPUT XXX;“:MACHINEl:SLIST:OSEARCH Format: , <origin > -z NL> 10 OIM 0s$[100] Example: 20 OUTPUT XXX;“: MACHINEl:SLIST:OSEARCH?” 30 ENTER XXX:Os$ 40 PRINT Os$ 5 0 END HP 16528/1653B Programming Reference 13-13...

  • Page 190

    (-1023 to + 1023). If data is not valid, the query returns 32767. Query Syntax: Format: where: :: = an integer from -1023 to + 1023, or 32767 Example: 10 '20 OUTPUT XXX;":MACHINEl:SLIST:OSTATE?" 30 ENTER XXX;Os$ 40 PRINT Os$ 50 END HP 1652B/l653B 13-14 Programming Reference...

  • Page 191

    32767 state tagging. Command Syntax: :: = real number :: = integer Example: Query Syntax: Returned Format: 10 DIM OtS[loo] Example: 20 OUTPUT XXX:":MACHINEl:SLIST:OTAG?" 30 ENTER XXX;Ot$ 40 PRINT Ot$ 50 END HP 1652B/l653B Progmmming Reference...

  • Page 192

    Compare not equal (h’EQual) - Any channel of any label has a different value. The RUNTil query returns the current stop criteria. The RUNTil instruction (for state analysis) is available in both the SLISt Note and COMPare subsystems. HP 16528/1653B Programming Reference...

  • Page 193

    LT, <value z= JGT, <value > 1 INRange, <value >, <value :: = real number from -9E9 to +9E9 OUTPUT XXX;":MACHINEl:SLIST:RUNTIL Example: Query Syntax: Returned Format: 10 DIM Ru$[lOO] Example: 20 OUTPUT XXX;":MACHINEl:SLIST:RUNTIL?" 30 ENTER XXX;Ru$ 40 PRINT Ru$ 50 END HP 16528/16538...

  • Page 194

    0 Markers. If the number of valid runs is zero, the query returns 0 markers was successful, resulting in valid delta-time measurements. Query Syntax: where: :: = real number Example: 10 DIM Tv$[lOO] 20 OUTPUT XXX;“:MACHINEl:SLIST:TAVERAGE?” 30 ENTER WTv$ 40 PRINT Tv$ 50 END HP 1882B/l883B 13-18 Programming Reference...

  • Page 195

    X and 0 Markers. If data is not valid, the query returns 9.9E37. Query Syntax: Returned Format: where: :: = real number 10 DIM Tx$[lOO] Example: 20 OUTPUT XXX;":MACHINE1:SLIST:TMAXIMlJM?" 30 ENTER XXX;Tx$ 40 PRINT Tx$ 50 END HP 1652B/1653B 13-19...

  • Page 196

    X and 0 Markers. If data is not valid, the query returns 9.9E37. Query Syntax: Returned Format: where: :: = real number 1 0 DIM Tm$[lOO] Example: 2 0 OUTPUT XXX;":MACHINEI:SLIST:TMINIMlJM?" 3 0 ENTER XXX;Tm$ 4 0 PRINT Tm$ 5 0 E N D HP 1652Bll653B Programming Reference...

  • Page 197

    VRUNs VRUNs The VRUNs query returns the number of valid runs and total number of runs made. Valid runs are those where the pattern search for both the X and 0 markers was successful resulting in valid delta time measurements. Query Syntax: Format: <total-runs>...

  • Page 198

    9.9E37. If there is no data in the state mode, the query returns 32767. Query Syntax: Returned Format: where: :: = real number :: = integer Example: 10 DIM xot$[lool 20 OUTPUT XXX;":MACHINEl:SLIST:XOTAG?" 30 ENTER XXX;Xot$ 40 PRINT Xot$ 50 END HP 16528/1663B...

  • Page 199

    The XPATtem query returns the pattern specification for a given label name. Command Syntax: where: c label-name > :: = string of up to 6 alphanumeric characters ::= ~{#B{O(l IX). . . 1 . . I Examples: xxx; ** : HACHINEl:SLIST:XPATTERN OUTPUT OUTPUT XXX;" :MACHINEl:SLIST:XPATTERN HP 16!528/1653B Programming Reference 13-23...

  • Page 200

    Query Syntax: <label-name > , < labelgattern Example: 10 DIM Xp$[lOO] 2 0 O U T P U T XXX;“:MACHINEl:SLIST:XPATTERN? ‘A”’ 30 ENTER XXX;Xp$ 4 0 P R I N T Xp$ 50 END HP 16528/16538 13-24...

  • Page 201

    :: = integer from -1023 to + 1023 <origin > :: = (TRIGger 1 STAR} OUTPUT XXX;":MACHINEl:SLIST:XSEARCH Example: Query Syntax: c NL> Returned Format: <occurrence Example: 10 DIM Xs$[1001 20 OUTPUT XXX;":MACHINEl:SLIST:XSEARCH?" 30 ENTER XXX;Xs.$ 40 PRINT Xs$ 50 END HP 16526/16538 Programming Reference 13-25...

  • Page 202

    (-1023 to + 1023). If data is not valid, the query returns 32767. Query Syntax: where: :: = an integer from -1023 to + 1023, or 32767 n u m Example: 20 OUTPUT XXX;":MACHINEl:SLIST:XSTATE?" 30 ENTER XXX;Xs$ 40 PRINT Xs$ 50 END HP 16628/1663B 13-26...

  • Page 203

    :: = real number <state-value :: = integer Example: Query Syntax: Format: 10 DIM Xt$[lOO] Example: 20 OUTPUT XXX;“:MACHINEl:SLIST:XTAG?” 3 0 E N T E R XXX;Xt$ 4 0 P R I N T Xt$ 50 END HP 16528/1653B Programming Reference 13-27...

  • Page 204

    The way to manipulate the X and 0 markers on the Waveform display is through the State Listing (SLISt) subsystem. Using the marker commands from the SLISt subsystem will affect the markers on the Waveform display. The commands in the SWAVeform subsystem are: HP 1652B/1653B SWAVeform Subsystem Programming Reference 14-1...

  • Page 205

    = label-name = (sting of up to 6 alphanumeric characters bit-id = (OlERlay 1 c bit-num > } bit-num to 31 = integer representing a label bitfrom 0 Figure 14-l. SWAVeform Subsystem Syntax Diagram HP 16526/l 6538 14-2 Programming Reference...

  • Page 206

    State Waveform menu. It always follows the MACHine selector because it selects a branch directly below the MACHine level in the command tree. Command Syntax: OUTPUT XXX;":MACHINEZ:SWAVEFORM:RANGE 4" Example: HP 16526/1653B SWAVeform Subsystem 14-3...

  • Page 207

    { { O N 1 1) 1 { O F F 1 0 ) } Example: OUTPUT XXX;” :MACHINEl:SWAVEFORM:ACCUMULATE ON” Query Syntax: Returned Format: 10 DIM String$[lOO] Example: 20 OUTPUT XXX;“:MACHINEl:SWAVEFORM:ACCUMULATE?” 30 ENTER XXX; Stringa 4 0 P R I N T Strings 50 END HP 16528/1663B Programming Reference...

  • Page 208

    < n u m b e r - o f - s a m p l e s > <NL> Returned Format: Example: 1 0 D I M String$[lOO] 20 OUTPUT XXX;“:MACHINEl:SWAVEFORM:DELAY?” 30 ENTER XXX;String.$ 4 0 P R I N T StringJ HP 16!529/16538 Subsystem...

  • Page 209

    :: = integer representing a label bit from 0 to 31 Examples: OUTPUT XXX;“:MACHINEl:SWAVEFORM:INSERT ‘ W A V E ’ , 1 9 ” OUTPUT XXX;“:MACHINEl:SWAVEFORM:INSERT ‘ABC’, OVERLAY” O U T P U T XXX;“:MACHl:SWAV:INSERT HP 1652B/l663B Programming Reference 14-6...

  • Page 210

    :: = integer from 10 to 1040 Example: OUTPUT XXX;":MACHINE2:SWAVEFORM:RANGE Query Syntax: Returned Format: c number-of-samples > < NL> Example: 10 DIM String$[lOO] 20 OUTPUT XXX;":MACHINE2:SWAVEFORM:RANGE?" 30 ENTER Xxi; String$ 40 PRINT String$ 50 END HP 1652Bll653B Programming Reference 14-7...

  • Page 211

    REMove command REMove The REMove command allows you to clear the waveform display before building a new display. Command Syntax: OUTPUT XXX;":MACHINEl:SWAVEFORM:REMOVE" Example: Subsystem HP 16528/1653B 14-8...

  • Page 212

    Introduction The State Chart subsystem provides the commands necessary for programming the HP 1652B/53B’s Chart display. The commands allow you to build charts of label activity, using data normally found in the Listing display. The chart’s y-axis is used to show data values for the label of your choice.

  • Page 213

    = stringfrom -z label-low-value > to 23 - I (#HFFFFFFFF) low-value = sttingfrom 0 to y2 - 1 (#HFFFFFFFF) high-value = sm’ngfrom c low-value > to y2 - I (#HFFFFFFFF) Figure 151. SCHart Subsystem Syntax Diagram HP 16528/1653B 16-2 Programming Reference...

  • Page 214

    State Chart menu. It always follows the MACHine selector because it selects a branch below the MACHine level in the command tree. Command Syntax: E x a m p l e : HP 16528/1653B Programming Reference...

  • Page 215

    The Accumulate query returns the current setting. The query always shows the setting as the character “0” (off) or “1” (on). Command Syntax: OUTPUT XXX;":MACHINEl:SCHART:ACCUMULATE OFF" Example: Query Syntax: Example: 20 OUTPUT XXX;":MACHINEl:SCHART:ACCUMULATE?" 30 ENTER XXX; String$ 40 PRINT String$ 50 END HP 16528/16538...

  • Page 216

    :: = string from c label-low-value Z= to p-1 (#HFFFFFFFF) Examples: OUTPUT XXX;“:MACHINEl:SCHART:HAXIS S T A T E S , - 1 0 0 , 1 0 0 ” ‘DATA’, ‘ - 5 1 1 ’ . ‘ 5 1 1 ” ’ OUTPUT XXX;“:MACHINEl:SCHART:HAXIS HP 15528/16538 Subsystem...

  • Page 217

    - n a m e > , < l a b e l - l o w - v a l u e > , < l a b e l - h i g h - v a l u e 10 DIM String$[lOO] Example: 20 OUTPUT XXX;":MACHINEl:SCHART:HAXIS?" 30 ENTER XXX; 40 PRINT String$ 50 END HP 16528/1663B Programming Reference 16-6...

  • Page 218

    ‘ B U S ’ , ‘#HOOFF’, ‘IH0500’” Query Syntax: Returned Format: Example: 1 0 D I M String$[lOO] 20 OUTPUT XXX;“:MACHINEl:SCHART:VAXIS?” 3 0 ENTER X X X ; Strings 4 0 P R I N T Stringf HP 16528/16538 1 5 7...

  • Page 219

    COMPare Subsystem Introduction Commands in the state COMPare subsystem provide the abiity to do a bit-by-bit comparison between the acquired state data listing and a compare data image. The commands are: DATA HP 16526/16538 COMPare Subsystem...

  • Page 220

    . = don’t care line-num = integerfrom -1023 to + 1023 . . }” 1 to 1024 start-line = integerfrom -1023 to +I023 stop-line = integerfrom <start-line > to + 1023 Figure 161. COMPare Subsystem Syntax Diagram HP 16528/1663B Subsystem 16-2 Programming Reference...

  • Page 221

    The COMPare selector is used as part of a compound header to access the settings found in the Compare menu. It always follows the MACHine selector because it selects a branch directly below the MACHine level in the command tree. Command Syntax: OUTPUT XXX;":MACHINEl:COMPARE:FINO? 819" Example: COMPare Subsystem HP 1662B/l653B 16-3...

  • Page 222

    OUTPUT XXX;":MACHINE2:COMPARE:CMASK 'STAT', Example: Query Syntax: Returned Format: [ M A C H i n e { 1 IP):COMPare:CMASk] 10 DIM String$[lOO] Example: 20 OUTPUT XXX;":MACHINE2:COMPARE:CMASK? 30 ENTER XXX; String$ 40 PRINT String$ 50 END HP 16628/1653B Subsystem Programming Reference...

  • Page 223

    COPY The COPY command copies the current acquired State Listing for the specified machine into the Compare Listing template. It does not affect the compare range or channel mask settings. Command Syntax: OUTPUT XXX;":MACHINEZ:COMPARE:COPY" Example: HP 15528/1553B Subsystem Programming Reference...

  • Page 224

    :: = integer from -1023 to + 1023 :: = “{#El{OI 1 IX} . . . I OUTPUT XXX:" :MACHINEZ:COMPARE:DATA 'CLOCK', 42, ‘XBDllXlOlX’” OUTPUT XXX;":MACHINE2:COMPARE:DATA 0, 'XHFF40" OUTPUT XXX;":MACHINEl:CDMPARE:DATA 129, 'XBXXOO'. ‘#BllOl’, ‘YBlOXX’” OUTPUT XXX;":MACH2:COMPARE:DATA -511, '4', '64', Subsystem HP 16628116638 Programming Reference...

  • Page 225

    25 OUTPUT XXX;":SYSTEM:HEAOER OFF" 30 OUTPUT XXX;":MACHINE2:COMPARE:RANGE?" 35 ENTER XXX; First, Last 40 PRINT "LINE 45 FOR State = First TO Last OUTPUT XXX;":MACH2:COMPARE:DATA? 55 ENTER XXX; Responsej 60 PRINT State, Response$ NEXT State 70 END HP 1652B/l653B Programming Reference 16-7...

  • Page 226

    : : = integer from 0 to 1024 : : = integer from -1023 to + 1023 Example: 1 0 D I M String$[lOO] 20 OUTPUT XXX;” :MACHINE2:COMPARE:FIND? 2 6 ” 4 0 P R I N T String$ 50 END HP 1652B/l653B Programming Reference...

  • Page 227

    { F U L L 1 PAFtTial,<start-line>, Example: 10 DIM String$[100] 20 OUTPUT XXX;” :MACHINE4:COHPARE:RANGE?” 30 ENTER XXX; String$ 40 REM See if substring "FULL" occurs in response string: 50 PRINT "Range is "; 60 IF POS(String$,"FULL") 70 END HP 16!528/1653B Programming Reference...

  • Page 228

    . The RUNTil query returns the current stop criteria for the comparison when running in repetitive trace mode. The RUNTil instruction (for state analysis) is available in both the SLISt Note d and COMPare subsystems. HP 1652Bll653B 1610 Programming Reference...

  • Page 229

    Command Syntax: Example: OUTPUT XXX;" :MACHINE2:COMPARE:RUNTIL EQUAL" Query Syntax: Returned Format: {OFF JLT,<value> lGT,<value> ) Example: 10 DIM String$[lOO] 20 OUTPUT XXX;":MACHINE2:COMPARE:RUNTIL?" 30 ENTER XXX; 40 PRINT String$ 50 EN0 HP 1652Bll6536 16-11...

  • Page 230

    TFORmat Subsystem Introduction The TFORmat subsystem contains the commands available for the Tiig Format menu in the HP 1652B/53B logic analyzer. These commands are: name = sh’ng of up to 6 alphanumeric characters polarity =: {POSitive I NEGative} pod-specification = format (integerfrom 0 to 65535) for a pod value = voltage (real number) -9.9 to + 9.9...

  • Page 231

    Timing Format menu. It always follows the MACHine selector because it selects a branch directly below the MACHine level in the language tree. Command Syntax: OUTPUT ~~X;“:MACHINE~:TFORMAT:LAEIEL?” Example: TFORmat Subsystem HP 16528/1663B 17-2 Programming Reference...

  • Page 232

    A label can not have a total of more than 32 channels assigned to it. The LABel query returns the current specification for the selected (by name) label. If the label does not exist, nothing is returned. Numbers are always returned in decimal format. HP 1052B/1653B 17-3...

  • Page 233

    Query Syntax: < n a m e > [, <assignment>]...,<polarity> < NL> Example: 1 0 D I M String$[lOO] 20 OUTPUT XXX;“:MACHINE2:TFORMAT:LAEiEL? ‘DATA”’ 30 ENTER XXX String$ 4 0 P R I N T String$ 50 END HP 16628/1653B 17-4...

  • Page 234

    REMove command REMove The REMove command allows you to delete all labels or any one label specified by name for a given machine. Command Syntax: where: :: = string of up to 6 alphanumeric characters < n a m e > OUTPUT XXX;”...

  • Page 235

    ECL, ‘ITL or a specific voltage from -9.9V to + 9.9V in 0.1 volt increments. On the HP 1652B, the pod thresholds of pods 1,2, and 3 can be set Note ” 4 independently. The pod thresholds of pods 4 and 5 are slaved together;...

  • Page 236

    Introduction The ‘ITRace subsystem contains the commands available for the Timing Trace menu in the HP 1652B/53B logic analyzer. These commands are: EDGE HP 16528/1653B 18-1 Programming Reference...

  • Page 237

    = sting of up to 6 alphanumeric characters R = rising edge F = falling edge T = toggling or either edge glitch-spec = stringofchuructers “{*I.}...” . . 1 Figure 18-l. TTRace Subsystem Syntax Diagram HP 1652Bll653B Programming Reference...

  • Page 238

    The Trace selector is used as part of a compound header to access the settings found in the Timing Trace menu. It always follows the MACHine selector because it selects a branch directly below the MACHine level in the language tree. Command Syntax: Example: OUTPUT XXX;":MACHINEl:TTRACE:GLITCH 'ABC', '..****"' HP 16!528/16538 Programming Reference...

  • Page 239

    :: = {GLlTch ITRANsitional) OUTPUT XXX; “:MACHINEl:TTRACE:AMODE GLITCH" Example: Query syntax: Returned Format: Example: 1 0 D I M M$[lOO] 20 OUTPUT XXX; “:MACHINEl:TTRACE:AMODE?” 30 ENTER XXX;Mf 4 0 P R I N T M$ 50 END HP 16528116538 18-4...

  • Page 240

    7 :: = real number Example: OUTPUT XXX; “:MACHINE1:TTRACE:OllRATION G T , 40.OE-9” Query Syntax: Example: 10 DIM D$[lOO] 20 OUTPUT XXX; “:MACHINE1:TTRACE:DURATION?” 30 ENTER XXX;D$ 4 0 P R I N T O$ 50 EN0 HP 16528/1653B Programming Reference...

  • Page 241

    The EDGE query returns the edge specification for the specified label. Command Syntax: where: :: = string or up to 6 alphanumeric characters <label-name > :: = string of characters “(RIFIT(X}...’ OUTPUT XXX; “:MACHINEl:TTRACE:EOGE Example: HP 16528/1663B 16-6 Programming Reference...

  • Page 242

    EDGE Query Syntax: Example: 1 0 D I M E$[lOO] 30 ENTER XXX;E$ 4 0 P R I N T E$ 50 END HP 16526/16538 Programming Reference...

  • Page 243

    :: = string of characters “{*I.}...” OUTPUT XXX; ":MACHINEl:TTRACE:GLITCH Example: Query Syntax: <label-name> Returned Format: <label-name >, < glitch-spec > e NL> 10 DIM G$[lOO] Example: 20 OUTPUT XXX; ":MACHINEl:TTRACE:GLITCH? 30 ENTER XXX;G$ 40 PRINT Gf 50 END HP 16528/1663B 16-6 Programming Reference...

  • Page 244

    Command Syntax: where: c label name > :: = string of up to 6 alphanumeric characters :: = “{#B(OI 1 IX) . . 1 . . I . .)” OUTPUT XXX; ":MACHINEl:TTRACE:PATTERN 'DATA', '255'" Example: HP 1652B/l653B Programming Reference...

  • Page 245

    Query Syntax: <label-name >, < pattern-spec> c NL> 10 DIM P$[lOO] Example: 20 OUTPUT XXX; “:MACHINEZ:TTRACE:PATTERN? ‘DATA”’ 30 ENTER XXX;P$ 50 END HP 16528/l 6538 Programming Reference...

  • Page 246

    TWAVeform Subsystem Introduction The TWAVeform subsystem contains the commands available for the Timing Waveforms menu in the HP 1652B/53B. These commands are: TWAVeform Subsystem HP 1652Bll653B...

  • Page 247

    Figure 19-l. TWAVeform Subsystem Syntax Diagram HP 16528/1653B Programming Reference...

  • Page 248

    - v a l u e 19-l. Figure Subsystem Syntax Diagram (continued) HP 16526/1653B Subsystem Programming Reference 19-3...

  • Page 249

    = slot number in which the timebase card is installed time-range = real number between 100 ns and 10 ks = greater than = less than value = real number 191. Figure HP 16528/1653B Programming Reference...

  • Page 250

    Selector The TWAVeform selector is used as part of a compound header to access the settings found in the Tiig Waveforms menu. It always follows the in the command tree. Command Syntax: OUTPUT XXX;":MACHINEl:TWAVEFORM:OELAY Example: HP 10528/1653B Programming Reference...

  • Page 251

    : : = {OIOFF} o r (1 ( O N ) Example: OUTPUT XXX;“:MACHINEl:TWAVEFORM:ACCUMULATE ON” Query Syntax: Returned Format: Example: 10 DIM P$ [iool 20 OUTPUT XXX;“:MACHINEl:TWAVEFORM:ACCUMULATE?” 30 ENTER XXX; P$ 4 0 P R I N T P$ HP 16528/1663B...

  • Page 252

    :: = real number between -2500 s and + 2!500 Example: OUTPUT XXX ; ” :MACHINEl:TWAVEFORM:DELAY lOOE-6” Query Syntax: <time-value > < NL > Returned Format: 20 OUTPUT XXX;“:MACHINEl:TWAVEFORM:DELAY?” 30 ENTER XXX; Ol$ 4 0 P R I N T 01s HP 16528/1663B...

  • Page 253

    If OVERLAY is specified, all the bits of the label are displayed as a composite overlaid waveform. Command Syntax: where: :: = string of up to 6 alphanumeric characters :: = integer from 0 OUTPUT XXX;“:MACHINEl:TWAVEFORM:INSERT Example: HP 16528/1653B Progmmming Reference...

  • Page 254

    The MMODe query returns the current marker mode. Command Syntax: OUTPUT XXX; ":MACHINEl:TWAVEFORH:MMODE TIME" Example: Query Syntax: Returned Format: 1 IP):TWAVeform:MMODe] where: ::= {OFFIPATTernITlMEIMSTats} Example: HP 1652Bll653B Programming Reference 19-9...

  • Page 255

    PATTern marker mode. The OCONdition query returns the current setting. Command Syntax: OUTPUT XXX; “:MACHINE1:TWAVEFORM:OCONDITION ENTERING” Example: Query Syntax: Format: Example: 1 0 D I M Oc$ [loo] 20 OUTPUT XXX;” :MACHINE1:TWAVEFORM:OCONDITION?” 30 ENTER XXX; Oc$ PRINT Oc$ HP 16528/1653B Programming Reference...

  • Page 256

    command/query The OPATtem command allows you to construct a pattern recognizer term for the 0 marker which is then used with the OSEarch criteria and deals with only one label at a time, a complete specification could require several invocations. When the value of a pattern is expressed in binary, it represents the bit values for the label inside the pattern reco @zer term.

  • Page 257

    Query Syntax: <label-name > Example: lo DIM op$ [loo] 20 OUTPUT XXX;":MACHINEl:TWAVEFORM:OPATTERN? 'A"' 30 ENTER XXX; Op$ 40 PRINT Op$ 50 END HP 10528/1653B Programming Reference...

  • Page 258

    :: = integer from -9999 to +99%l Example: OUTPUT XXX; “:MACHINEl:TWAVEFORM:OSEARCH +lO.TRIGGER” Query Syntax: Returned Format: <occurrence >, <origin Example: 10 D I M 20 OUTPUT XXX;“:MACHINEl:TWAVEFORM:OSEARCH?” 30 ENTER XXX; Os$ 4 0 P R I N T Os$ 50 END HP 16528/1663B Programming Reference...

  • Page 259

    :: = real number -2.SKs to +2.5Ks OUTPUT XXX; ":MACHINEl:TWAVEFORM:OTIME Example: Query Syntax: Returned Format: dime-value z- c NL> 10 DIM ots [loo] Example: 20 OUTPUT XXX;" :MACHINEl:TWAVEFORM:OTIME?" 30 ENTER XXX; 40 PRINT Ot$ 50 END HP 16528/l 6538 Programming Reference 1914...

  • Page 260

    :: = real number between 100 ns and 10 ks OUTPUT XXX;" :MACHINEl:TWAVEFORM:RANGE Example: Query Syntax: F o r m a t : 10 DIM Rgj [loo] Example: 20 OUTPUT XXX;":MACHINEl:TWAVEFDRM:RANGE?" 30 ENTER XXX; RgS 40 PRINT Rg$ 50 END HP 1652W16538 Subsystem Programming Reference 1915...

  • Page 261

    REMove command REMove The REMove command deletes all waveforms from the display. Command Syntax: OUTPUT XXX;" :MACHINEl:TWAVEFORM:REMOVE" Example: HP 16526/1653B 1916...

  • Page 262

    The RUNTil query returns the current stop criteria. Command Syntax: where: : : = { O F F 1 LT,cvalues 1 GT,<value> 1 lNFhge<value>,<value> < v a l u e > :: = real number OUTPUT XXX;“:MACHINEl:TWAVEFORM:RUNTIL GT, 800.OE-6” Examples: OUTPUT XXX;“:MACHINE1:TWAVEFORM:RLlNTIL HP 16528/1653B Progmmming Reference...

  • Page 263

    Query Syntax: Returned Format: 10 DIM Ru$ [lDO] Example: 20 OUTPUT XXX;":MACHINEl:TWAVEFORM:RUNTIL?" 30 ENTER XXX; Ru$ 40 PRINT Ru.$ 50 END HP 1852Bll883B 1918 Programming Reference...

  • Page 264

    The SPERiod query returns the sample period of the last run. Query Syntax: Returned Format: 1 12):TWAVeform:SPERiodJ where: : : = r e a l n u m b e r Example: 10 20 OUTPUT XXX;":MACHINE1:TWAVEFORM:SPERIOO?" 30 ENTER XXX; Sp$ 40 PRINT Sp$ 50 EN0 HP 1652B/1653B 19-19...

  • Page 265

    0 markers. If there is no valid data, the query returns 9.9E37. Query syntax: Format: where: : : = r e a l n u m b e r Example: 10 DIM Tv$ [loo] 20 OUTPUT XXX;":MACHINEl:TWAVEFORM:TAVERAGE?" 30 ENTER XXX; Tv$ 40 PRINT Tv$ 50 END HP 16528/1653B Subsystem Programming Reference...

  • Page 266

    Query Syntax: Returned Format: c time-value > c NL> where c time value > :: = real number Example: 10 DIM Tx$ [loo] 2 0 OUTPUT XXX;":MACHINEl:TWAVEFORM:TMAXIMUM?" 4 0 PRINT Tx$ 5 0 E N D HP 16528/1653B Programming Reference...

  • Page 267

    X and 0 markers. If there is no valid data, the query returns 9.9E37. Query Syntax: Returned Format: <time-value > c NLr where: :: = real number 10 DIM Tm$ [loo] Example: 2 0 OUTPUT XXX;":MACHINEl:TWAVEFDRM:TMINIMUM?" 30 ENTER XXX; Tm$ 4 0 PRINT Tm$ 5 0 E N D HP 16528/1663B...

  • Page 268

    : : = z e r o o r p o s i t i v e i n t e g e r Example: lo 20 OUTPUT XXX;":MACHINEl:TWAVEFORM:VRUNS?" 30 ENTER XXX; Vr$ 40 PRINT Vr$ 50 END HP 1652B/l653B Programming Reference...

  • Page 269

    PATTern marker mode. The XCONdition query returns the current setting. Command Syntax: OUTPUT XXX; ":MACHINE1:TWAVEFORM:XCONDITION ENTERING" Example: Query Syntax: 1 12):TWAVeform:XCONdition? Format: Example: 10 DIM XcS 20 OUTPUT XXX;" :MACHINE1:TWAVEFORM:XCONDITION?" 30 ENTER XXX; Xc$ PRINT Xc$ HP 1652B/l653B IS-24 Programming Reference...

  • Page 270

    If data is not valid, the query returns 9.9E37. Query syntax: Returned Format: where: <time-value :: = real number Example: 10 DIM XotS [loo] 20 OUTPUT XXX;":MACHINEl:TWAVEFORM:XOTIME?" 30 ENTER XXX; Xot$ 40 PRINT Xot$ 50 END HP 10528/1653B Programming Reference 19-25...

  • Page 271

    X marker for a given label. If the X marker is not placed on valid data, don’t cares (XX...X) are returned. Command Syntax: where: :: = string of up to 6 alphanumeric characters :: = “(#B(O)1 IX} . ( OUTPUT XXX; ":MACHINEl:TWAVEFORM:XPATTERN Example: HP 1652Wl653B...

  • Page 272

    Query Syntax: Format: 10 DIM Xp$ [lOD] Example: 'A"' 30 ENTER XXX; Xp$ 40 PRINT Xp$ 50 END HP 16526/1653B Programming Reference...

  • Page 273

    > , <origin > Query syntax: Returned Format: <occurrence >, <origin z= < NL> Example: 1 0 D I M Xs$ [loo] 20 OUTPUT XXX;” :MACHINEl:TWAVEFORM:XSEARCH?” 30 ENTER XXX; Xs$ 4 0 P R I N T Xs$ 50 END HP 1652B/1653B...

  • Page 274

    command/query XTIMe The XTIMe command positions the X marker in time when the marker mode is TIME. If data is not valid, the command performs no action. The XTIMe query returns the X marker position in time. If data is not valid, the query returns 9.9E37.

  • Page 275

    SYMBol Subsystem Introduction The SYMBol subsystem contains the commands that allow you to define HP 1652Bb3B logic symbols on the controller and download them to the analyzer. The commands in this subsystem are: BASE s p a c e l a b e l - n a m e Figure 20-l.

  • Page 276

    =: “{#B{OII}. . . 1 . . 1 . . 1 . . }” stop-value = “{#B{OII}. . . I . - I . . 1 width-value = integerfrom I to 16 Figure 20-l. SYMBol Subsystem Syntax Diagram (continued) HP 16528/1653B Programming Reference...

  • Page 277

    The SYMBol selector is used as a part of a compound header to access the commands used to create symbols. It always follows the h4ACHiae selector because it selects a branch directly below the the command tree. Command Syntax: OUTPUT XXX;":MACHINEl:SYMBOL:BASE 'DATA', BINARY" Example: HP 16528/1653B SYMBol Subsystem 20-3...

  • Page 278

    Note ” 4 case the base will default to HEXadecimal. Command Syntax: <label-name >, < base-value 5 where: :: = string of up to 6 alphanumeric characters :: = {BINary Example: OUTPUT XXX;":MACHINEl:SYMBOL:BASE HP 16528/l 6638 Programming Reference...

  • Page 279

    : : = s t r i n g o f u p t o 1 6 a l p h a n u m e r i c c h a r a c t e r s ::= “{#e{o~l~x). . . 1 . . I . . I OUTPUT XXX;":MACHINEl:SYMBOL:PATTERN 'STAT', Example: HP 16528/1653B...

  • Page 280

    : : = ‘@{#B{OIl}. . 1 . . I . .I” : : = “{#B{Oll}. . . I . . I . . }” Example: OUTPUT XXX;” :MACHINEl:SYMBOL:RANGE ‘ S T A T ’ . ‘IO~ACC’.‘O’.‘#HOOOF’” Subsystem HP 1652B/l663B Programming Reference...

  • Page 281

    The RJZMove command deletes all symbols from a specified machine. Commend Syntax: OUTPUT XXX;":MACHINEl:SYMBOL:REMOVE" HP 1052B/1653B Programming Reference 20-7...

  • Page 282

    The WIDTh command does not affect the displayed length of the symbol Note #i offset value. Command Syntax: <label-name>, <width-value where: :: = string of up to 6 alphanumeric characters :: = integer from 1 to 16 OUTPUT XXX;" :MACHINEl:SYMBOL:WIDTH 'DATA',9 - HP 16528/16!53B Programming Reference...

  • Page 283

    If you are unable to get a desired configuration strictly through programming instruction, try the following steps: Manually configure the HP 1652B/53B through the front panel. 2. Save configuration to a disk (through the front panel or through the instruction).

  • Page 284

    (or query) for a function within the SCOPe subsystem. Since SCOPe is a root-level command, it will normally appear as the first element of a compound header. Command Syntax: OUTPUT XXX; ":SCOPE:TRIGGER:SLOPE NEGATIVE" Example: SCOPe Subsystem HP 16528/16538 21-2...

  • Page 285

    The trigger source is the lowest channel on which the trigger was found. If no trigger is found, the oscilloscope defaults to auto-trigger. Command Example: OUTPUT XXX;":SCOPE:AUTOSCALE" HP 16528/1653B 21-3...

  • Page 286

    The SMODe query returns the current status of the oscillosocpe. Command Syntax: :SCOPe:SMODe {ON)OFF} Example: OUTPUT XXX;“:SCOPe:SMOOe ON” Query Syntax: :SCOPe:SMODe? Returned Format: Example: 10 DIM Sm$[lOO] 20 OUTPUT XXX;“:SCOPE:SMODE?” 30 ENTER XXX;Sm$ 40 PRINT Sm$ 50 END HP 16528/1653B Programming Reference 21-4...

  • Page 287

    CHANnel Subsystem Introduction The CHANnel subsystem commands control the channel display and the vertical axis of the oscilloscope. Each channel must be programmed independently for all offset, range and probe functions. The commands are: HP 1652Bll653B CHANnel Subsystem Programming Reference...

  • Page 288

    = integerftom 1 through lOlW, specifying the probe attenuation with respect to 1. = real number specifying vemCal sensitivity. The allowable range is 15 mV to 10 Vfor a probe attenuation of 1. The specified range is equal to 4 times VoltslDiv. Figure 22-l. HP 16528/1653B 22-2 Programming Reference...

  • Page 289

    CHANnel menu. It always follows the SCOPe selector because it selects a branch below the SCOPe level in the command tree. Command Syntax: where: ::= {l 12) Example: OUTPUT XXX; ":SCOPE:CHANNEL2:OFFSET 2.5" HP 10526/1653B CHANnel Subsystem Programming Reference 22-3...

  • Page 290

    Command Syntax: 1 I2):COUPling { D C ) DCFifty} Example: OUTPUT XXX ; ” :SCOPE:CHANNELl:COUPLING D C ” Query Syntax: Example: 1 0 DIM cct[lool 20 OUTPUT XXX;“:SCOPE:CHANNELl:COUPLING?” 30 ENTER XXX;Cc$ 4 0 P R I N T Cc$ HP 16528/1653B...

  • Page 291

    Command Syntax: 1 IP}:OFFSet where: ::= {-2~Vto+~Vmax.atlMR Example: OUTPUT XXX;":SCOP:CHANl:OFFS 1.5" Query Syntax: Format: 1 I2):OFFSeq <value > c NL> 10 DIM Co$[lOO] Example: 20 OUTPUT XXX;":SCOPE:CHANNELl:OFFSET?" 30 ENTER XXX;Co$ 40 PRINT Co$ 50 END HP 16528/1663B Subsystem Programming Reference...

  • Page 292

    command/query The PROBe command specifies the attenuation factor for an external probe connected to a channel. The command changes the channel voltage references such as range, offset, trigger levels and automatic measurements. The actual sensitivity is not changed at the channel input. The allowable probe attenuation factor is an integer from 1 to 1ooO.

  • Page 293

    :: = 60 mV to 40 V for a probe attenuation factor of 1: 1 Example: ouTPuT Query Syntax: Returned Format: Example: 10 DIM PrS[loo] 20 OUTPUT XXX;“:SCOPE:CHANNELl:RANGE?” 30 ENTER XXX;Pr$ 4 0 P R I N T PrS 50 END HP 16528/1653B Programming Reference 22-7...

  • Page 294

    SOURce, LEVel, and SLOPe commands. If a source is not specified, then the current source is assumed. ‘The Immediate In the Immediate trigger mode, the oscilloscope wiII trigger by itself when Trigger Mode the arming requirements are met. HP 165213/1663B Programming Reference...

  • Page 295

    -value = trigger level in volts Figure 23-l. Subsystem Syntax Diagram HP 16528/1653B Subsystem Programming Reference 23-2...

  • Page 296

    The TRIGger selector is used as part of a compound command header to access the settings found in oscilloscope’s Trigger menu. It always follows the SCOPe selector because it selects a branch below the SCOPe level in the command tree. Command Syntax: OUTPUT XXX; ":SCOPE:TRIGGER:CHANNELi;LEVEL 2.0" Example: HP 16528/16536 Programming Reference 23-3...

  • Page 297

    : : = T r i g g e r l e v e l i n v o l t s OUTPUT XXX;":SCOPE:TRIG:LEVEL 1.0" Example: Query Syntax: Returned Format: 10 DIM El$[lOO] Example: 20 OUTPUT XXX;" :SCOPE:TRIGGER:SOURCE 30 ENTER XXX;El$ 40 PRINT El$ 50 END HP 16526/1663B 23-4...

  • Page 298

    The query returns the current mode. Command Syntax: {EDGE 1 IMMediate} Example: OUTPUT XXX;":SCOPE:TRIGGER:MOOE EDGE" Query Syntax: Returned Format: Example: 10 DIM Md$[lOO] 20 OUTPUT XXX;":SCOPE:TRIGGER:MOOE?" 30 ENTER XXX;Md$ 40 PRINT Md$ 50 END HP 16528/16538 Programming Reference 23-5...

  • Page 299

    Command Syntax: Example: OUTPUT XXX;“:SCOP:TRIG:SOURCE POS” Query Syntax: Returned Format: 10 DIM Ts$[lOO] Example: 20 OUTPUT XXX;":SCOP:TRIG:SOlJR 3 0 E N T E R XXX;Ts$ 4 0 P R I N T Ts$ 50 END Subsystem HP 16528/1653B 23-6 Programming Reference...

  • Page 300

    EDGE trigger mode. The query returns the current trigger source. Command Syntax: OUTPUT xxx;":SCOP:TRIG:SOUR Example: Query Syntax: Returned Format: 10 DIM Tso$[lOO) Example: 20 OUTPUT XXX;":SCOPE:TRIGGER:SOURCE?" 30 ENTER XXX;Tso$ 40 PRINT Tso$ 50 END Subsystem HP 16528/1653B 23-7 Programming Reference...

  • Page 301

    The commands are: TYPE = (2 14 18 I16 I32 ) 64 I128 1256) An integer that specifies the number of averages to be taken of each time point. Figure 24-l. ACQuire Subsystem Syntax Diagram HP 16528/16538 ACQuire Subsystem Programming Reference 24-1...

  • Page 302: Acquisition Type Normal

    In this mode the number of averages must also be specified using the COUNt command. Previously averaged waveform data is erased from the display and the newly averaged waveform is displayed. HP 16528/1663B 24-2 Programming Reference...

  • Page 303

    The ACQuire selector is used as part of a compound command header to access the settings found in oscilloscope’s Acquire menu. It always follows the SCOPe selector because it selects a branch below the SCOPe level in the command tree. Command Syntax: NORMAL" HP 16528/1653B Programming Reference 24-3...

  • Page 304

    This command generates an error if Normal acquisition mode is specified. The query returns the last specified count. Command Syntax: where : : = {2~4~8~16~32~s4~128~25s) 16" Query Syntax: Format Example: 10 DIM A~$[1001 20 OUTPUT XXX;":SCOPE:ACQ:COUN?" 30 ENTER XXX;Ac$ 40 PRINT Acf 50 END HP 16528/16636...

  • Page 305

    NORMal, AVERage, or Accumulate mode. The query returns the last specified type. Command Syntax Query Syntax: 1 0 D I M At$[lOO] 20 OUTPUT XXX;“:SCOPE:ACQUIRE:TYPE?” 30 ENTER XXX;At$ 4 0 P R I N T AtS 50 END HP 15528/1653B 24-5...

  • Page 306

    Delay Time, and the Timebase Mode. If TRIGGERED mode is to be used, ensure that the trigger specifications of the TRIGger subsystem have been set. Refer to Figure 25-1 for the TIMebase subsystem syntax diagram. space Figure 25-l. TIMebase Subsystem Synfax Diagram HP 16528/1653B Programming Reference 25-1...

  • Page 307

    Timebase menu. It always follows the SCOPe selector because it selects a branch below the SCOPe level in the command tree. Command OUTPUT XXX; ":SCOPE:TIHEBASE:MOOE AUTO" Example: HP 10528/1653B 2 5 2 Programming Reference...

  • Page 308

    This is an intentional deviation from the normal truncation rules. Command Syntax: where: :: = delay time in seconds OUTPUT XXX:":SCOPe:TIMebase:OELAY Example: Query Syntax: Returned Format: 10 DIM Dt$[lOO] Example: 20 OUTPUT XXX;":SCOPe:TIMebase:DELAY?" 30 ENTER XXX;Dt$ 40 PRINT Dt$ 50 END HP 16528/1653B 2 5 3...

  • Page 309

    The Auto-Trig On field in the trigger menu is the same as the AUTO mode over HP-IB or RS-232C. Setting the mode to TRIGgered is the same as the Auto-Trig Off on the front panel. The query returns the current TIMebase mode.

  • Page 310

    MODE Format: Example: 20 OUTPUT XXX;“:SCOPe:TIMEBASE:MOOE?” 30 ENTER XXX;Tm$ 4 0 P R I N T Tm$ HP 1652B/l653B Programming Reference...

  • Page 311

    Command syntax: c range z- where: :: = time in seconds <range > OUTPUT XXX;" :SCOPE:TIMEBASE:RANGE Example: Query Syntax: Returned Format: 10 DIM Tr$[lOO] Example: 20 OUTPUT XXX;" :SCOPE:TIMEBASE:RANGE?" 30 ENTER XXX;Tr$ 40 PRINT Tr$ 50 END HP 16528/1553B Progmmming Reference...

  • Page 312

    Introduction The commands of the WAVeform subsystem are used to transfer waveform data from the oscilloscope to a controller. The commands are: DATA HP 1652B/1663B...

  • Page 313

    PREamb I e” PREamb I e” channel-# = Figure 26-l. WAVeform Subsystem Syntax Diagram Subsystem HP 16528/1653B 2 6 2 Programming Reference...

  • Page 314

    ACCumulate is set to OFF. When Average mode is selected the number of averages must also be specified using the COUNt command. Previously displayed waveform data is erased from the display and the newly averaged waveform is displayed. HP 16529/16539 26-3...

  • Page 315: Format For Data Transfer

    Figure 262. Byte Date Structure The data returned in BYTE format are the same for either Normal or Average acquisition transfer rate in this format is faster types. data than the other two formats. HP 16528/1653B Progmmming Reference 2 6 4...

  • Page 316: Word Format

    The data values transmitted are the same as would be sent in the WORD format except that they are converted to an integer ASCII format (six or less characters) before being transmitted. The header before the data is not included in this format. HP 16528/1653B Subsystem Programming Reference...

  • Page 317

    Data Conversion Data sent from the HP 1652B/53B is raw data and must be scaled for useful interpretation. The values used to interpret the data are the X and Y references, X and Y origins, and X and Y increments. These values are read from the waveform preamble or by the queries of these values.

  • Page 318

    The WAVeform selector is used as part of a compound command header to access the settings found in oscilloscope’s Waveform menu. It always follows the SCOPe selector because it selects a branch below the SCOPe level in the command tree. Command Syntax: OUTPUT XXX; ":SCOPE:WAVEFORM:" Example: HP 16528/16.538...

  • Page 319

    < c o u n t > cNL> Returned Format: where: < c o u n t > : : = {2~4~8~16~32~64~128~266) Example: 10 DIM Ac$[lOO] 20 OUTPUT XXX;" :SCOPE:WAVEFORM COUNT?” 30 ENTER XXX;Ac$ 40 PRINT Ac$ 50 END HP 18828/1883B 28-8 Programming Reference...

  • Page 320

    : S C O P e : W A V e f o r m : [ S O U R c e Returned Format: <block data > < NL> The following example program moves data from the HP 1652B/53B to a controller. 100 CLEAR XXX Example: 110 OUTPUT XXX:":SYSTEM:HEAOER...

  • Page 321

    : S C O P e : W A V e f o r m : F O R M a t ? ” Format: Example: 10 20 OUTPUT XXX;":SCOPE:WAVEFORM:FORMAT?" 30 ENTER XXX;Fo$ 40 PRINT Fo$ 50 END HP 16528/16538 26-10 Programming Reference...

  • Page 322

    , then the query returns the number of points displayed on screen. Query Syntax: Returned Format: where: <points > :: = number of points depending on of WAVeform 10 DIM Po$[lOO] Example: 20 OUTPUT XXX;":SCOPE:WAVEFORM:POINTS?" 30 ENTER XXX;Po$ 40 PRINT Po$ 50 END HP 16528/1653B Programming Reference 26-11...

  • Page 323

    SOURce command. The short form for PREAMBLE is PREAmble. This is an intentional Note d deviation from the normal truncation rule. Query Syntax: Returned Format: <count>, 10 DIM Pr$[300] Example: 20 OUTPUT XXX;":SCOPE:UAVEFORM:PREAMBLE?" 30 ENTER XXX;Pr$ 40 PRINT Pr$ HP 16!528/16538...

  • Page 324

    : S C O P e : W A V e f o r m : R E C o r d ? Returned Format: [:SCOPe:WAVeform:RECord] {FULLIWINDow} Example: OUTPUT XXX;":SCOPE:WAVEFORM:SOURCE 30 ENTER XXX;Wr$ 40 PRINT Wr$ 50 END HP 1652Bll653B Programming Reference 2813...

  • Page 325

    The query returns the presently selected channel. Commend Synfex: Example: OUTPUT XXX;" :SCOPE:UAVEFORM:SOURCE Query Syntax: Returned Format: Example: 10 DIM Ws$[lOO] 20 OUTPUT XXX;" :SCOPE:WAVEFORM:SOURCE?" 30 ENTER XXX:Ws$ 40 PRINT Ws$ 50 END HP 1652B/l653B Programming Reference...

  • Page 326

    TYPE The TYPE query returns the present acquisition type which was specified in the ACQuire subsystem. Query Syntsx: Format: Example: 10 DIM wt$[loo] 20 OUTPUT XXX;" :SCOPE:WAVEFORM:TYPE?" 30 ENTER XXX;Wt$ 40 PRINT Wt$ 50 EN0 HP 165213/1653B Programming Reference 2815...

  • Page 327

    1. A 0 is reported if no data has been acquired for the last acquisition. Query Syntax: Returned Format: where: :: = No data acquired :: = Data has been acquired Example: 10 DIM 20 OUTPUT XXX;":SCOPE:VAVEFORM:VALID?" 30 ENTER XXX;Da$ 40 PRINT Da$ 50 END HP 16628/1663B...

  • Page 328

    : : = X - i n c r e m e n t v a l u e c u r r e n t l y i n p r e a m b l e Example: IO 20 OUTPUT XXX;":SCOPE:WAVEFORM:XINCREMENT?" 30 ENTER XXX;Xi$ 40 PRINT Xi$ 50 END HP 1662S/l6536 Subsystem Programming Reference 2617...

  • Page 329

    : : = X - o r i g i n v a l u e c u r r e n t l y i n p r e a m b l e 10 DIM Xo$[lOO] Example: OUTPUT XXX;":SCOPE:WAVEFORM:XORigin?" 30 ENTER XXX;Xo$ 40 PRINT Xo$ 50 END HP 16528/1653B 2618...

  • Page 330

    : : = X - r e f e r e n c e v a l u e i n p r e a m b l e 10 DIM Xo$[lOO] Example: 20 OUTPUT XXX;":SCOPE:WAVEFORM:XREFerence?" 30 ENTER XXX;Xo$ 40 PRINT Xo$ 50 END HP 16528/1653B 2619 Programming Reference...

  • Page 331

    : : = Y - i n c r e m e n t v a l u e c u r r e n t l y i n p r e a m b l e Example: 10 20 OUTPUT XXX;":SCOPE:WAVEFORM:YINCREMENT?" 30 ENTER XXX;Yi$ 40 PRINT Yi$ 50 END HP 16528/1663B 26-20 Programming Reference...

  • Page 332

    This value is the voltage at the center of the screen. Query Syntax: Returned Format: where: :: = Y-origin value currently in preamble Example: 20 OUTPUT XXX;":SCOPE:WAVEFORM:YORigin?" 30 ENTER XXX;Yo$ 40 PRINT Yo$ 50 END HP 16528/1663B 26-21 Programming Reference...

  • Page 333

    : : = Y - r e f e r e n c e v a l u e i n p r e a m b l e Example: OUTPUT XXX;":SCOPE:WAVEFORM:YREFerence?" 30 ENTER XXX;Yo$ 40 PRINT Yo$ 50 END HP 16528/1663B Subsystem Programming Reference 2622...

  • Page 334

    SOURce command to specify which channel is to be used. All subsequent measurements will be made from that channel’s waveform. If a waveform characteristic cannot be measured, the instrument responds with 9.9E + 37. HP 16528/1663B MEASure Subsystem 27-1...

  • Page 335: Frequency

    For complete details of the measurement algorithms, refer to the Front-panel Operating Reference Manual. Refer to figure 27-l for the MEASure subsystem syntax diagram. Subsystem HP 16528/1653B 27-2 Programming Reference...

  • Page 336

    = un infeger { 2 1 2). Figure 27-l. Subsystem Syntax Diagram HP 16528/16538 Subsystem Programming Reference 27-3...

  • Page 337

    All queries in this subsystem return the measurement results of the last Note d channel specified by the SOURce command. If you want measurement results from the other channel, you must use the SOURce command before using any of the queries. HP 16526/l 6538 MEASure Subsystem Programming Reference 27-4...

  • Page 338

    30 OUTPUT XXX;” :SCOPE:MEASURE:SOUR 40 OUTPUT XXX;” :SCOPE:MEASURE:ALL?” 50 ENTER XXX;Query$ 70 LOOP 90 EXIT IF NOT I 100 PRINT Query$ [l, I-l] 110 Query$=Query$ [ I+l] 120 END LOOP 130 PRINT Query$ 140 PRINTER IS 1 150 END HP 16528/1653B Subsystem 27-5...

  • Page 339

    The short form of FALLTIME is FALLTime. This is an intentional Note 6 deviation of the normal truncation rule. Query Syntax: Returned Format: where: :: = time in seconds between 10% and Example: 20 OUTPUT XXX;":SCOPE:MEASURE:SOURCE 30 ENTER XXX;Ft$ 40 PRINT Ft$ 50 END Subsystem HP 16528/1653B 27-6...

  • Page 340

    The measurement is made using the first complete displayed cycle at the 50% voltage level. Query Syntax: <value> <NL> where: :: = frequency in HerQ 10 DIM Frcy$[lOO] Example: 30 ENTER XXX;Frcy$ 40 PRINT Frcy$ 50 END HP 16528/16538 27-7...

  • Page 341

    Query Syntax: Returned Format: where: :: = negative pulse width in seconds 10 DIM Nw$[lOO] Example: 20 OUTPUT XXX; ":SCOPE:MEASURE:SOURCE 30 ENTER XXX;Nw$ 40 PRINT Nw$ 50 END Subsystem HP 18528/1853B 27-8 Programming Reference...

  • Page 342

    : : = r a t i o o f o v e r s h o o t t o V a m p l i t u d e 10 DIM Ovs$[lOO] Example: 20 OUTPUT XXX;":SCOPE:MEASURE SOURCE CHANl;OVER?" 30 ENTER XXX;Ovs$ 40 PRINT Ovs$ 50 END HP 165218/l 6538 Programming Reference 27-9...

  • Page 343

    The PERiod query makes a period measurement on the selected channel. The measurement equivalent to the inverse of frequency. Query Syntax: Returned Format: where: :: = waveform period in seconds Example: XXX;":SCOPE:MEASURE:SOURCE 30 ENTER XXX;Pd$ 40 PRINT Pd$ Subsystem HP 16528/1653B 27-10...

  • Page 344

    : : = r a t i o o f p r e s h o o t t o V a m p l i t u d e Example: DIM Prs$[lOO] 20 OUTPUT XXX;":SCOPE:MEASURE:CHANNELZ:PRESH?" 30 ENTER XXX:Prs$ 40 PRINT Prs$ HP 1652B/l653B Subsystem Programming Reference 27-l 1...

  • Page 345

    50% points of the first rising and the next falling edge displayed on screen. Query Syntax: Format: where: :: = positive pulse width in seconds DIM Pw$[lOO] Example: 20 OUTPUT XXX;":SCOPE:MEASURE:SOURCE 30 ENTER XXX;Pw$ 40 PRINT Pw$ Subsystem HP 16528/1663B 27-12 Programming Reference...

  • Page 346

    The short form of RISETIME is RISETime. This is an intentional Note d deviation from the normal truncation rule. Query Syntax: Returned Format: where: :: = risetime in seconds 10 DIM Tr$[lOO] Example: 20 OUTPUT XXX;":SCOPE:MEASURE:SOlJRCE 30 ENTER XXX;Tr$ 40 PRINT Tr$ HP 16528/1653B Programming Reference 27-13...

  • Page 347

    : S C O P e : M E A S u r e : S O U R c e ? Returned Format: 10 DIM so$[loo] Example: 20 OUTPUT XXX;" :SCOPE:MEASURE:SOURCE?" 3 0 E N T E R XXX;So$ 40 PRINT So$ 50 END HP 16528/1663B Programming Reference 27-14...

  • Page 348

    VAM Plitude The VAMPlitude query makes a voltage measurement on the selected channel. The measurement is made by finding the relative maximum and minimum points on screen. Query Syntax: Returned Format: where: : : = d i f f e r e n c e b e t w e e n t o p a n d b a s e v o l t a g e 10 DIM Va$[lOO] Example: OUTPUT...

  • Page 349

    : : = v o l t a g e a t b a s e l e v e l o f s e l e c t e d w a v e f o r m 10 DIM Vb$[lOO] Example: 20 OUTPUT XXX;":SCOPE:MEASlJRE:SOURCE 30 ENTER XXX;Vb$ 40 PRINT Vb$ 50 END HP 16526/l 6538 27-16 Programming Reference...

  • Page 350: Vmax

    V M A X The Vh4AX query returns the absolute maximum voltage of the selected source. Query Syntax: where: :: = maximum voltage of selected waveform Example: 20 OUTPUT XXX;":SCOPE:MEASURE:SOURCE 30 ENTER XXX;Vma$ 40 PRINT Vma$ 50 END HP 16528/l 6538 27-17...

  • Page 351: Vmin

    The Vh4IN query returns the absolute minimum voltage present on the selected source. Query Syntax: Returned Format: [:SCOPe:MEASure VMIN] where: :: = minimum voltage of selected waveform Example: 10 DIM Vmi$[lOO] 20 OUTPUT XXX;":SCOPE:MEASURE:SOURCE 30 ENTER XXX;Vmi$ 40 PRINT Vmi$ 50 END Subsystem HP 18526/1653B 27-18...

  • Page 352

    : : = p e a k t o p e a k v o l t a g e o f s e l e c t e d w a v e f o r m Example: 10 DIM Vpp$[lOO] OUTPUT XXX;":SCOPE:MEASURE:SOURCE 30 ENTER XXX;Vpp$ 40 PRINT Vpp$ 50 END HP 16528/1653B 27-19...

  • Page 353

    Query Syntax: where: :: = voltage at the top of the selected waveform Example: 10 DIM vt$[lool 20 OUTPUT XXX;“:SCOPE:MEASURE:SOURCE CHAN2;VTOP?” 30 ENTER XXX;Vt$ 40 PRINT Vt$ 50 END HP 16528/1653B 27-20 Programming Reference...

  • Page 354

    This appendix describes the operation of instruments that operate in compliance with the IEEE 488.2 (syntax) standard. Although the HP 1652B and HP 1653B logic analyzers are RS-232C instruments, they were designed to be compatible with other Hewlett-Packard IEEE 488.2 compatible instruments.

  • Page 355: Protocol

    > . Message Communication and System Functions HP 16528/1653B Programming Reference...

  • Page 356: Protocol Overview

    The responses to each of the queries in a compound query will also be separated by semicolons. Commands are executed in the order they are received. HP 1662B11653B Message Communication and System Functions Programming Reference...

  • Page 357: Protocol Exceptions

    Query Error. A query error will be reported if the proper protocol for reading a query is not followed. This includes the interrupted and unterminated conditions described in the following paragraphs. Message Communication and System Functions HP 16528/1653B Programming Reference...

  • Page 358: Syntax Overview

    The < PMT > also affects command tree traversal (see the Programming and Documentation Conventions chapter). 3. Multiple data parameters are separated by a comma., HP 16528/1653B Message Communication and System Functions Programming Reference...

  • Page 359

    5. The header MACHINEl:ASSIGN 2,3 is an example of a compound header. It places the parser in the machine subsystem until the 6. A colon preceding the command header returns you to the top of the command tree. Message Communication and System Functions HP 16528/16538 Programming Reference...

  • Page 360

    < p r o g r a m data> TRIGGER < p r o g r a m message S P <NL> DELAY < s u f f i x program Figure A-l. < program message > Parse Tree HP 16628/1653B Message Communication and System Functions Programming Reference...

  • Page 361

    > is used by several instrument listening components of the syntax. It is usually optional, and can be used to increase the readability of a program. Figure A-2. <white space > Message Communication and System Functions HP 16528/1653B Programming Reference...

  • Page 362

    Refer to “Tree Traversal Rules” in the “Programming and Documentation Conventions,” chapter 4 for more details. Figure A-3. c program message > container for individual commands within a < program message Figure A-4. <program message unit > HP 16!52B/l653B Message Communication and System Functions Programming Reference...

  • Page 363

    Figure A-5. c command message unit Figure A-6. <query message unit > HP 16528/16538 Message Communication and System Functions Programming Reference A-10...

  • Page 364

    message unit > s, or individual commands. A-7. Figure elements serve as the headers of commands or queries. They represent the action to be taken. A-8. Figure Message Communication and System Functions A-11...

  • Page 365

    Where c simple command program header > is defined as Where <compound command program header> is defined as Where < common command program header > is defined as where <program mnemonic > is defined as < d i g i t > Where <...

  • Page 366

    < p r o g r a m Where -C compound query program header > is defined as Where < common query program header > is defined as Figure A-9. <query program header > HP 16528/1653B Message Communication and System Functions Programming Reference A-13...

  • Page 367

    The HP 1652B/1653B will accept the following data types: < character program data > , -Z decimal numeric program data >, < suffi program data > , <string program data > , and <arbitrary block program data > .

  • Page 368

    Where c optional digits > is defined as Where < exponent > is defined as Figure A-12. c decimal numeric program data HP 16628/16536 Message Communication and System Functions Programming Reference A-15...

  • Page 369

    Figure A-13. <suffix program data > are shown in table A-l. Table A-l. <suffix mutt> Value Mnemonic table A-2. Table A-2. < suffix unit > Message Communication and System Functions HP 16528/1653B A-16 Programming Reference...

  • Page 370

    Where c inserted “> is defined as a single ASCII character with the value 22 (34 decimal). Where <non-double quote char > is defined as a single ASCII character of any value except 22 (34 decimal) Figure A-14. <string program data > Message Communication and System Functions HP 16628/l 6538 A-17 Programming Reference...

  • Page 371

    Where < &bit byte > is defined as an &bit byte in the range 00 - FF (0 - 255 decimal). Figure A-15. c arbitrary block program data > parameters of a command from one another. Figure A-16. < program data separator > Message Communication and System Functions HP 16528/1663B A-16 Programming Reference...

  • Page 372

    The -C PMT > also resets the parser to the root of the command tree. Figure A-18. < program message terminator > HP 16528/1653B Message Communication and System Functions Programming Reference...

  • Page 373

    < r e s p o n s e data> < r e s p o n s e header> TWAVEFORM:DELAY <response mnemonic> DELAY Figure A-19. <response message > Tree HP 16528/1653B Message Communication and System Functions A-20 Programming Reference...

  • Page 374

    Typically a < query message unit > will generate one < response message unit >, although a < query message unit > may generate multiple c response message unit > s. indicates what the response data represents. HP 16528/1653B Message Communication and System Functions A-21’...

  • Page 375

    Where < common response header Y defined as Figure A-21. <response message unit > HP 16528/1653B Message Communication and System Functions Programming Reference A-22...

  • Page 376

    These types include: < character response data >, < nrl numeric response data > , length arbitrary block response data data > . Figure A-22. =z character response data > HP 165218/16538 Message Communication and System Functions Programming Reference A-23...

  • Page 377

    < d i g i t > Figure A-23. < nrl numeric response data > Figure A-24. < nr3 numeric response data z- Figure A-25. < string response data > Message Communication and System,Functions A-24 Programming Reference...

  • Page 378

    MESSAGE > . It is only sent once with the last byte of the indefinite block data. The NL is present for consistency with the data format is not supported in the HP 1652BD653B. Figure A-27. <arbitrary ASCII response data >...

  • Page 379

    Figure A-29. < response header separator Figure A-30. <response message unit separator > (NL) terminates a complete < response message > . It should be read from the instrument along with the response itself. Message Communication and System Functions HP 16528/1653B A-26 Programming Reference...

  • Page 380: Common Commands

    Event Status Enable Query Event Status Register Query *ESR? *IDN? Identification Query Operation Complete Command Operation Complete Query *RST Reset (not implemented on HP 1652B/1653B) *SRE Service Request Enable Command *SRE? Service Request Enable Query *STB? Read Status Byte Query Wait-to-Continue Command...

  • Page 381

    The “*CLS’ command clears all event registers and all queues except the output queue. If “*CL!!?’ is sent immediately following a c program message terminator > , the output queue will also be cleared. HP 1052Bll553B Status Reporting...

  • Page 382

    S T A T U S B Y T E S E R V I C E R E Q U E S T ENABLE R E G I S T E R Figure B-l. Status Byte Structures and Concepts Status Reporting HP 16528/16538...

  • Page 383: Event Status Register

    MSG - message. Indicates whether there is a message in the message q u e u e . PON - power on. Indicates power has been turned on. URQ - user request. Always 0 on the HP 1652B/1653B. CME - command error. Indicates whether the parser detected an error. Note d The error numbers and/or strings for CME, EXE, DDE, and QYE can be read from a device defined queue (which is not part of 488.2) with the...

  • Page 384

    QYE - query error. Indicates whether the protocol for queries has been violated. RQC - request control. Always 0 on the HP 1652B/1653B. OPC - operation complete. Indicates whether the device has completed all pending operations. OPC is controlled by the *OPC common command.

  • Page 385

    Status Byte are not be cleared by reading them. Only the RQS bit is cleared when read. The Status Byte is cleared with the *CLS common command. SUMMARY MESSAGES- SERVICE REOUEST STATUS BYTE REGISTER GENERATION SERVICE REOUEST ENABLE REGISTER Figure B-2. Service Request Enabling HP 16628/16538 Status Reporting Programming Reference...

  • Page 386

    This example will show how to use the service request by conducting a serial poll of ah instruments on the HP-IB bus. In this example, assume that there are two instruments on the bus; a Logic Analyzer at address 7 and a printer at address 1.

  • Page 387

    After the serial poll is completed, the RQS bit in the HP 1652B/1653B Status Byte Register will be reset if it was set. Once a bit in the Status...

  • Page 388

    The *PRE command is used to write to the enable register and the *PRE? query is used to read the register. The *IST? query can be used to read the “ist” without doing a parallel poll. Status Reporting HP 18528/1853B...

  • Page 389

    D E V I C E D E F I N E D D E V I C E D E F I N E D CONDITIONS 1 2 I 11 I10 T 11 Figure B-3. Parallel Poll Data Structure HP 16528/1653B Status Reporting Programming Reference...

  • Page 390: Configuring Parallel Poll Responses

    Configuring Parallel Certain devices, including the HP 1652B/1653B, can be remotely Poll Responses programmed by a controller to respond to a parallel poll. A device which is currently configured for a parallel poll responds to the poll by placing its current status on one of the bus data lines.

  • Page 391: Disabling Parallel Poll Responses

    If no primary address is specified, all bus devices are disabled from responding to a parallel poll. If a primary address is specified, only the specified devices (which have the parallel poll configure capability) are disabled. HP 1652~/1653B Status Reporting B-l 1...

  • Page 392: Hp-ibcommands

    Parallel Poll Enable Command. The parallel poll enable secondary command (PPE) configures the devices which have received the PPC command to respond to a parallel poll on a particular HP-IB DIO line with a particular level. Parallel Poll Disable Command. The parallel poll disable secondary command (PPD) disables the devices which have received the PPC command from responding to the parallel poll.

  • Page 393: Error Messages

    Error Messages This section covers the error messages that relate to the HP 1652B/53B Logic Analyzers. Device 200 Label not found Dependent Errors 202 Qualifier invalid 203 Data not available 300 RS-232C error Error Messages HP 16526/16538 Programming Reference...

  • Page 394

    -130 Non numeric argument error (character,string, or block) -131 Wrong data type (character expected) -132 Wrong data type (string expected) -134 Data overflow (string or block too long) -142 Too many arguments -143 Argument delimiter error -144 Invalid message unit delimiter HP 16528116638 Error Messages...

  • Page 395

    -240 Mass Memory error (generic) -241 Mass storage device not present -242 No media -243 Bad media -244 Media full -245 Directory full -246 File name not found -247 Duplicate file name -248 Media protected Error Messages HP 16528/16538 Programming Reference c - 3...

  • Page 396

    -312 RAM data loss (software error) -313 Calibration data loss -321 ROM checksum -322 Hardware and Firmware incompatible -330 Power on test failed -340 Self Test failed -350 Too Many Errors (Error queue overflow) HP 1652B/1653B Error Messages Progremming Reterence...

  • Page 397

    Query Errors -400 Query Error (generic) -410 Query INTERRUPTED -420 Query UNTERMINATED -421 Query received. lndeftite block response in progress -422 Addressed to Talk, Nothing to Say -430 Query DEADLOCKED Error Messages HP 165218/16538...

  • Page 398

    7-S Analyzer 1 Data Information 6-9 chart display 15-l Analyzer 2 Data Information 6-11 Clear To Send (CTS) Angular brackets 4-3 Arguments ARM command/query 10-4 CME B-3 ASCII Format 26-S Combining commands l-5 HP 16628/l 6628 index-l Programming Reference...

  • Page 399

    N A M E 10-7 2 2 - 5 OTAG 13-15 COPY 7-6, 16-5 PACK 7-11 D A T A 6-5,16-6 DSP 6-W 26-13 E D G E 1 8 - 6 FIND 12-8 Run Control 6-l l-12,6-22 Index-2 HP 16528/1552B Programming Reference...

  • Page 400

    DATA query 13-8 Common commands l-5,4-4,5-1, A-27 Data Set Ready (DSR) Communication Data Terminal Equipment 3-l Data Terminal Ready (DTR) 3-3 D C E 3 - l Complex qualifier 12-7 D C L 2 - 3 HP 16528/16528 Index-3 Programming Reference...

  • Page 401

    Host language l-3 Enter statement l-2 HP-IB 2-1, B-6 Error messages C-l HP-IB commands B-12 ESB B-3 HP-IB device address 2-2 Event Status Register B-3 HP-IB interface 2-l E X E B - 4 HP-IB interface code 2-2 Execution errors C-3...

  • Page 402

    Instruction terminator l-9 Instructions command/query 6-27 Lowercase Interface capabilities 2-1 RS-232C 3-5 Interface clear 2-3 Interface code HP-IB 2-2 Machine selector 10-3 Interface select code Internal errors C-4 MAV B-3 MENU command/query 6-28 MESE command/query 6-29 MESR query 6-31- 6-32...

  • Page 403

    OTAG command/query U-15 Program message A-9 Program message syntax l-2 Output buffer l-6 Program message terminator l-9 Output command 1-3 Program syntax 1-2 Output queue A-2 Programming conventions 4-3 OUTPUT statement l-2 Protocol 3-5, A-3 Index-6 HP 16628/16626 Programming Reference...

  • Page 404

    Accumulate 14-4,15-4,19-6 ALL 27-5 A R M 10-4 O T A G U-15 1 8 - 9 D A T A 6-5,13-8,16-6,26-9 E D G E 1 8 - 6 F I N D 12-8,16-8 Index-7 HP 16528/1652B Programming Reference...

  • Page 405

    V P P 27-l!> Responses 1-12 12-14 - 12-15 V T O P 27-20 26-17 Root 4-4 R Q C B - 4 RQS B-3 RS-232C 3-1,3-6, A-l Run Control Commands 6-l 26-19 16-11.19-17 - 19-18 XTAG 13-27 index-6 HP 16528/1662B Programming Reference...

  • Page 406

    Square brackets 4-3 State data SYMBol selector 20-3 with either time or state tags 6-12 SYMBol Subsystem 20-l without tags 6-12 syntax A-8 Status l-17,5-2, B-l Syntax diagram Status byte B-5 Status registers 1-17 Status reporting B-l HP 16528/1662B Index-9 Programming Reference...

  • Page 407

    V T O P 27-20 TERM command/query 12-21- 12-22 Terminator 1-9, A-26 TFORmat selector 17-2 TFORmat Subsystem 17-1 Three-wire InI erface 3-2 Threshold command/query 11-l&17-6 waveform Timing Glitch Data 6-14 record 26-3 White space Index-l 0 HP 16628/1652B Programming Reference...

  • Page 408

    WORD Format 26-5 13-23 - 13-24,19-26 - query 26-19 XTAG command/query 13-27 xxx 4-3, 4-5 XXX (meaning of) 1-3 query 26-22 Index-l 1 HP 1652)3/l 6528 Programming Reference...

This manual also for:

Hp 1653b

Comments to this Manuals

Symbols: 0
Latest comments: