background image

Programming Reference

HP 

 1651 B Logic Analyzers

HEWLETT

PACKARD

@Copyright Hewlett-Packard Company 1989

Manual Number 0165040913

Printed in the U.S.A. August 1989

Summary of Contents for 1650B

Page 1: ...Programming Reference HP 1650B HP 1651 B Logic Analyzers Em HEWLETT PACKARD Copyright Hewlett Packard Company 1989 Manual Number 0165040913 Printed in the U S A August 1989 ...

Page 2: ......

Page 3: ...y service the Buyer shall prepay shipping charges to Hewlett Packard and Hewlett Packard shall pay shipping charges to return the product to the Buyer However the Buyer shall pay all shipping charges duties and taxes for products returned to Hewlett Packard from another country Hewlett Packard warrants that its software and firmware designated by Hewlett Packard for use with an instrument will exe...

Page 4: ...rvice Office Certification Hewlett Packard Company certifies that this product met its published specifications at the time of shipment from the factory Hewlett Packard further certifies that its calibration measurements are traceable to the United States National Bureau of Standards to the extent allowed by the Bureau s calibration facility and to the calibration facilities of other International...

Page 5: ... reprinting unless it appears as a prior update the edition does not change when an update is incorporated A software code may be printed before the date this indicates the version level of the software product at the time of the manual or update was issued Many product updates and fLves do not require manual changes and conversely manual corrections may be done without accompanying product change...

Page 6: ... any page changed since the last edition will have the date the changes were made printed on the bottom of the page If an update is incorporated when a new edition of the manual is printed the change dates are removed from the bottom of the pages and the new edition date is listed in Printing History and on the title page Pages Effective Date All August 1989 ...

Page 7: ...ate Keywords 1 6 Query Usage l 7 Program Header Options 1 8 Parameter Syntax Rules l 8 Instruction Terminator l 10 Selecting Multiple Subsystems l 10 Programming an Instrument l 11 InitiaIization l 11 Example Program 1 12 Program Overview 1 12 Receiving Information from the Instrument l 12 Response Header Options l 13 Response Data Formats 1 14 String Variables l l 5 Numeric Base 1 16 Numeric Vari...

Page 8: ...hree Wire Interface with Software Protocol 3 2 Extended Interface with Hardware Handshake 3 3 Cable Example 3 4 Configuring the Instrument Interface 3 5 Interface Capabilities 3 5 Protocol 3 5 Data Bits 3 6 Communicating Over the RS 232C Bus HP 9000 Series 200 3OO Controller 3 6 Lockout Command 3 7 Chapter 4 Programming and Documentation Conventions Introduction 4 1 Truncation Rule 4 l Infinity Re...

Page 9: ... 5 9 RST 5 10 SRE 5 11 sTB 5 13 wAI 5 15 Chapter 6 System Commands Introduction 6 l ARMBnc 6 4 DATA 6 5 Section Header Description 6 8 Section Data 6 8 Data Preamble Description 6 8 Acquisition Data Description 6 11 DSP 6 18 ERRor 6 19 HEADer 6 U KEY 6 21 LER 6 23 LOCKout 6 2 4 LONGform 6 25 MENU 6 26 MESE 6 27 MESR 6 29 PPOWer 6 3 1 PRINt 6 3 2 HP lSSOB HP 1651B Programming Reference Contents 3 ...

Page 10: ...DOWNload 7 7 INITiaIize 7 8 LOAD 7 9 LOAD 7 10 PACK 7 11 PURGe 7 12 REName 7 13 STORe 7 14 UPLoad 7 15 Chapter 8 DLlSt Subsystem Introduction 8 1 DLISt 8 2 COLumn 8 3 LINE 8 5 Chapter 9 WLlSt Subsystem Introduction 9 l WLISt 9 2 OSTate 9 3 XSTate 9 4 OTIMe 9 5 XTIMe 9 6 Contents 4 HP 1650B HP 16518 Programming Reference ...

Page 11: ...ystem Introduction ll 1 SFORmat ll 3 CLOCk 11 4 CPERiod ll 5 LABel ll 6 MASTer ll 8 REMove ll 9 SLAVe ll 10 THReshold ll 11 Chapter 12 STRace Subsystem Introduction 12 1 STRace 12 4 BRANch 12 5 FIND 12 8 PREStore 12 10 RANGe 12 12 RESTart l2 14 SEQuence l2 16 STORe 12 17 TAG 12 19 TERM 12 21 HP 1650B HP 1651B Programming Reference Conter s 5 ...

Page 12: ...te 13 14 OTAG 13 15 RUNTiI 13 16 TAVerage 13 18 TMAXimum 13 19 TMINiium 13 20 VRUNs 13 2 1 XOTag 13 22 XPATtern 13 23 XSEarch 13 25 XSTate Es 26 XTAG 13 27 Chapter 14 SWAVeform Subsystem Introduction 14 1 SWAVeform 14 3 Accumulate 14 4 DELay 14 5 INSert 14 6 RANGe 14 7 REMove 14 8 Contents 6 HP 1650B HP 1651B Programming Reference ...

Page 13: ... COMPare 16 3 CMASk 16 4 COPY 16 5 DATA 16 6 FIND 16 8 RANGe 16 9 RUNTiI 16 10 Chapter 17 TFORmat Subsystem Introduction 17 l TFORmat 17 2 LABel 17 3 REMove 17 5 THReshold 17 6 Chapter 18 mRace Subsystem Introduction 18 1 lTRace 18 3 AMODe 18 4 DURation 18 5 EDGE 18 6 GLITch 18 8 PATTern 18 9 HP 1650B HP 16518 Programming Reference Contents 7 ...

Page 14: ...13 OTIMe 19 14 RANGe 19 15 REMove 19 16 RUNTil 19 17 SPERiod 19 19 TAVerage 19 20 TMAXimum 19 21 TMINiium 19 22 VRUNs 19 23 XCONdition 19 24 XOTime 19 2 5 XPATtern 19 26 XSEarch 19 28 XTIMe 19 2 9 Chapter 20 SYMBol Subsystem Introduction 20 l SYMBol 20 3 BASE 4 PATTern 2O 5 RANGe 2O 6 REMove 20 7 WIDTh 20 8 Contents 8 HP 1650B HP 16518 Programming Reference ...

Page 15: ...Introduction B l Event Status Register B 3 Service Request Enable Register B 3 Bit Definitions B 3 Key Features B 4 Serial Poll B 6 Using Serial Poll HP IB B 6 Parallel Poll B 8 Polling HP IB Devices B 10 Configuring Parallel Poll Responses B 10 Conducting a Parallel Poll B 11 Disabling Parallel Poll Responses B 11 HP IB Commands B 12 Appendix C Error Messages Device Dependent Errors C l Command E...

Page 16: ......

Page 17: ...ty of your programs and the tasks they accomplish are limited only by your imagination This programming reference is designed to provide a concise description of each instruction Chapter 1 is divided into two sections The first section pages 2 10 concentrates on program syntax and the second section pages 11 17 discusses programming an instrument Read either chapter 2 Progr amming Over HP IB or ch...

Page 18: ...s in this manual are presented in BASIC The following BASIC statement sends a command which causes the HP 1650B 51B s machine 1 to be a state analyzer OUTPUT XXX MACHINEl TYPE STATE terminator Each part of the above statement is explained in the following pages instruction Syntax To program the instrument remotely you must have an understanding of the command format and structure expected by the i...

Page 19: ... queries normally appear as a string embedded in a statement of your host language such as BASIC Pascal or C The only time a parameter is not meant to be expressed as a string is when the instruction s syntax definition specifies c block data There are only five instructions which use block data Instructions are composed of two main parts The header which specifies the command or query to be sent ...

Page 20: ...hether a function should be on or off which waveform is to be displayed or which pattern is to be looked for Each instruction s syntax definition shows the parameters as well as the values they accept This chapter s Parameter Syntax Rules section has all of the general rules about acceptable values When an instruction has more than one parameter they are separated by commas You are allowed to incl...

Page 21: ...r example SYSTEM LONGFORM ON To traverse down a level of a subsystem to execute a subsystem within that subsystem c subsystem z subsystem c function z white space c data terminator For example MMEMORY LOAD CONF IG FILE Common Command Header Common command headers control IEEE 488 2 functions within the instrument such as clear status etc Their syntax is z command header z terminator No space or se...

Page 22: ...ion keywords can be used for more than one subsystem For example the function keyword MMODE may be used to specify the marker mode in the subsystem for state listing or the timing waveforms SLIST MMODE PATTERN sets the marker mode to pattern in the state listing TWAVEFORM MMODE TIME sets the marker mode to time in the timing waveforms SLIST and TWAVEFORM are subsystem selectors and determine which...

Page 23: ...nd places it in the variable Range Query commands are used to find out how the instrument is currently configured They are also used to get results of measurements made by the instrument For example the command MACHINE1 lWAVEFORM XOTIME instructs the instrument to place the X to 0 time in the output queue p Note ti F The output queue must be read before the next program message is sent or example ...

Page 24: ... activity I The rules for shortform syntax are shown in chapter 4 Programming and Note d Documentation Conventions Parameter Syntax There are three main types of data which are used in parameters They Rules are numeric string and keyword A fourth type block data is used only for five instructions the DATA and SETup instructions in the SYSTem subsystem see chapter 6 and the CATalog UPLoad and DOWNl...

Page 25: ...ld send a byte representing the ASCII code for the character 9 which is 57 or 00111001 in binary A three digit number like 102 would take up three bytes ASCII codes 49 48 and 50 This is taken care of automatically when you include the entire instruction in a string String data String data may be delimited with either single or double quotes String parameters representing labels are case sensitive ...

Page 26: ...Multiple You can send multiple program commands and program queries for Subsystems different subsystems on the same line by separating each command with a semicolon The colon following the semicolon enables you to enter a new subsystem For example instruction header data c instruction header data c terminator MACHINEl ASSIGN2 SYSTEM HEADERS ON I Note d Multiple commands may be any combination of s...

Page 27: ...send it After clearing the interface load a predefmed configuration file from the disk to preset the instrument to a known state For example OUTPUT XXX MMEMORY LOAD CONFIG DEFAULT This BASIC statement would load the configuration file DEFAULT if it exists into the HP 1650B 51B Refer to the chapter MMEMoG Subsystem for more information on the LOAD command Note d Refer to your controller manual and ...

Page 28: ...the file TEST E one time Receiving Information After receiving a query command header followed by a question mark from the instrument the instrument interrogates the requested function and places the answer in its output queue The answer remains in the output queue until it is read or another command is issued When read the message is transmitted across the bus to the designated listener typically...

Page 29: ...he data that follows the parameters and is controlled by issuing a SYSTEM HEADER ON OFF command If the state of the header command is OFF only the data is returned by the query The format of the header is controlled by the SYSTEM LONGFORM ON OFF command If longform is OFF the header will be in its shortform and the header will vary in length depending on the particular query The separator between ...

Page 30: ...s in the data are returned in the same format as the header as specified by the LONGform command Like the headers the keywords will always be in upper case The following are possible responses to the MACHINEl TFORMAT LAB ADDR query MACHINE1 TFORMAT LABEL ADDR 19 POSITIVEc terminator Header on Longform on MACHl TFOR lAB ADDR 19 POScterminator z Header on Longform off ADDR 19 POSITIVE4erminator Head...

Page 31: ... positive 40 OUTPUT XXX Machine SFORMAT LABEL WAN 1 POS 50 OUTPUT XXX Machine SFORMAT LABEL CHAN 2 POS 60 OUTPUT XXX Machine SFORMAT LABEL OUT POS 99 END If you want to observe the headers for queries you must bring the returned data into a string variable Reading queries into string variables requires little attention to formatting For example ENTER XXX Result places the output of the query in th...

Page 32: ...he returned numeric data then the value is in the decimal base Numeric Variables If your host language can convert from ASCII to a numeric format then you can use numeric variables Turning off the response headers will help you avoid accidently trying to convert the header into a number The following example shows logic analyzer data being returned to a numeric variable 10 OUTPUT XXX SYSTEM HEAOER...

Page 33: ...zero digit is the decimal integer that states the number of g bit data bytes being sent This is followed by the actual data For example for transmitting 80 bytes of data the syntax would be NUMBER OF DIGITS THAT FOLLOW ACTUAL DATA 800000080 elghty b y t e s o f data terminator NUMBER OF BYTES TO BE TRANSMITTED Figure 1 3 Definite length Block Response Data The 8 states the number of digits that fo...

Page 34: ...d be SYSTEM HEADER 1 SYSTEM LONGFORM 1 If you do not need to see the headers when the numeric values are returned then you could use following program message to read the query SYSTEM HEADERS LONGFORM into multiple numeric variables ENTER XXX Resultl Result2 Note rl d When you are receiving numeric data into numeric variables the headers should be turned off Otherwise the headers may cause misinte...

Page 35: ... and E2 Command and The HP IB has two modes of operation command mode and data mode Data Concepts The bus is in command mode when the ATN line is true The command mode is used to send talk and listen addresses and various bus commands such as a group execute trigger GET The bus is in the data mode when the ATN line is false The data mode is used to convey device dependent messages across the bus T...

Page 36: ... following is true l Each device on the HP IB resides at a particular address ranging from 0 to 30 l The active controller specifies which devices will talk and which will listen l An instrument therefore may be talk addressed listen addressed or unaddressed by the controller If the controller addresses the instrument to talk it will remain configured to talk until it receives an interface clear m...

Page 37: ...face The default is always 7 for HP IB controllers Instrument Address Selects Instrument Each instrument on the HP IB port must have a unique instrument address between decimal 0 and 30 The device address passed with the program message must include not only the correct instrument address but also the correct interface select code DEVICE ADDRESS Interface Select Code X 100 Instrument Address For e...

Page 38: ...ower switch are entirely locked out Local control can only be restored by the controller I Note 3 Cycling the power will also restore local control but this will also reset certain HP IB states Programming Over HP IB 2 4 The instrument is placed in remote mode by setting the REN Remote Enable bus control line true and then addressing the instrument to listen The instrument can be placed in local l...

Page 39: ...evice clear SDC commands clear the input and output buffers reset the parser clear any pending commands and clear the Request OPC flag The group execute trigger command will cause the same action as the START command for Group Run the instrument will acquire data for the active waveform and listing display s This command halts all bus activity This includes unaddressing all listeners and the talke...

Page 40: ......

Page 41: ...ctly between two DTE Data Terminal Equipment devices as compared to operating between a DTE device and a DCE Data Communications Equipment device When operating directly between two DTE devices certain considerations must be taken into account For three wire operation XON XOFF must be used to handle protocol between the devices For extended hardwire operation protocol may be handled either with XO...

Page 42: ...devices since you can ignore hardware handshake requirements The HP 1650B 51B uses the following connections on its RS 232C interface for Protocol three wire communication l Pin 7 SGND Signal Ground l Pin 2 TD Transmit Data from HP 1650B 51B l Pin 3 RD Receive Data into HP 1650B 51B The TD Transmit Data line from the HP 1650B 51B must connect to the RD Receive Data line on the controller Likewise ...

Page 43: ...from the HP 1650B 51B which can be used to control incoming data flow l Pm 5 CTS Clear To Send is an input to the HP 1650B 51B which controls data flow from the HP 1650B 51B l Pm 6 DSR Data Set Ready is an input to the HP 1650B 51B which controls data flow from the HP 1650B 51B within two bytes l Pin 8 DCD Data Carrier Detect is an input to the HP 1650B 51B which controls data flow from the HP 165...

Page 44: ...ntroller A low on any one of these lines will disable the HP 1650B 5lB data transmission Dropping the CTS Iine low during data transmission wiII stop HP 1650B 51B data transmission immediately Dropping either the DSR or DCD line low during data transmission will stop HP 1650B 51B data transmission but as many as two additional bytes may be transmitted from the HP 1650B 51B Cable Example Figure 2 l...

Page 45: ...ata Bits 8 Protocol NONE With a three wire interface selecting NONE for the protocol does not ahow the sending or receiving device to control data flow No control over the data flow increases the possibility of missing data or transferring incomplete data With an extended hardwire interface selecting NONE allows a hardware handshake to occur With hardware handshake hardware signals control data fl...

Page 46: ...2C voltage levels and connector pinouts refer to the HP 165OBfHP 165IB Service Manual COfTlmUtlka it l Each RS 232C interface card has its own interface select code This code Over the is used by the controller to direct commands and communications to the RS 232C Bus proper interface by specifying the correct interface code for the device address HP 9000 Series 200 300 Generally the interface selec...

Page 47: ... entirely locked out Local control can only be restored by sending the command LOCKout OFF For more information on this command see the chapter System Commands in this manual rfi Note Cycling the power will also restore local control but this will also reset certain RS 232C states HP 1650B HP 1651B Programming Over RS 232C Programming Reference 3 7 ...

Page 48: ......

Page 49: ...meters is If the longform has four or fewer characters there is no change in the shortform Otherwise the shortform is the first four characters of the keyword unless the fourth character is a vowel If so the shortform uses only the first three characters of the keyword Some examples of how the truncation rule is applied to various commands are shown in table 4 l Table 4 l Keyword Truncation I L OI...

Page 50: ...B will buffer responses to a query when it is parsed Syntax Diagrams At the beginning of each of the following chapters are syntax diagrams showing the proper syntax for each command All characters contained in a circle or oblong are liter and must be entered exactly as shown Words and phrases contained in rectangles are names of items used with the command and are described in the accompanying te...

Page 51: ... For example A I B indicates A or B but not both An ellipsis trailing dots is used to indicate that the preceding element may be repeated one or more times Square brackets indicate that the enclosed items are optional When several items are enclosed by braces and separated by 1s one and only one of these elements must be selected Three Xs after an ENTER or OUTPUT statement represent the device add...

Page 52: ...on commands are independent of the tree and do not affect the position of the parser within the tree CLS and RST are examples of common commands Tree Traversal Rules Command headers are created by traversing down the command tree For each group of keywords not separated by a branch one keyword must be selected As shown on the tree branches are always preceded by colons Do not add spaces around the...

Page 53: ...scRlPTIoN or OUTPUT XXX MMEMORY INITIALIZE OUTPUT XXX MMEMORY STORE FILE FILE DESCRIPTION In the first line of example 2 the subsystem selector is implied for the STORE command in the compound command The STORE command must be in the same program message as the INITIALIZE command since the c program message terminator will place the parser back at the root of the command tree A second way to send ...

Page 54: ...ISt I COLumn DATA LINE I AkM ASSign AUTOscale NAME TYPE I SYMBOL I I BRANch BASE FIND PATTern PRE3ol e RANGe RANGe REMoVe RESTart WIDTh SEQuence SI ORe T A G TERM SWAVeform I Accumulate DEW INSMt MMODe OPATtem OSEarch OSTate OTAG RUNTil TAVerage TMAXimum TMINimum VRUNs XOTag XPATtem XSEarch XSTate XTAG XTIMe R A N G e REMOVC TFORMat I LABel REMoVe THReshold TIRace I AMODe DURation EDGE GLITch PATT...

Page 55: ...YSTem iEi on TV agform SWAVeform E SFORmat TTRace TWAVeform FIRE SYSTem Rizd COMPare STRace STOP s Ei GLITch Ez STORe Race HAXis STORe CONfig MMEMory HE x SYSTem TAG STRace p llz MMEMory s form SWAVeform iEge t AVeform Eel THReshold SFORmat TFORmat SFORmat TFORmat DLISt SLtSt WLISt TMA iIIlm SLISt TWAVeform kb IASSembler MMEkory Ern ES2HyeAVeform kgg t3NFig kFeFry yz d c z o y Ol rn SYSTem VRUNs i...

Page 56: ...tem may be selected at a time At power on the command parser is set to the root of the command tree and therefore no subsystem is selected The 15 subsystems in the HP 1650B 51B are SYSTem controls some basic functions of the instrument MMEMory provides access to the internal disk drive DLISt allows access to the dual listing function of two state analyzers WLISt allows access to the mixed timing s...

Page 57: ...ll letters may be mixed freely System commands like HEADer and LONGform allow you to dictate what forms the responses take but have no affect on how you must structure your commands and queries The following commands all set Timing Waveform Delay to 100 ms l keywords in longform numbers using the decimal format OUTPUT XXx MACHINEl TWAVEFORM DELAY l l keywords in shortform numbers using an exponent...

Page 58: ......

Page 59: ...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 For example if the instruction MMEMORY INITIALIZE CLS STORE FILE DESCRIPTION is received by the instrument the instrument will initialize the disk and store the file and clear the status information This would not be the case i...

Page 60: ...other status registers Refer to appendix B for a complete discussion of how to read the status registers and how to use the status information available from this instrument Refer to figure 5 l for the common commands syntax diagram mask An integer 0 through 255 77zis number is the sum of all the bits in the mask corresponding to conditions that are enabled Refer to the ESE and SRE commands for bi...

Page 61: ... defined error queue If the CLS command immediately follows a z terminator the output queue and the MAV Message Available bit will be cleared Command Syntax l CLS Example OUTPUT XXX CLS Note d Refert o Appendix B for a complete discussion of status HP 1650B HP 16518 Programming Reference Common Commands 5 3 ...

Page 62: ... l for information about the Standard Event Status Enable Register bits bit weights and what each bit masks The ESE query returns the current contents of the enable register ci Note u Refer to Appendix B for a complete discussion of status Command Syntax ESE mask where c mask integer from 0 to 255 Example OUTPUT XXX ESE3 2 In this example the ESE 32 command will enable CME Command Error bit 5 of t...

Page 63: ... 6 l Standard Event Status Enable Register Bit Weight Enables 7 128 PON Power On 6 64 URQ User Request 5 32 CME Command Error 4 16 EXE Execution Error 3 8 DDE Device Dependent Error 2 4 QYE Query Error 1 2 RQC Request Control 0 1 OPC Operation Complete High enables the ESR bit HP 1650B HP 1651B Programming Reference Common Commands 5 5 ...

Page 64: ...XXX ESR 30 ENTER XXX Esr event 40 PRINT Esr event 50 END With the example if a command error has occurred the variable Esr event will have bit 5 the CME bit set Table 5 2 shows the Standard Event Status Register The table shows each bit in the 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 ...

Page 65: ...always zero 0 no command errors 1 a command error has been detected 0 no execution errors 1 an execution error has been detected 0 no device dependent errors 1 a device dependent error has been detectec 0 no query errors 1 a query error has been detected 0 request control NOT used always 0 0 operation is not complete 1 operation is complete 0 False Low 1 True High HP 1650B HP 16518 Programming Ref...

Page 66: ...st be the last query in a message Any queries after the IDN in the program message will be ignored Query Syntax IDN Returned Format HNVLETT PACKARD 1650B O REV revision code where c revision code fourdigit code representing ROM revision Campk 10 DIM Id 1001 20 OUTPUT XXX IDN 30 ENTER XXX Id 40 PRINT Id 50 END r Common Commands HP 1650B HP 16518 S 8 Programming Reference ...

Page 67: ... initiated by the Overlapped Command are still in progress The overlapped commands for the HP 1650B 51B are STAR STOP AUToscale The OPC query places an ASCII 1 in the output queue when all pending device operations have been completed The bus is deactivated when the query is sent and reactivated when the ASCII 1 is placed in the output queue Command Syntax l OPC Example OUTPUT XXX OPC Query Syntax...

Page 68: ... The changes include l System Configuration menu is brought up l Machine 1 is a timing analyzer with auto scale on l Machine 2 if off l Pod 1 is assigned to Machine 1 l Pods 2 3 and 4 are unassigned l Pod 5 is assigned to Machine 2 Command Syntax FIST Example OUTPUT XXX RST Common Commands 6 10 HP 1650B HP 16518 Programming Reference ...

Page 69: ...value for the bits to be enabled in the Status Byte Register A one in the Service Request Enable Register will enable the corresponding bit in the Status Byte Register A zero will disable the bit Refer to table 5 3 for the bits in the Service Request Enable Register and what they mask The SRE query returns the current value Refer to Appendix B for a complete discussion of status integer from 0 to ...

Page 70: ... ENTER XXX Sre value 40 PRINT Sre value 50 END Table 5 3 HP 1650B SlB Service Request Enable Register Bit Weight Enables 15 8 7 6 5 4 3 2 1 0 128 64 32 16 8 4 2 1 not used not used MSS Master Summary Status ESB Event Status MAV Message Available LCL Local not used not used MSB Module Summary Common Commands HP 1650B HP 16518 5 12 Programming Reference ...

Page 71: ...e device has at least one reason for requesting service Refer to table 5 4 for the meaning of the bits in the status byte l Note Refer to Appendix B for a complete discussion of status Query Syntax l STi3 Returned Format value c NL where value integer from 0 to 255 Example 10 DIM Stb value lOO 20 OUTPUT XXX STB 30 ENTER XXX Stb value 40 PRINT Stb value 50 END HP 1650B HP 16618 Programming Referenc...

Page 72: ...ng service 0 no event status conditions have occurred 1 an enabled event status condition has occured 0 no output messages are ready 1 an output message is ready 0 a remote to local transition has not occurred 1 a remote to local transition has occurred not used not used 0 HP 1650B 1651B has activity to report 1 no activity to report 0 False Low 1 True High Common Commands HP 1650B HP 1651B 5 14 P...

Page 73: ...queries 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 1650B 51B are STARt STOP AUToscale Command Syntax WAI Example OUTPUT XXX WAI HP 1650B HP 16518 Programming Reference Common Commands 5 15 ...

Page 74: ......

Page 75: ...cal Event Register LOCKout LONGform MENU MESE MESR PRINt SETup In addition to the system commands there is are three run control commands and a preprocessor power supply condition query These commands are 0 PPOWer l RMODe l STARt l STOP The run control commands can be called at anytime and also control the basic operation of the logic analyzer These commands are at the same level in the command tr...

Page 76: ...System Commands 6 2 Figure 6 l System Commands Syntax Diagram HP 1650B HP 1651B Programming Reference ...

Page 77: ...and the system for specific menu number definitions enable value integerfrom 0 to 255 index integerfrom 0 to 5 block data data in IEEE 488 2 fomtat string string of up to 60 alphanumen c characters Figure 6 l System Commands Syntax Diagram continued HP 1650B HP 16518 Programming Reference System Commands 6 3 ...

Page 78: ...out The ARMBnc query returns the source currently selected Command Syntax SYSTem ARMBnc MACHine 112 NONE Example OUTPUT XXX SYSTEM ARMBNC MACHINEI Query Syntax SYSTem ARMBnc Returned Format SYSTem ARMBnc MACHine 112 1NONE c NL Example 10 DIM Mode lOO 20 OUTPUT XXX ARMBNC 30 ENTER XXX Mode 40 PRINT Mode 50 END System Commands 6 4 HP 1650B HP 16518 Programming Reference ...

Page 79: ...short description is given for each part of the block data This is intended to be used primarily for processing of data in the controller Do not change the block data in the controller if you intend to send the block data back into the logic analyzer for later processing Changes made to the block data in the controller could have unpredictable results when sent back to the logic analyzer The SYSTe...

Page 80: ...block data parameter can be broken down into a block length specifier and a variable number of c section s The c block length specifier always takes the form 8DDDDDDDD Each D represents a digit ASCII characters 0 through 9 The value of the eight digits represents the total length of the block all sections For example if the total length of the block is 14522 bytes the block length specifier would ...

Page 81: ...otal length of a section is 16 for the section header plus the length ofth e section data So when calculating the value for length do not forget to include the length of the section headers QUety SyfltZtX SYSTem DATA Returned Format SYSTem DATA block data c NL HP IB Example HP 1650B HP 16518 Programming Reference 10 DIM Num Z Block 32000 allocate enough memory for block data 30 OUTPUT XXX EDI ON 4...

Page 82: ...the trace point occurred in the data which pods are assigned to which analyzer and other information Each 1Cbyte group is made up of two bytes 16 bits of status for 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 16510B Note I One analyzer s information is independent of the other analyzer s information In other wo...

Page 83: ...8 bytes are for Analyzer 1 Data Information 1 byte Machine data mode one of the following values 0 off 1 state data with either time or state tags 2 state data without tags 3 glitch timing data 4 transitional timing data 1 byte List of pods in this analyzer where a 1 indicates that the corresponding pod is assigned to this analyzer bit8 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 unused unused Pod 1...

Page 84: ... The number of 40 ns ticks that have taken place from the arm of this machine to the trigger of this machine A value of 1 all 32 bits set to 1 indicates counter overflow 1 byte Armer of this analyzer Indicates what armed this analyzer 1 RUN 2 BNC 3 other analyzer 1 byte Devices armed by this analyzer Bitmap of devices armed by this machine bit8 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 b i t unused unus...

Page 85: ...y occupy bytes 99 through 176 Acquisition Data The acquisition data section consists of 14336 bytes 1024 1Cbyte groups Description appearing in bytes 177 through 14512 The last ten bytes 145l 3 through 14522 are reserved The data contained in the data section wiII appear in one of four forms depending on the mode in which it was acquired as indicated in byte 21 for machine 1 and byte 99 for machin...

Page 86: ...Status Data Data Data Data Data Status Status Data Data Data Data Data Status Status Data Data Data Data Data Status Status Data Data Data The headings are not a part of the returned data Data Data Bit 2 is the Data vs Count bit Bit 3 is the Prestore vs Tag bit The two bits together show what the corresponding Information bytes represent Bit 3 Bit 2 Information bvte reoresentz 0 0 Acquisition Data...

Page 87: ...the exponent and the eleven least significant bits MMMMMMMMMMM store the mantissa The actual value for Count is given by the equation Count 204S mantissa X 2exponent 2048 Since the counts are relative counts from one state to the one previous the count for the first state in the data structure is invalid If time tagging is on the count value represents the number of 40 nanosecond ticks that have e...

Page 88: ...formation or glitch information Bit 1 is the Data vs Glitch bit If Bit 1 is set this row of information contains glitch information If Bit 1 is clear then this row contains actual acquisition data as obtained from the target system Information Bytes In the Glitch timing mode the target system is sampled at every sample period The data is then stored in memory and the glitch detectors are checked I...

Page 89: ...ition count information b ts 10 9 b ts 8 7 bits 6 5 bits 4 3 bits 2 1 Pkd5 Pkd4 Pod 3 Pod 2 Pod 1 Each pod uses two bits to show what is being represented in the corresponding Information bytes Bits 10 8 6 4 and 2 are set when the appropriate pod s Information bytes represent acquisition data When that bit is clear the next bit shows if the Information bytes represent the fust word of a count Toge...

Page 90: ...until a group of four samples is found which differs from the retained sample At this time the count wiIl be stored in the memory the counters reset the current data stored and the last sample of the four once again retained for comparison The stored count indicates the number of 40 ns intervals that have elapsed between the old data and the new data The rows of the acquisition data may therefore ...

Page 91: ...tatus Status Status Status Status Status Status Status Status Data Data Data Data Data Data Data Data Count Count Count Count Data Data Data Data Data Data Data Data count count count count Data Data Data Data Data Data Data Data Data Data Data Data count count count Count Data Data Data Data count count Count count Data Data Data Data Data Data Data Data Count Count Count Count Data Data Data Dat...

Page 92: ... string to a device depender t portion of the instrument display Command Syntax SYSTem DSP c string where c string string of up to 60 alphanumeric characters Example OUTPUT XXX SYSTEM OSP The message goes here System Commands b18 HP 1850B HP 18518 Programming Reference ...

Page 93: ... for the HP 1650B 51B is shown in appendix C If no errors are present in the error queue a zero is returned Query Syntax SYSTem ERFkx Returned Format SYSTem ERRor error n u m b e r cNL Example 10 OUTPUT XXX SYSTEM ERROR 20 ENTER XXX Error 30 PRINT Error 40 END HP 1650B HP 1651B Programming Reference System Commands 6 19 ...

Page 94: ...responses will include the command header The HEADer query returns the current state of the HEADer command SYSTem HEADer ON 1 OFFJO OUTPUT XXX SYSTEM HEADER ON SYSTem HEADer SYSTem HEADer llO c NL 10 DIM Mode lOO 20 OUTPUT XXX SYSTEM HEADER 30 ENTER XXX Mode 40 PRINT Mode 50 END Headers should be turned off when returning values to numeric variables Note System Commands 620 HP 1650B HP 16518 Progr...

Page 95: ...key returned at power up See Table 6 1 for key codes The external KEY buffer is only two keys deep therefore attempting to send KEY commands too rapidly will cause a KEY buffer overflow error to be displayed on the HP 1650B 51B screen The KEY query returns the key code for the last front panel key pressed or the last simulated key press over the bus Command Syntax SYSTem KEY C key code z where e k...

Page 96: ...1B Key Key Value 0 R U N 19 1 STOP 20 2 unused 21 3 SELECT 22 4 CHS 23 5 Don t Care 24 6 0 25 7 1 26 8 2 27 9 3 28 10 4 29 11 5 30 12 6 31 13 7 32 14 8 33 15 9 34 16 A 35 17 B 36 18 C 99 System Commands 6 22 HP1650B 16SlB Key D E F unused unused Knob left Knob right L R Roll U D Roll unused unused unused 1 11 Clear Entry FORMAT TRACE DISPLAY I O Power Up HP 1650B HP 16518 Programming Reference ...

Page 97: ...ared A one indicates a remote to local transition has taken place A zero indicates a remote to local transition has not taken place QUWy SylltaX SYSTem LER Returned Format SYSTem LER 01 l NL Example 10 DIM Event lOO 20 OUTPUT XXX SYSTEM LER 30 ENTER XXX Event 40 PRINT Event 50 END HP 1650B HP 16518 Programming Reference System Commands 6 23 ...

Page 98: ...his function is on all controls except the power switch are entirely locked out The LOCKout query returns the current status of the LOCKout command SYSTem LOCKout ON 1 OFF O OUTPUT XXX SYSTEM LOCKOUT ON S Y S T e m L O C K o u t SYSTem LOCKout Oil c NL 10 DIM Status lOO 20 OUTPUT XXX SYSTEM LOCKOUT 30 ENTER XXX Status 40 PRINT Status 50 END HP 165OB HP 1651B Programming Reference ...

Page 99: ...and has no affect on the input data messages to the instrument Headers and arguments may be input in either the longform or shortform regardless of how the LONGform command is set The query returns the status of the LONGform command Command Syntax SYSTem LONGform ON 11 1 OFFIO Example OUTPUT XXX SYSTEM LONGFORM ON Query Syntax SYSTem LONGform Returned Format SYSTem LONGform 1 IO c NL Example 10 DI...

Page 100: ...ig c mach num 0 11 12 I FORMat 1TRACe 1DlSPlay 1SWAVeform 1COMPare 1SCHarl ISLISt 0 mixed mode 1 analyzer 1 2 analyzer 2 Example OUTPUT XXX SYSTEM MENU FORMAT l Query Syntax SYSTem MENU Returned Format SYSTem MENU c menu type c math num Example 10 DIM Response loo 20 OUTPUT XXX SYSTEM MENU 30 ENTER XXX Response 40 PRINT Response 50 END System Commands 6 26 HP 1650B HP 16518 Programming Reference ...

Page 101: ...ponding bit in the MESR a zero will disable the bit The MESE query returns the current setting Refer to table 6 2 for information about the Module Event Status Enable register bits bit weights and what each bit masks for the logic analyzer Command Syntax SYSTem MESE enable mask where Z enable mask integer from 0 to 255 Example OUTPUT XXX SYSTEM MESE 1 HP 1650B HP 16518 Programming Reference System...

Page 102: ...T Mes 40 END Table 6 2 Module Event Status Enable Register Module Event Status Enable Register A 1 enables the MESR bit Bit Weight Enables 7 128 Not used 6 64 Not used 5 32 Not used 4 16 Not used 3 8 Not used 2 4 Not used 1 2 RNT Run until satisfied 0 1 MC Measurement complete System Commands 628 HP 1650B HP 16518 Programming Reference ...

Page 103: ...clears the Module Event Status Register Table 6 3 shows each bit in Module Event Status Register and their bit weights for the logic analyzer When you read the MESR the value returned is the total bit weights of all bits that are set at the time the register is read SYSTem MESR SYSTem MESR c status c NL integer from 0 to 255 10 OUTPUT XXX SYSTem MESR 20 ENTER XXX Mer 30 PRINT Mer 40 END System Com...

Page 104: ... 3 Module Event Status Register Module Event Status Register Bit Weight Condition 7 128 6 64 5 32 4 16 3 8 2 4 1 2 0 1 Not used Not used Not used Not used Not used Not used 1 Run until satisified 0 Run until not satisified 1 Measurement complete 0 Measurement not complete ...

Page 105: ...he current draw is too high 0 is returned until the problem is corrected and the circuit automatically resets Sending the query to an HP 165OA 165L4 results in 1 being returned Query Syntax PPOWer Returned Format PPOWer I 1 o 1I Example 10 DIM Response 20 OUTPUT XXX PPOWER 30 ENTER XXX Response 40 PRINT Response 50 END HP 1650B HP 16518 Programming Reference System Commands 6 31 ...

Page 106: ... transfers the data to the controller in a printer specific graphics format PRINt ALL transfers the data in a raster format for the following menus l State and Timing Format menus l Disk menu l State and Timing Symbol menus 0 State Listing menu l State Trace 0 State Compare Command Syntax SYSTem PRINt SCReen 1 ALL Example OUTPUT XXX SYSTEM PRINT SCREEN System Commands 832 HP 1650B HP 1651B Program...

Page 107: ...Tem The query returns the current setting After specifying the run mode use the STARt command to start the Note d acquisition Command Syntax RMODe SlNGle 1REPetitivs Example OUTPUT XXX RMOOE SINGLE Query Syntax R ow Returned Format RMDDe SINGle 1REPetitive c NL Example 10 DIM Mode lOOl 20 OUTPUT XXX RMOOE 30 ENTER XXX Mode 40 PRINT Mode 50 END HP 1650B HP 16518 Programming Reference System Command...

Page 108: ...ent configuration to the controller There are three data sections which are always returned These are the strings which would be included in the section header CONFIG w 1650 OISP 1650 OISPE Additionally the following sections may also be included depending on what s available System Commands 6 34 SYMBOLS A w SYMBOLS B u SPA DATA A SPA DATA 8 INVASM A INVASM B COMPARE w HP 1650B HP 16518 Programmin...

Page 109: ...ype of data PI Note k The total length of a section is 16 for the section header plus the length ofth e section data So when calculating the value for length do not forget to include the length of the section headers Example OUTPUT XXX SETlJP c block data Query Syntax SYStem SETup Returned Format SYStem SETup block data c NL HP IB Example HP 1650B HP 16518 System Commands Programming Reference 635...

Page 110: ...in the command tree as SYSTem therefore it is not preceded by SYSTem The STARt command is an Overlapped Command 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 Command Syntax Example System Commands 6 36 STAR1 OUTPUT XXX START HP 1650B HP 16518 Programming Reference ...

Page 111: ...em therefore it is not preceded by SYSTem p The STOP command is an Overlapped Command An Overlapped Note 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 STOP Example OUTPUTXX TOp HP 1650B HP 16518 Programming Reference System Commands 637 ...

Page 112: ......

Page 113: ...alize 0 L O A D l PACK l PURGe l REName l STORe a UPLoad Note If you are not going to store information to the configuration disk or if the 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 1650B HP 16618 Programming Reference MMEMory Subsystem 7 1 ...

Page 114: ...space I descrlptlon space space Figure 7 1 MMEMory Subsystem Commands Syntax Diagram MMEMory Subsystem 7 2 HP 1650B HP 16518 Programming Reference ...

Page 115: ...ta data in IEEE 488 2 fonnat ia name string of up to 10 alphanumeric characters representing a validfile name new name string of up to 10 alphanumeric characters representing a valid file name Figure 7 1 MMEMory Subsystem Commands Syntax Diagram continued Note p Qj Refer to Disk Operations in chapter 6 of the HP 165OBIHP 16518 Front Panel Reference manual for a description of a valid file name HP ...

Page 116: ...presents the desired autoload file The AUToload query returns 0 if the autoload feature is disabled If the autoload feature is enabled the query returns a string parameter that specifies the current autoload file MMEMory AUToload OFF IO 1c auto file string of up to 10 alphanumeric characters OUTPUT XXX MMEMORY AUTOLOAD OFF OUTPUT XXX MMEMORY AUTOLOAD FILEl OUTPUT XXX MMEMORY AUTOLOAD FILEZ MMEMory...

Page 117: ...y CATalog c block size c block data where z block size 8dddddddd X8 followed by an eight digit number c block data filename file type file description I Example 10 DIM File Sl 20 DIM Specifier 2 30 OUTPUT XXX SYSTEM HEAD OFF 40 OUTPUT XXX MMEMORY CATALDG send catalog query 50 ENTER XXX USING 2A Specifier read in 8 60 ENTER XXX USING 8D Length read in length 70 FOR I 1 TO Length STEP 51 read and pr...

Page 118: ...n file An error is generated if the source file doesn t exist if the destination file already exists or any other disk error is detected Command Syntax MMEMory COPY c name name where name string of up to 10 alphanumeric characters representing a valid file name Example To copy the contents of FILEl to FILEZ OUTPUT XXX MMEMORY COPY FILEl FILEE MMEMory Subsystem 7 6 HP 1650B HP 16518 Programming Ref...

Page 119: ...Nload name description type block data where c name string of up to 10 alphanumeric characters representing a valid file name c description string of up to 32 alphanumeric characters type integer see Table 7 l c block data contents of file in block data format Example OUTPUT XXX MMEMORY DOWNLOAD SETUP FILE CREATED FROM SETUP QUERY 16127 800000643 Table 7 1 File Types HP 165011 SYSTEM 16383 1650 l ...

Page 120: ...ZE MMEMory Subsystem 7 8 The INITialize command formats the disk command Once executed the initialize command formats the specified disk permanently erasing all existing information from the disk After that there is no way to retrieve the original information HP 1650B HP 16518 Programming Reference ...

Page 121: ...mmand loads a file from the diik into the analyzer The CONfig specifier is optional and has no effect on the command The C name parameter specifies the filename that will be loaded into the logic analyzer Any previous setups and data in the instrument are replaced by the contents of the confiiation file OUTPUT XXX MMEMORY LOAD CONFIG FILE OUTPUT XXX MMEMORY LOAD FILE OUTPUT XXX MMEM LOAD CONFIG FI...

Page 122: ...bler is loaded l Note Inverse assembler files should only be loaded into the state analyzer If an inverse assembler file is loaded into the timing analyzer no error will be generated however it will not be accessible Command Syntax MMEMory LOAD lASSembler CIA name 112 where c IA name string of up to 10 alphanumeric characters representing a valid file name Examples OUTPUT XXX MMEMORY LOAD IASSEMBL...

Page 123: ...PACK PACK command The PACK command packs the fies on a diik in the disk drive Command Syntax MMEMOIY PACK Example OUTPUT XXX MMEMORY PACK HP 1650B HP 1651B Programming Reference MMEMory Subsystem 7 11 ...

Page 124: ...es the filename to be deleted Once executed the purge command permanently erases all the existing information from the specified file After that there is no way to retrieve the original information MMEMory PURGe cname string of up to 10 alphanumeric characters representing a valid file name OUTPUT XXX MMEMORY PURGE FILEl HP 1650B HP 16518 Programming Reference ...

Page 125: ...d You cannot rename a fde to an already existing filename Command Syntax MMEMory REName name c new name where c name 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 1650B HP 16518 Programming Reference MMEMory Subsystem 7 13 ...

Page 126: ... to the disk The description z parameter specifies the file description Command Syntax MMEMory STOFle CONfig c name c description z where c n a m e z string of up to 10 alphanumeric characters representing a valid file name c description z string of up to 32 alphanumeric characters Example OUTPUT XXX MMEM STORE DEFAULTS DEFAULT SETUPS MMEMory Subsystem 7 14 HP 1650B HP 16518 Programming Reference ...

Page 127: ...umeric characters representing a valid file name Returned Format MMEMory UPLoad c block data c NL Example 10 DIM Block 32000 allocate enough memory for block data 20 DIM Specifier E 30 OUTPUT XXX SYSTEM HEAD OFF 40 OUTPUT XXX MMEMORY UPLOAD FILEl send upload query 50 ENTER XXX USING 2A Specifier read in 8 60 ENTER XXX USING 8D Length read in block length 70 ENTER XXX USING K Block read in file 80 ...

Page 128: ......

Page 129: ...e 0 COLumxl 0 L I N E c moth num col num integerfrom 1 to 8 label name a string of up to 6 alphanumeric characters base BINary 1 HEXadecimal OCTal 1 DECimal IASCii 1 WUBol math num I 12 line num mid screen integerfrom 1023 to 1023 Figure 8 1 DLlSt Subsystem Syntax Diagram HP 1650B HP 16518 Programming Reference DLlSt Subsystem 8 l ...

Page 130: ...art 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 DLISt Example OUTPUT XXX OLIST LINE 0 1 DLlSt Subsystem 8 2 HP 1850B HP 1851B ...

Page 131: ...fied column is placed in the column the specified label is moved from When TAGS is the label name the TAGS column is assumed and the next parameter must specify RELative or ABSolute The machine number should be 1 The COLumn query returns the column number label name and base for the specified column Command Syntax DLISt COLumn ccol num TAGS RELative 1ABSolute 1 c label name base math num where c c...

Page 132: ...n c col num Returned Format DLISt COLumn c col num e label name base 5 c math num c NL Example 10 DIM Cl lOO 20 OUTPUT XXX DLIST COLUMN 4 30 ENTER XXX Cl 40 PRINT Cl 50 END DLlSt Subsystem 6 4 HP 1650B HP 16518 Programming Reference ...

Page 133: ...ate currently in the box at center screen and the machine number to which it belongs Command Syntax DLISt LINE line num mid screen e math num where c line num mid screen integer from 1023 to 1023 math num z 112 Example OUTPUT XXX DLIST LINE 511 1 Query Syntax DLISt LINE RetUrnf3d Format DLISt LINE line num mid screen math num z c NL Example 10 D I M Ln lOO 20 OUTPUT XXX DLIST LINE 30 ENTER XXX Ln ...

Page 134: ......

Page 135: ...arkers are on Since the markers can only be placed on the timing waveforms the queries return what state state acquisition memory location the marked pattern is stored in I In order to have mixed mode one machine must be a timing analyzer and Note 3 h th t e o er must be a state analyzer with time tagging on use MACHine c N STRace TAG TIME time value real number Figure 9 l WLlSt Subsystem Syntax D...

Page 136: ...Since the WLISt command is a root level command it will always appear as the first element of a compound header Note d Command Syntax Example WLlSt Subsystem 9 2 The WLISt Subsystem is only available when one state analyzer with time tagging on and one timing analyzer are specified WLISt OUTPUT XXX WLIST XTIME 40 OE 6 HP 1650B HP 16518 Programming Reference ...

Page 137: ...f data is not valid the query returns 32767 QlJety Syntax W L I S t O S T a t e Returned Format WLISt OSTate state num NL where c state num integer Example 10 DIM So lOO 20 OUTPUT XXX WLIST OSTATE 30 ENTER XXX So 40 PRINT So 50 END HP 1650B HP 16518 Programming Reference WLlSt Subsystem 9 3 ...

Page 138: ...alid the query returns 32767 Query Syntax WLISt XSTate Example OUTPUT XXX WLIST XSTATE Returned Format WLISt XSTate c state num z c NL where c state num integer Example 10 DIM Sx lOO 20 OUTPUT XXX WLIST XSTATE 30 ENTER XXX Sx 40 PRINT Sx 50 END WLlSt Subsystem 9 4 HP 1650B HP 16518 Programming Reference ...

Page 139: ...e 0 Marker position in time If data is not valid the query returns 9 9E37 Command Syntax WLISt OTIMe t i m e v a l u e where c time value real number Example OUTPUT XXX WLIST OTIME 40 Oe 6 Query Syntax WLISt OTIMe Returned Format WLISt OTIMe c time value NL Example 10 DIM To lOO 20 OUTPUT XXX WLIST OTIME 30 ENTER XXX To 40 PRINT To 50 END HP 1650B HP 16518 Programming Reference WLlSt Subsystem 9 5...

Page 140: ...X Marker position in time If data is not valid the query returns 9 9E37 Command Syntax WLISt XTIMe d i m e v a l u e where c time value real number Example OUTPUT xXX WLIST XTIME 40 OE 6 QIJt ry Syntax WLISt XTIMe RetUrned Format WLISt XTIMe time value NLz Example 1 0 DIM Tx lOO 20 OUTPUT XXX WLIST XTIME 30 ENTER XXX Tx 40 PRINT Tx 50 END WLlSt Subsystem 9 6 HP 1650B HP 165113 Programming Referenc...

Page 141: ...CHine 112 anytime the subject is applicable to both subsystems Additionally the following subsystems are a part of the MACHine subsystem Each is explained in a separate chapter HP 1650B HP 16518 Programming Reference l SFORmat subsystem l STRace subsystem l SLISt subsystem l SWAVeform subsystem l SCHart subsystem l COMPare subsystem l TFORmat subsystem l ITRace subsystem l TWAVeform subsystem l SY...

Page 142: ...rce RUN 1UACHine 1 12 pod list NONE 1 pod num pod num I pod num I 12 13 I 4 I5 machine name string of up to 10 alphanumeric characters Figure 10 l Machine Subsystem Syntax Diagram MACHine Subsystem 10 2 HP 1650B HP 1651B Programming Reference ...

Page 143: ...1650BDlB the commands or queries following will refer to Since the MACHine c N command is a root level command it will normally appear as the first element of a compound header Command Syntax MACHinecN where N 1 12 the number of the machine Example OUTPUT XXX MACHINEl NAME DRAMTEST HP 1650B HP 16518 MACHine Subsystem lo 3 ...

Page 144: ...e armed by Command Syntax MACHine 1 IP ARM arm source where c arm source RUN 1MACHine 112 1BNC Example OUTPUT XXX MACHINEl ARM MACHINE2 Query Syntax MACHine 112 ARM Returned Format MACHine 112 ARM c arm source z NL Example 10 DIM Stringt lOO 20 OUTPUT xxx MACHINEl ARM 30 ENTER Xxx String 40 PRINT String 50 END MACHine Subsystem IO 4 HP 165OB HP 16518 Programming Reference ...

Page 145: ...ine Command Syntax MACHine l 2 ASSign cpod_list where pod list NONE pod pod pod 112 3 415 Example OUTPUT XXX MACHINEl ASSIGN 5 2 1 Query Syntax MACHine 1 2 ASSign Returned Format MACHlNE lla ASSign pod list NL Example 10 DIM String loo 20 OUTPUT XXX MACHINEl ASSIGN 30 ENTER XXX String 40 PRINT String 50 END HP 16506 HP 1651B Programming Reference MACHine Subsystem lo 5 ...

Page 146: ...nt commands while the logic analyzer operations initiated by the Overlapped Command are still in progress Command overlapping can be avoided by using the OPC and WAI commands see the chapter Common Commands in conjunction with AUToscale 4 Note Command Syntax Example MACHine Subsystem 10 6 When the AUToscale command is issued existing timing analyzer configurations are erased and the other analyzer...

Page 147: ...ASCII string Command Syntax MACHine l IP NAME machine name where c machine name string of up to 10 alphanumeric characters Example OUTPUT XXX MACHINEl NAME DRAMTEST Query Syntax MACHine lj2 NAME Returned Format MACHine 11 P NAME c machine name c NL Example 10 DIM String loo 20 OUTPUT XXX MACHINEl NAME 30 ENTER XXX String 40 PRINT String 50 END HP 1650B HP 16618 Programming Reference MACHine Subsys...

Page 148: ... one Note time The TYPE query returns the current analyzer type for the specified analyzer Command Syntax M A C H i n e l 12 TYPE analyzertype where c analyzer type OFF 1STATe 1TIMing Example OUTPUT XXX MACH1 NE1 TYPE STATE Query Syntax MACHine 1 IP TYPE Returned Format M A C H i n e l IP NPE analyzertype cNL Example 10 DIM String loo 20 OUTPUT XXX MACHINEl TYPE 30 ENTER XXX String 40 PRINT String...

Page 149: ...mmands available for the State Format menu in the HP 1650B 51B logic analyzer These commands are l CLOCk l CPERiod 0 LABel l MASTer l REMove 0 SLAVe l THReshold Figure 1 l 1 SFORmat Subsystem Syntax Diagram HP 1650B HP 16518 Programming Reference SFORmat Subsystem 11 l ...

Page 150: ...tive pod specification format integerfrom 0 to 65535 for a pod pods are assigned in decreasing order clock id J 1K 1L 1A4 1N clock spec OFF IZUSing I FALLing I BOTH I LOW 1HIGH value voltage real number 9 9 to 9 9 Figure 1 l l SFORmat Subsystem Syntax Diagram continued SFORmat Subsystem 11 2 HP 1650B HP 16518 Programming Reference ...

Page 151: ... the settings in the State Format menu It always follows the MACHine selector because it selects a branch directly below the MACHine level in the command tree Command Syntax MACHine l IP SFORmat Example OUTPUT XXX MACHINE2 SFORMAT MASTER J RISING HP 1650B HP 16518 Programming Reference SFORmat Subsystem 11 3 ...

Page 152: ... on the slave clock and then sampled again on the master clock The master clock always follows the slave clock when both are used The CLOCk query returns the current clocking mode for a given pod Command Syntax MACHine 1 2 SFOFlmat CLOCk z N c clock mode z where N 112131415 c clock mode NORMal 1Mixed 1DEMultiplex Example OUTPUT XXX MACHINEl SFORMAT CLOCKZ NORMAL Query Syntax MACHine l l2 SFORmat C...

Page 153: ...he clock period is set to Less Than count tagging is turned off When count tagging is set to either state or time the clock period is automatically set to Greater Than The CPERiod query returns the current setting of clock period Command Syntax MACHine 1 J2 SFORmat CPERiod LTI GT where GT greater than 60 ns LT less than 60 ns Example OUTPUT XXX MACHINE2 SFORMAT CPERIOD GT Query Syntax MACHine l IP...

Page 154: ...xtra ones will be ignored However an error is reported anytime more than five pod specifications are listed The polarity can be specified at any point after the label name Since pods contain 16 channels the format value for a pod must be between 0 and 65535 216 1 When giving the pod assignment in binary base 2 each bit will correspond to a single channel A 1 in a bit position means the associated ...

Page 155: ...EZ SFORMAT LABEL STAT POSITIVE 65535 127 40312 O U T P U T XXX MACHINE2 SFORMAT LABEL S I G l 6 4 1 2 0 2 0 N E G A T I V E OUTPUT XXX MACHINEl SFORMAT LABEL ADDR NEG B0011110010101010 Query Syntax MACHine 1 iP SFORmat LABel c name Returned Format MACHine 1 2 SFORmat LABel c name c polarity assignment I z NL Example 10 DIM String lDO 20 OUTPUT XXX MACHINE2 SFORMAT LABEL DATA 30 ENTER XXX String 40...

Page 156: ...Ded Note d At least one clock edge must be specified The MASTer query returns the clock specification for the specified clock Command Syntax MACHine l 2 SFORmat MASTer clock_id clock spec where cclock_id JJKILIMIN 6 clock spec OFF RlSing FALLing BOTH LOW HIGH Example OUTPUT XXX MACHINE2 SFORMAT MASTER J RISING Query Syntax MACHine l IP SFORmat MASTer cclock id B Returned Format MACHine 112 SFOFIma...

Page 157: ...one label for a given machine Command Syntax MACHine l 12 SFORmat REMove name ALL where name string of up to 6 alphanumeric characters Examples OUTPUT XXX MACHINE2 SFORMAT REMOVE A OUTPUT XXX MACHINE2 SFORMAT REMOVE ALL HP 1650B HP 16518 Programming Reference SFORmat Subsystem 11 9 ...

Page 158: ... d The slave clock must have at least one edge specified The SLAVe query returns the clock specification for the specified clock Command Syntax MACHine 1 2 SFORmat SLAVe clock id clock spec where c clock id JIKILIMIN clock spec OFF1 RlSing 1FALling 1BOTH I LOW I HIGH Example OUTPUT XXX MACHINEZ SFORMAT SLAVE J RISING Query Syntax MACHine 1 IP SFORmat SLAVe c clock id Returned Format MACHine 1 l2 S...

Page 159: ...aved together therefore when you set the threshold on either pod 4 or 5 both thresholds will be changed to the specified value On the HP 1651B pods 1 and 2 can be set independently The THReshold query returns the current threshold for a given pod MACHine l 2 SFORmat THReshold N TTLIECLI v a l u e pod number 112131415 voltage real number 9 9 to 9 9 default value of 1 6V default value of 1 3V OUTPUT...

Page 160: ......

Page 161: ...e for the State Trace menu in the HP 1650B 51B logic analyzer The STRace subsystem commands are BRANch FIND PREStore RANGe RESTart SEQuence STORe TAG TERM STRace branch qualifier label name stop pattern Figure 12 1 STRace Subsystem Syntax Diagram HP 1650B HP 16518 STRace Subsystem 12 1 ...

Page 162: ...kT 7 STORe N state tag qualifier label name Figure 12 1 STRace Subsystem Syntax Diagram continued STRace Subsystem 12 2 HP 1650B HP 16518 Programming Reference ...

Page 163: ...RUN orfronl2 to 7 otherwise lev of trig integerfrom I to number of existing sequence levels I store qualifier qualifier state tag qualifier qualifier term id A IBJCJDIEIFJGIN pattern B OIIIX I Q l l l l l l l l I H lll2 3 4l5l6 7 8I91AIBICIDIEIFIX 1 0 1 2 3 4 5 6 7 8 9 qualifier ANYState 1NOSTate I c any term I eqrressionl AND I OR c eqression2 I qoression2 AND OR c expression 1 any term c or term...

Page 164: ...s 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 MACHine lIP STRace Example OUTPUT XXX MACHINEl STRACE TAG TIME STRace Subsystem 12 4 HP 1650WHP 1651B Programming Reference ...

Page 165: ...tax definitions on the next page show only the required ones Additional parentheses are allowed as long as the meaning of the expression is not changed For example the following two statements are both correct and have the same meaning Notice that the conventional rules for precedence are not followed OUTPUT XXX MACHINEl STRACE BRANCHl C OR 0 AND F OR 6 1 OUTPUT XXX MACHINEl STRACE BRANCHl C OR D ...

Page 166: ... AND 1 OR expression2 1 i c expression2 AND i OR c expression1 1 or term1 1 and term1 i e or_term2 i and_term2 or term1 OR car term1 I i and term1 AND and term1 I or_term2 OR or_term2 1cand_term2 AND and_term2 AiBiCiDilNFtangelOUTRange NOTAl NOTB I NOTC INOTD I INFlange OUTRange EiFiGiH NOTE INOTF INOTG INOTH Examples OUTPUT XXX MACHINEl STRACE BRANCHl ANYSTATE 3 OUTPUT XXX MACHINE2 STRACE BRANCHZ...

Page 167: ...e mixed with terms from the other For example the expression A OR INRANGE AND C OR H is not allowed because the term C cannot be specified in the E through I I group Keep in mind that at the first level the operator you use determines which terms are available When AND is chosen only the NOT terms may be used Either AND or OR may be used at the second level to join the two groups together It is ac...

Page 168: ...heses the syntax definitions below show only the required ones Additional parentheses are allowed as long as the meaning of the expression is not changed See figure 12 2 for a detailed example The FIND query returns the current proceed qualifier specification for a given sequence level Command Syntax MACHine l IP STRace FINDc N Z proceed qualifier c occurrence where N occurrence proceed qualifier ...

Page 169: ...STRACE FIND3 NOTA AND NOTB OR G 1 Query Syntax MACHine l 12 STRace FIND4 Returned Format MACHine 1 IP STRaoe FIND N proceed qualifier z occurrence c NL Example 10 DIM String lDO 20 OUTPUT XXX MACHINEl STRACE FIND N 30 ENTER XXX String 40 PRINT String 50 END HP 1650B HP 16518 Programming Reference STRace Subsystem 12 9 ...

Page 170: ...on is not changed A detailed example is provided in figure 12 2 The PREStore query returns the current prestore specification Command Syntax MACHine 1 jP STFtace PREStore OFF prestore qualifier where c prestore qualifier z ANYState 1NOSTate 1e any term 1 z expression1 AND 1 OR c expression2 z 1 expression2 AND OR expression1 any term or term1 z I and term1 r I or_term2 1cand_term2 c expression 1 o...

Page 171: ... OUTPUT XXX MACHINEl STRACE PRESTORE A OR 8 OR D OR F OR H Query Syntax MACHine l 2 STFkce PREStore f turned Format MACHine l 2 STRace PREStore OFF1 prestoremqualifier NL Example 10 DIM String lOO 20 OUTPUT XXX MACHINEl STRACE PRESTORE 30 ENTER XXX String 40 PRINT String 50 END HP 1650B HP 16518 Programming Reference STRace Subsystem 12 11 ...

Page 172: ... the range cannot be split between labels When these values are expressed in binary they represent the bit values for the label at one of the range recognizers end points Don t cares are not allowed in the end point pattern specifications Since only one range recognizer exists it is always used by the fast state machine defined The FMNGe query returns the range recognizer end point specifications ...

Page 173: ...4 5 6 7 I XH OIl 2 3 4 5 6 7 8 9 AIBICIDIEIF 1 Oil 2 3 4 5 6 7 8 9 Examples OUTPUT xxx MACHINEl STRACE RANGE D A T A 127 255 11 O U T P U T XXX MACHINEl STRACE RANGE A B C BOOOO1111 X H C F Query Syntax MACHine l 2 STRace RANGe Returned Format MACHine 1 IO STRAce RANGe z label name startgattern z stop pattern NL z Example 10 DIM String lOD 20 OUTPUT XXX MACHINEl STRACE RANGE 30 ENTER XXX String 40...

Page 174: ...figure 12 2 The RESTart query returns the current restart specification Command Syntax MACHine 1 j2 STRace RESTart OFF PERLevel 1 z restart_qualifier z where c restart qualifier ANYState 1NOSTate 1c any term 1 c any term 6expression 1 expression2 z or term1 c and term 1 car term2 c and term2 e expression 1 AND IOR c expression2 I cexpression2 ANDIOR expression1 I c or term1 I and term1 I or term2 ...

Page 175: ...Returned Format MACHine l 2 STRace RESTart OFF 1 PERLevel restart_qualifier NL Example 10 DIM String lOO 20 OUTPUT XXX MACHINEl STRACE RESTART 30 ENTER XXX String 40 PRINT Stringf 50 END HP 1650B HP 16518 Programming Reference STRace Subsystem 12 15 ...

Page 176: ...ilable in the sequence The SEQuence query returns the current sequence specification Command Syntax MACHine 1 IP STFkce SEQuence number of levels level of trigger where c number of levels integer from 2 to 8 when ARM is RUN or from 2 to 7 otherwise level of trigger integer from 1 to number of existing sequence levels 1 Example OUTPUT XXX MACHINEl STRACE SEQUENCE 4 3 Query Syntax MACHine l P STFWe ...

Page 177: ...sion is not changed A detailed example is provided in figure 12 2 The STORe query returns the current store qualifier specification for a given sequence level c N Command Syntax MACHine 1 2 STFtaoe STORe c N z store qualifier where cN an integer from 1 to the number of existing sequence levels maximum 8 e store qualifier ANYState 1NOSTate 1 any term c any term z expression 1 e expression2 c or ter...

Page 178: ...ACHINE STRACE STORE NOTC AND NDTD AND NDTH Query Syntax MACHine l 2 STRace STORecN Returned Format MACHine l 2 STRace STORe N store qualifier NL Example 10 DIM String lOD 20 OUTPUT XXX MACHINEl STRACE STORE4 30 ENTER XXX String 40 PRINT Stringf 50 END STRace Subsystem 12 18 HP 1850B HP 1851B Programming Reference ...

Page 179: ...equires a minimum clock period of 60 ns the CPERiod and TAG commands are interrelated the CPERiod command is in the SFORmat subsystem When the clock period is set to Less Than count tagging is turned off When count tagging is set to either state or time the clock period is automatically set to Greater Than The TAG query returns the current count tag specification Command Syntax MACHine l IP STFtac...

Page 180: ...TF OUTPUT XXX MACHINEl STRACE TAG INRANGE OR A AND E Query Syntax MACHine 112 STRace TAG Returned Format MACHine l l2 STRace TAG OFFITIMEI state tag qualifier c NLs Example 10 DIM String lOO 20 OUTPUT XXX MACHINEl STRACE TAG 30 ENTER XXX String 40 PRINT String 50 END STRace Subsystem 12 20 HP 1650B HP 16518 Programming Reference ...

Page 181: ...her than a number When a single state machine is on all eight terms A through H are available in that machine When two state machines are on terms A through D are used by the first state machine defined and terms E through H are used by the second state machine defined The TERM query returns the specification of the term specified by term identification and label name Command Syntax MACHine 1 IP S...

Page 182: ...ame Returned Format MACHine ll2 STRAce TERM _ term id clabel name pattern cNL Example 10 DIM String lOO 20 OUTPUT XXX MACHINEl STRACE TERM B OATA v 30 ENTER XXX String 40 PRINT String 50 END STRace Subsystem 12 22 HP 1650B HP 16618 Programming Reference ...

Page 183: ...tate Listing menu in the HP 1650B 51B logic analyzer These commands are 0 COLumll l DATA 0 L I N E l MMODe l OPATtern l OSEarch l OSTate l OTAG l RUNTY l TAVerage l T urn l TMINimum l VRUNs l XOTag l XPATtem l XSEarch l XSTate l XTAG HP 1650B HP 1651B Programming Reference SLIST Subsystem 13 l ...

Page 184: ... L h E I Figure 13 1 SLlSt Subsystem Syntax Diagram SLIST Subsystem 13 2 HP 165081HP Is5 B Programming Reference ...

Page 185: ...Figure 13 l SLlSt Subsystem Syntax Diagram continued HP 1650B HP 16518 Programming Reference SLIST Subsystem 13 3 ...

Page 186: ...for tags line num mid screen integerfrom 1023 to 1023 labelqattern B O lIX 1 l 1 1 1 1 1 1 1 I H O 1 2 3 4 5 6 7 8I91AIBJCIDIEIFIX I Oil 2 3 4 5 6 7 8 9 occurrence integerfrom 1023 to 1023 time value real number state value real number run until spec OFF L T value IGT value 1 INRange c value c value 1 OUTRange z value c value value real number Figure 13 1 SLlSt Subsystem Syntax Diagram continued S...

Page 187: ...gs normally found in the State Listing menu It always follows the MACHine selector because it selects a branch directly below the MACHine level in the command tree Command Syntax MACHine lI2 SLISt Example OUTPUT XXX MACHINEl SLIST LINE 256 HP 1650B HP 16518 SLIST Subsystem Programming Reference 13 S ...

Page 188: ...n the column the specified label is moved from When the label name is TAGS the TAGS column is assumed and the next parameter must specify RELative or ABSolute The COLumn query returns the column number label name and base for the specified column Command Syntax MACHine lj2 SLISt COLumn col num z c label name base where co1 n u m r 1 12131415161716 label name a string of up to 6 alphanumeric charac...

Page 189: ... Query Syntax Returned Format Example HP 1650B HP 16518 Programming Reference OUTPUT XXX MACHINEl SLIST COLUMN 4 A HEX OUTPUT XXX MACHINEl SLIST COLUMN 1 TAGS ABSOLUTE MACHine l O SLISt COLumn ccol num 10 DIM Cl lOO 20 OUTPUT XXX MACHINEl SLIST COLUMN 4 30 ENTER XXX Cl 40 PRINT Cl 50 END SLIST Subsystem 13 7 ...

Page 190: ...e l 12 SLISt DATAl c line number c label name pattern string c NL where c line number integer from 1023 to 1023 c label name z string of up to 6 alphanumeric characters z pattern string B O l IX i Q O 1 2 3 4 5 6 7 X i XH O 1 2 3 4 5 6 7 8 9 A BICIDIEIFIX Oil 12i3i4i5i6i7 8i9 E x a m p l e 10 DIM Sd lOO 2 0 OUTPUT XXX MACHINEl SLIST OATA 5 1 2 RAS 30 ENTER XXX Sd 40 PRINT Sd 50 END SLIST Subsystem...

Page 191: ...e line mmber relative to the trigger that the analyzer will be highlighted at center screen The LINE query returns the line number for the state currently in the box at center screen MACHine lI2 SLISt LINE line num mid screen integer from 1023 to 1023 OUTPUT XXX MACHINEl SLIST LINE 0 MACHine l I2 SLISt LINE MACHine l 2 SLISt LINE cline num mid screen NL 10 DIM Ln lOO 20 OUTPUT XXX MACHINEl SLIST L...

Page 192: ... between stored states When MSTats is selected and time tagging is on the markers are placed on patterns but the readouts will be time statistics The MMODe query returns the current marker mode selected Command Syntax MACHine 1 12 SLISt MMODe c marker mode z where c marker mode OFF PAllern STATe TIME MSTats Example OUTPUT XXX MACHINEl SLIST MMODE TIME Query Syntax MACHine lj2 SLISt MMODe Returned ...

Page 193: ...st be between 0 and 2 1 since a label may not have more than 32 bits Because the c labelqattem parameter may contain don t cares it is handled as a string of characters rather than a number The OPATtern query returns the pattern specification for a given label name Command Syntax MACHine 1 I2 SLISt OPATtern label name z labelgattern where e label name string of up to 6 alphanumeric characters c la...

Page 194: ...label name 5 Returned Format MACHine 1 IP SLlSt OPATtern c label name c label pattern c NL Example 10 DIM Op lOD 20 OUTPUT XXX MACHINEl SLIST OPATTERN A 30 ENTER XXX Op 40 PRINT OpJ 5 0 E N D SLIST Subsystem 13 12 HP 1650B HP 16518 Programming Reference ...

Page 195: ...laces the marker on the selected origin With a negative occurrence the marker searches before the origin With a positive occurrence the marker searches after the origin The OSEarch query returns the search criteria for the 0 marker Command Syntax MACHine 1 I2 SLISt OSEarch occurrence c origin where c occurrence integer from 1023 to 1023 z origin TRIGger 1STARt IXMARker Example OUTPUT XXX MACHINEl ...

Page 196: ...valid the query returns 32767 Query Syntax MACHine 1 I2 SLISt OSTate Returned Format MACHine l I2 SLISt OSTatel state num NL where state num an integer from 1023 to 1023 or 32767 Example 10 DIM Ds lDO 20 OUTPUT XXX MACHINEl SLIST OSTATE 30 ENTER XXX Os 40 PRINT Os 50 END SLIST Subsystem 13 14 HP 1650B HP 16518 Programming Reference ...

Page 197: ...the marker was positioned in time or through a pattern search If data is not valid the query returns 9 9E37 for time tagging 32767 for state tagging Command Syntax MACHine lj2 SLlSt OTAG time value 1 s t a t e v a l u e r where c time value z real number state value integer Example OUTPUT XXX MACHINEl SLIST OTAG 40 OE 6 Query Syntax MACHine l j2 SLISt OTAG Returned Format MACHine l j2 SLISt OTAGJ ...

Page 198: ...lue l The difference is greater than GT some value l The difference is inside some range INRange l The difference is outside some range OUTRange End points for the INRange and OUTRange should be at least 10 ns apart There are two conditions which are based on a comparison of the acquired state data and the compare data image You can run until one of the following conditions is true l Compare equal...

Page 199: ...EQUal1 NECWal value real number from 9E9 to 9E9 Example OUTPUT XXX MACHINEl SLIST RUNTIL GT 800 OE 6 Query Syntax MACHine 1 I2 SLISt RUNTil Returned Format MACHine 1 2 SLISt RUNTiI crun until specs e NL Example 10 DIM RU DO 20 OUTPUT XXX MACHINEl SLIST RUNTIL 30 ENTER XXX Ru 40 PRINT Ru 50 END HP 1650B HP 16518 Programming Reference SLIST Subsystem 13 17 ...

Page 200: ...umber of valid runs is zero the query returns 9 9E37 Valid runs are those where the pattern search for both the X and 0 markers was successful resulting in valid delta time measurements MACHine l IP SLISt TAVerage MACHine l I2 SLISt TAVerage time value c NL real number 10 DIM Tv lOO 20 OUTPUT XXX MACHINEl SLIST TAVERAGE 30 ENTER XXX Tv 40 PRINT Tv 50 END HP 1650B HP 1651B Programming Reference ...

Page 201: ...ot valid the query returns 9 9E37 Query Syntax MACHine 1 I2 SLISt TMAXimum Returned Format MACHine 1 jP SLISt TMAXimum time value c NL where c time value real number Example 10 DIM Tx lOO 20 OUTPUT XXX MACHINEl SLIST TMAXIMUM 30 ENTER XXX Tx 40 PRINT Tx 50 END HP 1650B HP 1651B Programming Reference SLIST Subsystem 13 19 ...

Page 202: ... not valid the query returns 9 9E37 Query Syntax MACHine 1 P SLISt TMINimum Returned Format MACHine l IP SLISt TMINimum time value NL where c time value real number Example 10 DIM Tm lOO 20 OUTPUT XXX MACHINEl SLIST TMINIMUM 30 ENTER XXX Tm 40 PRINT Tm 50 END SLIST Subsystem 13 20 HP 1650B HP 16518 Programming Reference ...

Page 203: ...ful resulting in valid delta time measurements Query Syntax MACHine 1 2 SLISt VRUNs Returned Format MACHine l 2 SLISt VRUNs valid runs ctotal runs NL where valid runs z zero or positive integer total runs zero or positive integer Example 1 0 DIM Vr lOO 20 OUTPUT XXX MACHINEl SLIST VRUNS 30 ENTER XXX Vr 40 PRINT Vr 50 END HP 1650B HP 16518 Programming Reference SLIST Subsystem 13 21 ...

Page 204: ... time mode the query returns 9 9E37 If there is no data in the state mode the query returns 32767 Query Syntax MACHine l 2 SLISt XOTag Returned Format MACHine l 12 SLISt XOTagl X0 time Z 1 X0 states NL where c X0 time real number c X0 states integer Example 10 DIM Xot lOO 20 OUTPUT XXX MACHINEl SLIST XOTAG 30 ENTER XXX Xot 40 PRINT Xot 50 END SLIST Subsystem 13 22 HP 1660WHP 16516 Programming Refe...

Page 205: ...ust be between 0 and 2 1 since a label may not have more than 32 bits Because the labelqattem parameter may contain don t cares it is handled as a string of characters rather than a number The XF ATtern query returns the pattern specification for a given label name Command Syntax MACHine 1 IP SLISt XPATtem label name label pattern z where c label name string of up to 6 alphanumeric characters labe...

Page 206: ...rn label name Returned Format MACHine 1 12 SLISt XPATtern label name clabelgattern z c NL Example 10 DIM Xp lOO 20 OUTPUT XXX MACHINEl SLIST XPATTERN A 30 ENTER XXX Xp 40 PRINT Xp 50 END SLIST Subsystem 13 24 HP 1650B HP 16518 Programming Reference ...

Page 207: ...gin the marker actually searches for An occurrence of 0 places a marker on the selected origin The XSEarch query returns the search criteria for the X marker Command Syntax MACHine l I2 SLISt XSEarch occurrence origin where c occurrence integer from 1023 to 1023 c origin TRIGger 1STARt Example OUTPUT XXX MACHINEl SLIST XSEARCH lO TRIGGER Query Syntax MACHine l 2 SLISt XSEarch Returned Format MACHi...

Page 208: ...d the query returns 32767 Query Syntax MACHine 1 IP SLISt XSTate Returned Format MACHine 1 12 SLISt XSTatel state rum Z c NL where c state rum an integer from 1023 to 1023 or 32767 Example lo DIM xs lOOl 20 OUTPUT XXX MACHINEl SLIST XSTATE 30 ENTER XXX Xs 40 PRINT Xs 50 END SLIST Subsystem 13 26 HP 1650B HP 1651B Programming Reference ...

Page 209: ...the marker was positioned in time or through a pattern search If data is not valid tagged data the query returns 9 9E37 for time tagging 32767 for state tagging Command Syntax MACHine 1 I2 SLISt XlAG time value 1 state value where z time value 5 real number state value integer Example OUTPUT XXX MACHINEl SLIST XTAG 40 OE 6 Query Syntax MACHine 1 2 SLISt XTAG f eturrled Format MACHine 1 I2 SLISt XT...

Page 210: ......

Page 211: ...s is restricted to representing only samples states regardless of whether time tagging is on or off As a result the only commands which can be used for scaling are DELay and RANGe 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 HP 1650B H...

Page 212: ...les integerfrom 1023 to 1024 label name string of up to 6 alphanumeric characters bit id OVERlay 1c bit urn bit num integer representing a label bit from 0 to 31 Figure 14 l SWAVeform Subsystem Syntax Diagram SWAVeform Subsystem HP 1650B HP 16518 14 2 Programming Reference ...

Page 213: ...ss the settings in the 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 MACHine l IP SWAVeform Example OUTPUT XXX MACHINEZ SWAVEFORM RANGE 40 HP 1650B HP 16518 Programming Reference SWAVeform Subsystem 14 3 ...

Page 214: ... to be displayed over the previous waveforms The Accumulate query returns the current setting The query always shows the setting as the character 0 off or 1 on MACHine l12 SWAVeform ACCumulate ON 11 1 OFF 1 0 OUTPUT XXX MACHINEl SWAVEFORM ACCUMULATE ON MACHine 1 12 SWAVeform ACCumulate MACHine 112 SWAVeform ACCumulate 0 11 c NL 10 DIM String lOO 20 OUTPUT XXX MACHINEl SWAVEFORM ACCUMULATE 30 ENTER...

Page 215: ...er of the screen for the waveform display The allowed number of samples is from 1023 to 1024 The DELay query returns the current sample offset value MACHine 1IP SWAVeform DELay z number of samples integer from 1023 to 1024 OUTPUT XXX MACHINEZ SWAVEFORM DELAY 127 MACHine l12 SWAVeform DELa MACHine IP SWAVeform DELayJ number of samples zNL 10 DIM String lOO 20 OUTPUT XXX MACHINEl SWAVEFORM DELAY 30 ...

Page 216: ...pecifying OVERlay causes a composite waveform display of all bits or channels for the specified label Command Syntax MACHine 1 2 SWAVeform INSert c label name bit id z where c label name string of up to 6 alphanumeric characters bit id OVERlay 1c bit num bit numz integer representing a label bit from 0 to 31 Examples OUTPUT XXX MACHINEl SWAVEFORM INSERT WAVE 19 OUTPUT XXX MACHINEl SWAVEFORM INSERT...

Page 217: ...lent to ten times the states per division setting st Div shown on screen A number between 10 and 1040 may be entered The RANGe query returns the current range value MACHine 1 IP SWAVeform RANGe number of samples integer from 10 to 1040 OUTPUT XXX MACHINEL SWAVEFORM RANGE 80 MACHine 1 JS SWAVeform RANGe MACHine IP SWAVeform RANGe number of samples NL 10 DIM String lOO 20 OUTPUT XXX MACHINE2 SWAVEFO...

Page 218: ... command allows you to clear the waveform display before building a new display Command Syntax MACHine l 12 SWAVeform REMove Example OUTPUT XXX MACHINEl SWAVEFORM REMOVE SWAVeform Subsystem 14 8 HP 1850B HP 18518 Programming Reference ...

Page 219: ... Listing display In the other the x axis represents the data values for another label When states are plotted along the x axis X and 0 markers are available Since the State Chart display is simply an alternative way of looking at the data in the State Listing the X and 0 markers can be manipulated through the SLISt subsystem In fact because the programming commands do not force the menus to switch...

Page 220: ...phanumeric characters label low value sting from 0 to 232 1 HFFFFFFFFd label high value string from c label low value to 2 1 HFFFFFFFF low value stringfrom 0 to 232 1 HFFFFFFFF high value stringfrom low value to y2 1 HFFFFFFFF SCHart Subsystem 15 2 Figure 15 l SCHart Subsystem Syntax Diagram HP 1650B HP 16518 Programming Reference ...

Page 221: ... settings found in the State Chart menu It always follows the MACHine selector because it selects a branch below the MACHine level in the command tree Command Syntax MACHine 1 IP SCHart Example OUTPUT XXX MACHINEl SCHART VAXIS A 0 9 HP 1650B HP 16518 Programming Reference SCHart Subsystem 15 3 ...

Page 222: ... current setting The query always shows the setting as the character 0 off or 1 on Command Syntax MACHine l 2 SCHart ACCumulate O N 11 1 O F F 10 Example OUTPUT XXX MACHINEl SCHART ACCUMULATE OFF Query Syntax MACHine 1 12 SCHart ACCumulate Returned Format MACHine 1 12 SCHart ACCumulatel 0 11 c NL Example 10 DIM String lOO 20 OUTPUT XXX MACHINEl SCHART ACCUMULATE 30 ENTER XXX String 40 PRINT String...

Page 223: ...returns the current horizontal axis label and scaling MACHine 112 SCHart HAXis STAtes c state low value estate high value 1 c label name z label low value 5 z label high value integer from 1023 to 1024 integer from state low value to 1024 a string of up to 6 alphanumeric characters string from 0 to 2 l HFFFFFFFF string from c label low value to 23 1 HFFFFFFFF OUTPUT XXX MACHINEl SCHART HAXIS STATE...

Page 224: ...nt vertical axis label and scaling MACHine 1 IP SCHart VAXis label name c low value c high value a string of up to 6 alphanumeric characters string from 0 to 2X 1 HFFFFFFFF string from c low value to 232 1 XHFFFFFFFF O U T P U T XXX MACHINE2 SCHART VAXIS StlMl O 9 9 O U T P U T XXX MACHINEl SCHART VAXIS B U S HOOFF XH0500 MACHine 1 P SCHart VAXis MACHine 1 IP SCHart VAXis c label name low value z ...

Page 225: ...OMPare 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 0 C O P Y l DATA l CMASk l RANGe l RUNTil 0 FIND HP 1650B HP 16518 Programming Reference COMPare Subsystem 161 ...

Page 226: ...egerfiom 1023 to 1023 dataqattem B 0 11 IX 1 Q l I l l l l l l I El OJll213 4 5j6 7 8 9JAJBJCJDJEJFIX e 0 1 2 3 4 5 6 7 8 9 difference occurrence integerfrom 1 to 1024 start line integerfrom 1023 to 1023 stop line integerfiom sturt he to 1023 Figure 16 l COMPare Subsystem Syntax Diagram COMPare Subsystem HP 1650B HP 16518 16 2 Programming Reference ...

Page 227: ... 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 MACHine l IP COMPare Example OUTPUT XXX MACHINEl COMPARE FIND 819 HP 1650B HP 16518 Programming Reference COMPare Subsystem 163 ...

Page 228: ...CMASk label name care spec where c label name a string of up to 6 alphanumeric characters c care spec string of characters I 32 characters maximum care compare don t care don t compare Example OUTPUT XXX MACHINEZ COMPARE CMASK S T A T I Query Syntax MACHine 112 COMPare CMASk c label name RetUrWd Format MACHine ll2 COMPare CMASkl label name care spec z NL Example 10 DIM String lOO 20 OUTPUT XXX MAC...

Page 229: ...isting for the specifled machine into the Compare Listing template It does not affect the compare range or channel mask settings Command Syntax MACHine 1IP COMPare COPY Example OUTPUT XXX MACHINEZ COMPARE COPY HP 1650B HP 1651B Programming Reference COMPare Subsystem 16 5 ...

Page 230: ...s Xs are allowed in the data pattern it must always be expressed as a string You may still use different bases though don t cares cannot be used in a decimal number The DATA query returns the value of the compare listing image for a given label and state row Command Syntax MACHine 1 12 COMPare DATA z label name z z line num z data pattern 1 line num cdata pattern data pattern where label name a st...

Page 231: ...UT Enter signal label Label 25 OUTPUT XXX SYSTEM HEADER OFF Turn headers off from responses 30 OUTPUT XXX MACHINE2 COMPARE RANGE 35 ENTER XXX First Last Read in the range s end points 40 PRINT LINE X VALUE of Label 45 FOR State First TO Last Print compare value for each state 5 0 OUTPUT XXX MACHP COMPARE DATA II Label VAL State 5 5 ENTER XXX ResponseJ 6 0 PRINT State Response 6 5 NEXT State 70 END...

Page 232: ...ata image Invoking the FIND query updates both the Listing and Compare displays so that the line number returned is in the center of the screen Query Syntax MACHine 1 IP COMPare FIND difference occurrence Returned Format MACHine 1 j2 COMPare FINDl difference occurrence z line number cNL where c difference occurrence integer from 0 to 1024 i line number integer from 1023 to 1023 Example 10 DIM Stri...

Page 233: ... 1023 c stop line integer from c start line z to 1023 Examples OUTPUT XXX MACHINEZ COMPARE RANGE PARTIAL 511 512 OUTPUT XXX MACHINEZ COMPARE RANGE FULL Query Syntax MACHine l I2 COMPare RANGe Returned Format MACHine l IP COMPare RANGe FULL 1 PARTial start line c stop line c NLz Example 10 DIM String lOO 20 OUTPUT XXX MACHINE2 COMPARE RANGE 30 ENTER XXX String 40 REM See if substring FULL occurs in...

Page 234: ... GT some value l The difference is inside some range INRange l The difference is outside some range OUTRange End points for the INRange and OUTRange should be at least 10 ns apart There are two conditions which are based on a comparison of the acquired state data and the compare data image You can run until one of the following conditions is true l Compare equal EQUal Every channel of every label ...

Page 235: ...OUTPUT XXX MACHINE2 COMPARE RUNTIL EQUAL Query Syntax MACHine 1 2 COMPare RUNTil Returned Format MACHine l P COMPare RUNTil OFFILT cvaluez IGT cvalue I INRange value cvalue IOUTRange value value lEQUal INEQual NL Example 10 DIM String lOO 20 OUTPUT XXX MACHINE2 COMPARE RUNTIL 30 ENTER XXX String 40 PRINT String 50 END HP 1650B HP 16518 Programming Reference COMPare Subsystem 16 11 ...

Page 236: ......

Page 237: ...are 0 LABel l REMove l THReshold pod specification name string of up to 6 alphanumen c characters polarity POSitive 1NEGative pod specification fonnat integerfrom 0 to 65535 for a pod pods are assigned in decreasing order value voltage real number 9 9 to 9 9 Figure 17 l TFORmat Subsystem Syntax Diagram HP 1650B HP 16618 Programming Reference TFORmat Subsystem 17 1 ...

Page 238: ...bgs normally found in the Timing Format menu It always follows the MACHine selector because it selects a branch directly below the MACHine level in the command tree Command Syntax MACHine l 12 TFORmat Example OUTPUT XXX MACHINEl TFORMAT LABEL TFORmat Subsystem 17 2 HP 1650B HP 1651B Programming Reference ...

Page 239: ...ons than there are pods for that machine the extra ones will be ignored However an error is reported anytime more than five pod specifications are listed The polarity can be specified at any point after the label name Since pods contain 16 channels the format value for a pod must be between 0 and 65535 216 1 When giving the pod assignment in binary base 2 each bit will correspond to a single chann...

Page 240: ...MACHINE2 TFORMAT LABEL DATA POS 65535 127 40312 OUTPUT XXX MACHINE2 TFDRMAT LABEL S T A T 1 8 0 9 6 P O S I T I V E OUTPUT XXX MACHINEl TFORMAT LABEL ADDR NEGATIVE XB11110010101010 Query Syntax MACHine 112 TFORmat lABel name Returned Format MACHine 1 2 TFORmat iABel c name assignment I polarity c NL Example 10 DIM String lOO 20 OUTPUT XXX MACHINE2 TFDRMAT LABEL DATA 30 ENTER XXX String 40 PRINT St...

Page 241: ...pecified by name for a given machine Command Syntax MACHine 1 IP TFOFtmat REMove name 1 ALL where c name string of up to 6 alphanumeric characters Examples OUTPUT XXX MACHINE TFORMAT REMOVE A OUTPUT XXX MACHINEl TFORMAT REMOVE ALL HP 1650B HP 1651B Programming Reference TFORmat Subsystem 17 s ...

Page 242: ...n the HP 1651B both pods 1 and 2 can be set independently The THReshold query returns the current threshold for a given pod Command Syntax MACHine 112 TFORmat THReshold c N z TTLI ECLl value z 1 where N pod number 112131415 value voltage real number 9 9 to 9 9 TTL default value of 1 6V ECL default value of 1 3V Example OUTPUT XXX MACHlNEl TFORMAT THRESHOLD14 o Query Syntax MACHine lI2 TFORmat THRe...

Page 243: ... 1650B HP 16518 Programming Reference The TTRace subsystem contains the commands available for the Timing Trace menu in the HP 1650B 51B logic analyzer These commands are l AMODe l DURation l EDGE l GLITch l PATTern ITRace Subsystem 16 l ...

Page 244: ...T X R rising edge F falling edge T toggling or either edge X don t care or ignore this channel glitch spec string of characters I search for a glitch on this channel ignore this channel pattern spec B OI 1 IX D I Q l l l l l l l l I H O111213141516171819IAIBICIDIEIFIX 1 0 1 2 3 4 5 6 7 8 9 Figure 16 l TTRace Subsystem Syntax Diagram lTRace Subsystem HP 1650B HP 16518 16 2 Programming Reference ...

Page 245: ...ings found in the Timing Trace menu It always follows the MACHine selector because it selects a branch directly below the MACHine level in the command tree Command Syntax MACHine l 2 llRace Example OUTPUT XXX MACHINEl TTRACE GLITCH ABC I HP 1650B HP 16518 Programming Reference lTRace Subsystem 16 3 ...

Page 246: ...ming trace The acquisition modes available are TRANsitional and GLITch The Ah4ODe query returns the current acquisition mode MACHine 1 IP TTRace AMODe acquisition mode GLlTch 1TRANsitional OUTPUT XXX MACHINEl TTRACE AMODE GLITCH MACHinel TTFtace AMODe MACHinel TTRace AMODe GLITCH TFtANSITIONAL 10 D I M M lOO 20 OUTPUT XXX MACHINEl TTRACE AMODE 30 ENTER XXX M 40 PRINT M 50 END HP 1850B HP 18518 Pro...

Page 247: ...s to 10 ms The DURation query returns the current pattern duration qualifier specification Command Syntax MACHine 1 2 lTRace DlJRation GT LT duration value where G T greater than LT less than c duration value real number Example OUTPUT XXX MACHINEl TTRACE OLJRATION GT 40 OE 9 Query Syntax MACHine 1 P TTFWe DURation Returned Format MACHine 11 P lRace DUFtation GT 1LT duration value NL Example 10 DI...

Page 248: ...e T toggling or either edge X don t care or ignore the channel The position of these characters in the string corresponds with the position of the channels within the label All channels without X are ORed together to form the edge trigger specification The EDGE query returns the edge specification for the specified label Command Syntax MACHine l l2 lTRace EDGE label name edge specs where c label n...

Page 249: ...ace EDGE label name Returned Format MACHine l 2 TTRace label name cedge spec NL Example 10 DIM E lOO 20 OUTPUT XXX MACHINEl TTRACE EDGE PODI 30 ENTER XXX E 40 PRINT E 50 END HP 1650B HP 16516 Programming Reference TTRace Subsystem 16 7 ...

Page 250: ...e position of the channels within the label All channels with the are ORed together to form the glitch trigger specification The GLITch query returns the glitch specification for the specified label Command Syntax M A C H i n e l I2 TTFlace GLITch label name cglitch spec where label name string of up to 6 alphanumeric characters c glitch spec string of characters I Example OUTPUT XXX MACHINEl TTRA...

Page 251: ...sed in binary it represents the bit values for the label inside the pattern recognizer term Since a pattern value can contain don t cares the pattern specification parameter is handled as a string of characters instead of a number The PAlTern query returns the pattern specification for the specified label in the base previously defined for the label Command Syntax MACHine 1 IP TTRace PAllern c lab...

Page 252: ...rn label name Returned Format MACHine l 2 TTRace PATTern label name cpattern spec cNL Example lo DIM P lOOl 20 OUTPUT XXX MACHINE2 TTRACE PATTERN DATA 30 ENTER XXX P 40 PRINT P 50 END lTRace Subsystem 16 10 HP 1650B HP 16518 Programming Reference ...

Page 253: ...mmands available for the Timing Waveforms menu in the HP 1650B 51B These commands are l Accumulate l DELay l INSert l MMODe l OCONdition l OPATtern l OSEarch l OTIMe l RANGe l REMove l RUNTil l SPERiod l TAVerage l TMAXimum l TMINiium l VRUNs l XCONdition l XOTime l XPATtem l XSEarch l XTIMe TWAVeform Subsystem 19 l ...

Page 254: ...MMODe c c OSEorch Figure 19 l TWAVeform Subsystem Syntax Diagram TWAVeform Subsystem 19 2 HP 1650B HP 1651B Programming Reference ...

Page 255: ...T XPATtern label pattern t i m e v a l u e Figure 19 l TWAVeform Subsystem Syntax Diagram continued HP 1650B HP 16518 TWAVeform Subsystem 19 3 ...

Page 256: ...4 5 6 7 8 9 occurrence integer time value real number label id sting of one alpha and one numeric character time range real number between 100 ns and 10 ks run until spec OFF 1L T c value IGT c value IINRange c value c value I OUTRange c value c value GT greater than LT less than value real number Figure 19 1 TWAVeform Subsystem Syntax Diagram continued TWAVeform Subsystem 19 4 HP 1650B HP 16518 P...

Page 257: ...ettings found in the Timing Waveforms menu It always follows the MACHine selector because it selects a branch below the MACHine level in the command tree Command Syntax MACHine l IP TWAVeform Example OUTPUT XXX MACHINEl TWAVEFORM OELAY lOOE 9 HP 1650B HP 16618 Programming Reference TWAVeform Subsystem 195 ...

Page 258: ...ing The query always shows the setting as the character 0 off or 1 on Command Syntax MACHine 1 12 lWAVeform ACCumulate setting where c setting O OFF or l ON Example OUTPUT XXX MACHINE1 TWAVEFORM ACCUMLJLATE ON Query Syntax MACHine 1 2 TWAVeform ACCumulate Returned Format MACHine l I2 TWAVeform ACCumulate Oil c NL Example 10 DIM P loo 20 OUTPUT XXX MACHINEl TWAVEFORM ACCUMULATE 30 ENTER XXX P 40 PR...

Page 259: ...ce the sample period is fured at 10 ns and the amount of time covered in memory is dependent on how frequently the input signal transitions occur The DELay query returns the current time offset delay value from the trigger Command Syntax MACHine 1IP TWAVeform DELay c delay value where c delay value real number between 2500 s and 2500 s Example OUTPUT XXX MACHINEl TWAVEFORM DELAY lOOE 6 Query Synta...

Page 260: ...hat will be inserted The second parameter specifies the label bit number or overlay If OVERlay is specified all the bits of the label are displayed as a composite overlaid waveform Command Syntax MACHine 1 IP TWAVeform INSert c label name z c bit id z OVERlay where c label name z string of up to 6 alphanumeric characters bit id integer from 0 to 31 Example OUTPUT XXX MACHINEl TWAVEFORM INSERT WAVE...

Page 261: ...laced on patterns When TIME is selected the markers move on time In MSTats the markers are placed on patterns but the readouts will be time statistics The MMODe query returns the current marker mode MACHine l I2 lWAVeform MMODa OFF1 PATTern TIME1 MSTats OUTPUT XXX MACHINEl TWAVEFORM MMODE TIME MACHine l12 TWAVeform MMODe MACHine 1 2 lWAVeform MMODe c marker mode c NL OFFI PATTern ITIME MSTats 10 D...

Page 262: ...the current setting Command Syntax MACHine 1 12 TWAVeform OCONdition ENTering 1EXITing Example OUTPUT XXX MACHINE1 TWAVEFORM OCONOITION ENTERING Query Syntax MACHine l 12 TWAVeform OCONdition Returned Format MACHine 1 12 TWAVeform OCONdition ENTaring 1 EXITing c NL Example 10 DIM ocs loo 20 OUTPUT XXX MACHINE1 TWAVEFORM OCONDITION 30 ENTER XXX Oc 40 PRINT Oc 50 END WAVeform Subsystem 19 10 HP 1650...

Page 263: ...In whatever base is used the value must be between 0 and 2 1 since a label may not have more than 32 bits Because the c labelqattern parameter may contain don t cares it is handled as a string of characters rather than a number The OPATtern query in pattern marker mode returns the pattern specification for a given label name In the time marker mode the query returns the pattern under the 0 marker ...

Page 264: ...abel name Returned Format MACHine l 12 TWAVeform OPATternl label namez clabel pattern NL Example 10 DIM Op loo 20 OUTPUT XXX MACHINEl TWAVEFORM OPATTERN A 30 ENTER XXX Op 40 PRINT Op 50 END TWAVeform Subsystem 19 12 HP 1650B HP 1651B Programming Reference ...

Page 265: ...ker on the selected origin With a negative occurrence the marker searches before the origin With a positive occurrence the marker searches after the origin The OSEarch query returns the search criteria for the 0 marker Command Syntax MACHine l 12 TWAVeform OSEarch ocourrence 7 origin 7 where origin 7 TRIGger plAF er c occurrence 7 integer from 9999 to QQQQ Example OUTPUT XXX MACHINEl TWAVEFORM OSE...

Page 266: ... query returns 9 9E37 Command Syntax MACHine l IP TWAVeform OTIMe time value where time value real number 2 5Ks to 2 5Ks Example OUTPUT XXX MACHINEl TWAVEFORM OTIME 30 OE 6 Query Syntax MACHine lI2 TWAVeform OTIMe Returned Format MACHine l 2 TWAVeform OTIMe time value NLz Example 10 DIM Ot IO01 20 OUTPUT XXX MACHINEl TWAVEFORM OTIME 30 ENTER XXX Ot 40 PRINT Ott 50 END TWAVeform Subsystem 19 14 HP ...

Page 267: ...turns the current full screen time Command Syntax MACHine l 2 TWAVeform FIANGe time value where time range real number between 100 ns and 10 ks Example OUTPUT XXX MACHINEl TWAVEFORM RANGE lOOE 9 Query Syntax MACHine l j2 TWAVeform FiANGe Returned Format MACHine l IP TWAVeform RANGe time value cNL Example 10 DIM Rg loo 20 OUTPUT XXX MACHINEl TWAVEFORM RANGE 30 ENTER XXX Rg 40 PRINT Rg 50 END HP 165...

Page 268: ...mand The REMove command deletes all waveforms from the display Command Syntax MACHine l IP TWAVeform REMove Example OUTPUT XXX MACHINEl TWAVEFORM REMOVE TWAVeform Subsystem 19 16 HP 1650B HP 16518 Programming Reference ...

Page 269: ...nge between two time values End points for the INRange and OUTRange should be at least 10 11s apart since this is the minimum time at which data is sampled This command affects the timing analyzer only and has no relation to the RUNTil commands in the SLISt and COMPare subsystems The RUNTil query returns the current stop criteria Command Syntax MACHine 1 2 TWAVeform RUNTil c run until spec where c...

Page 270: ...orm RUNTil etUrfled Format MACHine 1 2 TWAVeform RUNTil run until spec c NL Example 10 DIM Ru loo 20 OUTPUT XXX MACHINE1 TWAVEFORM RUNTlL 30 ENTER XXX Rut 40 PRINT Ru 50 END TWAVeform Subsystem 18 18 HP 1850B HP 18518 Programming Reference ...

Page 271: ...ntax MACHine 1 2 TWAVeform SPERiod Returned Format MACHine l 2 TWAVeform SPEFliod time value NL where c time value real number Example 10 DIM Spf lDO 20 OUTPUT XXX MACHINEl TWAVEFORM SPERIOD 30 ENTER XXX Sp 40 PRINT Sp 50 END HP 1650B HP 16518 Programming Reference TWAVeform Subsystem 19 19 ...

Page 272: ...ata the query returns 9 9E37 Query Syntax MACHine l 12 TWAVeform TAVerage Returned Format MACHine l 12 TWAVeform TAVeragel time value NL where time value z real number Example 10 DIM Tv loo 20 OUTPUT XXX MACHINEl TWAVEFORM TAVERAGE 30 ENTER XXX Tv 40 PRINT Tv 50 END TWAVeform Subsystem 19 20 HP 1650B HP 16518 Programming Reference ...

Page 273: ...data the query returns 9 9E337 Query Syntax MACHine l 12 TWAVeform TMAXimum Returned Format MACHine 1 12 TWAVeform TMAXimum time value NL where c time value real number Example 10 DIM Tx lDO 20 OUTPUT XXX MACHINEl TWAVEFORM TMAXIMUM 30 ENTER XXX Tx 40 PRINT Tx 50 END HP 1650B HP 16518 Programming Reference TWAVeform Subsystem 19 21 ...

Page 274: ...s the value of the minimum time between the X and 0 markers If there is no valid data the query returns 9 9E37 MACHine 112 TWAVeform TMINimum MACHine 112 TWAVeform TMINimum z time value c NL real number 10 DIM Tm lOD 20 OUTPUT XXX MACHINE1 TWAVEFORM TMINIMUM 30 ENTER XXX Tm 40 PRINT Tm 50 END HP 1650B HP 16518 Programming Reference ...

Page 275: ...ing in valid delta time measurements Query Syntax MACHine ll2 lWAVeform VRUNs Returned Format MACHine 1 IP lWAVeform VRUNs valid runs Z total runs NL where valid runs zero or positive integer z total runs r zero or positive integer Example 10 DIM VrS loo 20 OUTPUT XXX MACHINEl TWAVEFORM VRUNS 30 ENTER XXX Vr 40 PRINT Vr 50 END HP 1650B HP 16518 Programming Reference TWAVeform Subsystem 19 23 ...

Page 276: ... point of the XPATtern when in the PATTern marker mode The XCONdition query returns the current setting MACHine 1 12 TWAVeform XCONdition ENTering IEXITing OUTPUT XXX MACHINEl TWAVEFORM XCONDITIDN ENTERING MACHine l 12 TWAVeform XCONdition MACHine 1 12 TWAVeform XCONditionl ENTering 1EXITing c NL 1 0 D I M Xc loo 20 OUTPUT XXX MACHINE1 TWAVEFORM XCONDITION 30 ENTER XXX Xc 40 PRINT Xc 50 END HP 165...

Page 277: ...ry returns 9 9E37 Query Syntax MACHine 1 2 TWAVeform XOTime Returned Format MACHine 1 2 TWAVeform XOTime time value NL where c time value real number Example 10 DIM Xot loo 20 OUTPUT XXX MACHINEl TWAVEFORM XOTIME 30 ENTER XXX Xot 40 PRINT Xot 50 END HP 1650B HP 1651B Programming Reference TWAVeform Subsystem 19 25 ...

Page 278: ...e is used the value must be between 0 and 2 1 since a label may not have more than 32 bits Because the c labelqattem parameter may contain don t cares it is handled as a string of characters rather than a number The XPATtern query in pattern marker mode returns the pattern specification for a given label name In the time marker mode the query returns the pattern under the X marker for a given labe...

Page 279: ...abel name Returned Format MACHine 112 lWAVeform XPATtern label name c label pattern NL Example 1 0 D I M Xpf loo 20 OUTPUT XXX MACHINEl TWAVEFORM XPATTERN A 30 ENTER XXX Xp 40 PRINT XpS 50 END HP 1650B HP 16518 Programming Reference TWAVeform Subsystem 19 27 ...

Page 280: ...actually searches for An occurrence of 0 zero places a marker on the origin The XSEarch query returns the search criteria for the X marker Command Syntax MACHine 112 TWAVeform XSEarch occurrence z origin where c origin TRlGger c occurrence integer from 9999 to 9999 Example OUTPUT XXX MACHINEl TWAVEFORM XSEARCH lO TRIGGER Query Syntax MACHine 1 2 TWAVeform XSEarch c occurrence origin B Returned For...

Page 281: ...id 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 MACHine l 2 TWAVeform XTIMe c time value real number from 2 5Ks to 2 5Ks OUTPUT XXX MACHlNEl TWAVEFORM XTIME 40 0E 6 MACHine l IP TWAVeform XTIMe MACHine 1 IP TWAVeform XTIMe time value c NLs 10 DIM Xt lOO 2 0 O U T P U T XX MACHINE1 TWAVEFORM XlIME 30 ENTER W Xt 40...

Page 282: ......

Page 283: ... allow you to define symbols on the controller and download them to the HP 1650B 51B logic analyzer The commands in this subsystem are l BASE l PATTern l RANGe l REMove l WIDTh label name l a b e l n a m e Figure 20 l SYMBol Subsystem Diagram HP 16SOB HP 16518 SYMBol Subsystem 20 l ...

Page 284: ... 8 9IAIBIC D E F X 1 O II2 3 4 5 6 7 8 9 start value B OI I 1 Q lWlWlWl7 I H 1 2 3 4 5 6 7 8I91AIBICIDIEIF 1 0 1 2 3 4 5 6 7 8 9 stop value B OI I I Q l l l l l l l I H O 1 2 3 4 5 6 7 8 9 AIBICIDIEIF 1 0 1 2 3 4 5 6 7 8 9 width value integerfrom 1 to 16 Figure 20 l SYMBol Subsystem Syntax Diagram continued SYMBol Subsystem 20 2 HP 1650B HP 165lB Programming Reference ...

Page 285: ...commands used to create symbols It always follows the MACHine selector because it selects a branch directly below the MACHine level in the command tree Command Syntax MACHine lI2 SYMBol Example OUTPUT XXX MACHINEl SYMBOL BASE DATA BINARY HP 1650B HP 16518 Programming Reference SYMBol Subsystem 20 3 ...

Page 286: ...Note b BINary is not available for labels with more than 20 bits assigned In this case the base will default to HEXadecimaI Command Syntax MACHine 112 SYMBol BASE c label name c base value where c label name string of up to 6 alphanumeric characters c base value BINary HEXadecimal 1OCTal DECimal 1ASCii Example OUTPUT XXX MACHINEl SYMBOL BASE OATA HEXADECIMAL SYMBol Subsystem 20 4 HP 1650B HP 16518...

Page 287: ... be used in a decimal number Command Syntax MACHine 1 IP SYMBol PATTern c label name c symbol name z z pattern value where label name string of up to 6 alphanumeric characters symbol name string of up to 16 alphanumeric characters pattern value B O lIX 1 Q O l 2 3 4 5 6 7 X I H O 1 1213141516171819jAIBICJDJEJFIX 1 O l 2 3 4 5 6 7 8 9 Example OUTPUT XXX MACtlINEl SYMBOL PATTERN S T A T MEM RD HOlXX...

Page 288: ...RANGe label name symbol name start value c stop value z where label name string of up to 6 alphanumeric characters c symbol name string of up to 16 alphanumeric characters start value B Oll 1 Q Ol112131415 617 I H Oll 2 3 4 5 6 7 8 9 AlBICIDIEIF I 0 1 2 3 4 5 6 7 8 9 c stop value B Oll I a 011 2 3 4 5 6 7 I H Oll 2 3 4 5 6 7 8 9 AlBIClolEIF 1 Oll 2 3 4 5 6 7 8 9 Example OUTPUT XXX MACHINEl SYMBOL ...

Page 289: ...ommand The REMove command deletes all symbols from a specified machine Command Syntax MACHine l IP SYMBol REMove Example OUTPUT XXX MACHINEl SYMBOL REMOVE HP 1650B HP 16518 Programming Reference SYMBol Subsystem 20 7 ...

Page 290: ...aracters in which the symbol names will be displayed when symbols are used The WIDTh command does not affect the displayed length of the symbol offset value MACHine l j2 SYMBol WiDTh c label name c width value string of up to 6 alphanumeric characters integer from 1 to 16 OUTPUT XXX MACHINEl SYMBOL WIDTH DATA 9V HP 1850B HP 16518 Programming Reference ...

Page 291: ...standard The IEEE 488 2 standard defines the message exchange protocols by which the instrument and the controller will communicate It also defines some common capabilities which are found in all IEEE 488 2 instruments This appendix also contains a few items which are not specifically defined by IEEE 488 2 but deal with message communication or system functions Note al dl The syntax and protocol f...

Page 292: ...first instrument is parsing and executing commands Output Queue The output queue of the instrument is the memory area where all output data response messages are stored until read by the controller Parser The instrument s parser is the component that interprets the commands sent to the instrument and decides what actions should be taken Parsing refers to the action taken by the parser to achieve t...

Page 293: ...input buffer and output queue are cleared and the parser is reset to the root level of the command tree The instrument and the controller communicate by exchanging complete program message s and response message s This means that the controller should always terminate a program message before attempting to read a response The instrument will terminate response message z s except during a hardcopy ...

Page 294: ...arameter is found to be out of range or if the current settings do not allow execution of a requested command or query Device specific Error A device specific error will be reported if the instrument is unable to execute a command for a strictly device dependent reason Query Error A query error will be reported if the proper protocol for reading a query is not followed This includes the interrupte...

Page 295: ...hings about the syntax you need to know This appendix also contains the details of the IEEE 488 2 defined syntax IEEE 488 2 defines the blocks used to build messages which are sent to the instrument A whole string of commands can therefore be broken up into individual components Figure A l shows a breakdown of an example program message There are a few key items to notice 1 A semicolon separates c...

Page 296: ...ple of a compound header It places the parser in the machine subsystem until the NL is encountered 6 A colon preceding the command header returns you to the top of the command tree Message Communication and System Functions A 6 HP 1650B HP 1651B ...

Page 297: ...ta program mnemon o program d a t a p r o g r a m doto I OSEARCH 30 TRIGGER T 7 decimal numeric program data program data 30 TRIGGER program header program header separator progrcm dota I program message terminator SP N L T white space NL DELAY wh 1 t e space dec mol program data suffix program data 3 0 SP ns HP 1650B HP 1661B wh i t e space suffix multiplier SUfflX unit s Figure A l c program mes...

Page 298: ... equivalent The mnemonic SINGLE has the same semantic meaning as the mnemcnic single c white space white space is defined to be one or more characters from the ASCII set of 0 32 decimal excluding 10 decimal NL white space 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 Co...

Page 299: ...d to the root of the command tree after executing a complete program message Refer to the Tree Traversal Rules in the Programming and Documentation Conventions chapter for more details HP 1650WHP 16518 Figure A 3 c program message program message unit The c program message unit is the container for individual commands within a program message query mersqge u n i t Figure A 4 c program message unit...

Page 300: ...ssage unit program data separator _ I query prOgrOm program header program doto header separator 51 iZOlBLI2 Figure A 6 query message unit Message Communication and System Functions HP 1650B HP 16518 A 10 Programming Reference ...

Page 301: ...Figure A 7 c program message unit separator C command program header I c query program header These elements serve as the headers of commands or queries They represent the action to be taken i i compound comnand program header Y cornnon comnond program header t Figure A 8 command program header Message Communication and System Functions A 11 ...

Page 302: ...per lower case alpha d i g i t Where upper Dower case alpha is defined as a single ASCII encoded byte in the range 41 5A 61 7A 65 90 97 122 decimal Where c digit is defined as a single ASCII encoded byte in the range 30 39 48 57 decimal where _ represents an underscore a single ASCII encoded byte with the value SF 95 decimal Figure A 8 c command program header continued Message Communication and S...

Page 303: ...le query program header is defined as mere c compound query program header is defined as mere K common quey program header is defined as HP 1650B HP 16518 Programming Reference Figure A 9 c query program header Message Communication and System Functions A 13 ...

Page 304: ...B will accept the following data types character program data decimal numeric program data suffer program data string program data and arbitrary block program data I program data Figure A 10 c program data Figure A l 1 c character program data Message Communication and System Functions A 14 HP 1650B HP 16518 Programming Reference ...

Page 305: ...d i g i t w optional digits I Where c optional digits is defined as py where c exponent B is defined as Figure A 12 c decimal numeric program data HP 1650B HP 1651B Message Communication and System Functions Programming Reference A 15 ...

Page 306: ... A l Table A l c suffix mult Value Mnemonic lE18 EX lEl5 PE lE12 T lE9 G lE6 MA lE3 K lE 3 M lE 6 U lE 9 N lE 12 P lE 15 F lE 18 A Suff v Unit The suffm units that the instrument will accept are shown in table A 2 Table A 2 c suffix unit Message Communication and System Functions A 16 HP 1650B HP 1651B Programming Reference ...

Page 307: ...ecimal Where c non single quote char is defined as a single ASCII character of any value except 27 39 decimal 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 c string program data Message Communication and System Functions A l ...

Page 308: ...fined as an bit byte in the range 00 FF 0 255 decimal Figure A 15 c arbitrary block program data c program data separator A comma separates multiple data parameters of a command from one another Jxz T y llt Figure A 16 c program data separator T Message Communication and System Functions A 16 HP 1650B HP 16518 Programming Reference ...

Page 309: ... The c program message terminator or PMT serves as the terminator to a complete c program message When the parser sees a complete c program message it will begin execution of the commands within that message The c PMT also resets the parser to the root of the command tree Where c NL is defined as a single ASCII encoded byte QA 10 decimal Figure A 18 c program message terminator Message Communicati...

Page 310: ...ic white space NRl numeric response data SYSTEM ARMBNC 1 I I response messaoe unit response message terminator response header response header separator response data TWAVEFORM DELAY y7 3 8E 9 r response mnemonic response mnemonic whitespace NR3 numertc response data TWAVEFORM DELA r 3 8E 9 165OWBL30 Figure A 19 c response message Tree Message Communication and System Functions A 20 HP 1650B HP 16...

Page 311: ...ent It is the result of the instrument executing and buffering the results from a complete c program message The complete c response message should be read before sending another c program message to the instrument Figure A 20 c response message c response message unit This element serves as the container of individual pieces of a response Typically a z query message unit will generate one c respo...

Page 312: ...ed as where c compound response header is defined as where c common response header is dejined as HP 1650B HP 16518 Programming Reference response mnemcJn i c I Figure A 21 response message unit Message Communication and System Functions A 22 ...

Page 313: ...ure A 21 c response message unit Continued c response data The c response data element represents the various types of data which the instrument may return These types include character response data c nrl numeric response data c nr3 numeric response data string response data c definite length arbitrary block response data and c arbitrary ASCII response data 1 CreSpOnSe mnemon i c t Figure A 22 c ...

Page 314: ...YtZcvBLbr I Figure A 23 c nrl numeric response data inserted Figure A 24 c nr3 numeric response data Figure A 25 c string response data Message Communication and System Functions HP 1650B HP 16518 A 24 Programming Reference ...

Page 315: ... that contains arbitrary ASCII characters 2 The IEEE 483 1 END message serves the dual function of terminatii this element as well as terminating the RESPONSE MESSAGE It is only sent once with the last byte of the indefinite block data The NL is present for consistency with the c RESPONSE MESSAGE TERMINATOR Indefinite block data format is not supported in the HP 1650B 1651B Figure A 27 c arbitrary...

Page 316: ... of data Figure A 29 c response header separator c response message unit separator A semicolon delimits the response message unit s if multiple responses are returned Figure A 30 c response message unit separator C response message terminator A response message terminator NL terminates a complete c response message It should be read from the instrument along with the response itself Message Commun...

Page 317: ...on within the command tree More information about the command tree and tree traversal can be found in the Programming and Documentation Conventions chapter Table A 3 HP 165OB 51B s Common Commands Command Command Name CL 3 ESE ESE ESR IDN opt oPc RST SRE SRE STB wAI Clear Status Command Event Status Enable Command Event Status Enable Query Event Status Register Query Identification Query Operation...

Page 318: ......

Page 319: ...the case of queues the summary bit is set if the queue is not empty For registers the summary bit is set if any enabled bit in the event register is set The events are enabled via the corresponding event enable register Events captured by an event register remain set until the register is read or cleared Registers are read with their associated commands The CL command clears all event registers an...

Page 320: ... 2 1 NOTE URQ A N D ROC NOT IMPLEMENTED ml 0 ERS L O G I C A L O R QUEUES O OUTPUT M MESSAGE M R E M L I 3 SOSAC GSEVL 2 W STBl SRE 1 Figure B l Status Byte Structures and Concepts HP 1650B HP 16518 Programming Reference ...

Page 321: ...Indicates whether there is a response in the output queue ESB event status bit Indicates if any of the conditions in the Standard Event Status Register are set and enabled MSS master summary status Indicates whether the device has a reason for requesting service This bit is returned for the SIB query RQS request service Indicates if the device is requesting service This bit is returned during a se...

Page 322: ...emote to local Indicates whether a remote to local transition has occurred MSB module summary bit Indicates that an enable event in one of the modules Status registers has occurred Key Features A few of the most important features of Status Reporting are listed in the following paragraphs Operation Complete The IEEE 488 2 structure provides one technique which can be used to find out if any operat...

Page 323: ... Master Summary Status bit read with STB and other bits of the 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 STATUS SUMMARY MESSAGES HP 1660B HP 16518 Programming Reference READ BY SERIAL POLL ISTATUS BYTE REGISTER I f READ BY ST67 SERVICE REOUEST ENABLE REGISTER l SRE NRf SRE Figure B 2 Service Request E...

Page 324: ...is the address of the oscilloscope in the this example The command for checking the printer is Stat SPOLL 701 because the address of that instrument is 01 on bus address 7 This command reads the contents of the HP IB Status Register into the variable called Stat At that time bit 6 of the variable Stat can be tested to see if it is set bit 6 1 The serial poll operation can be conducted in the follo...

Page 325: ...7 command causes much more to happen on the bus than simply reading the register This command clears the bus automatically addresses the talker and listener sends SPE serial poll enable and SPD serial poll disable bus commands and reads the data For more information about serial poll refer to your controller manual and programming language reference manuals After the serial poll is completed the R...

Page 326: ...r any combination of these two ways When responding collectively the result is a logical AND True High or logical OR True Low of the groups of status bits Figure B 2 shows the Parallel Poll Data Structure The summary bit is sent in response to a Parallel Poll This summary bit is the ist individual status local message The Parallel Poll Enable Register determines which events are summarized in the ...

Page 327: ...ONS SUt MARY MESSAGE STATUS BYTE 1 11 I I 4 T i r 1 0 L T I 4 L r I 4 I 1 I 0 PARALLEL POLL ENABLE REGISTER l PRE rPRE 1 r Figure B 3 Parallel Poll Data Structure HP 1650B HP 16618 Status Reporting Programming Reference B 9 ...

Page 328: ...r can then be programmed by the PPC parallel Poll Configure statement No multiple listeners can be specified in this statement If more than one device is to respond on a single bit each device must be configured with a separate PPC statement Example ASSIGN Device TO 707 PPOLL CONFIGURE Device Mask The value of Mask any numeric expression can be specified is first rounded and then used to configure...

Page 329: ...sponse PPOLL 7 Disabling Parallel Poll The PPU Parallel Poll Unconfigure statement gives the controller the Responses capability of disabling the parallel poll responses of one or more devices on the bus Examples The following statement disables device 5 only PPOLL UNCONFIGURE 705 This statement disables all devices on interface select code 8 from responding to a parallel poll PPOLL UNCONFIGURE 8 ...

Page 330: ...able 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 Table B l Parallel Poll ...

Page 331: ...messages that relate to the HP 1650ABlA Logic Analyzers Device Dependent 200 Label not found Errors 201 Pattern string invalid 202 Qualifier invalid 203 Data not available 300 RS 232C error HP 1650B HP 16518 Programming Reference Error Messages c 1 ...

Page 332: ...low 129 Missing numeric argument 130 Non numeric argument error character string or block 131 Wrong data type character expected 132 Wrong data type string expected 133 Wrong data type block type D required 134 Data overflow string or block too long l39 Missing non numeric argument 142 Too many arguments 143 Argument delimiter error 144 Invalid message unit delimiter Error Messages c 2 HP 1650B HP...

Page 333: ...nflict 212 Argument out of range 221 Busy doing something else 222 Insufficient capability or configuration 232 Output buffer full or overflow 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 HP 1650B HP 16518 Programming Reference Error Messages c 3 ...

Page 334: ...AM error 311 RAM failure hardware error 312 RAM data loss software error 313 Calibration data loss 320 ROM error 321 ROM checksum 322 Hardware and Firmware incompatible 330 Power on test failed 340 Self Test failed 350 Too Many Errors Error queue overflow Error Messages c 4 HP 1650B HP 16518 Programming Reference ...

Page 335: ...r generic 410 Query INTERRUPTED 420 Query UNTERMINATED 421 Query received Indefinite block response in progress 422 Addressed to Talk Nothing to Say 430 Query DEADLOCKED HP 1650B HP 1651B Programming Reference Error Messages C 5 ...

Page 336: ......

Page 337: ...ery 14 4 15 4 19 6 Acquisition data 6 11 Addressed talk listen mode 2 2 AMODe command query 18 4 Analyzer 1 Data Information 6 9 Analyzer 2 Data Information 6 11 Angular brackets 4 3 Arguments l 4 ARM command query lo 4 ARMBnc command 6 4 ASSign command query lo 5 AUToload command query 7 4 AUToscale command 10 6 Cable RS 232C 3 2 CATalog query 7 5 chart display 15 l Clear To Send CTS 3 4 CLOCk co...

Page 338: ... LOCKout 3 7 6 24 LONGform l 13 6 25 MACHine 10 3 MASTer 11 8 MENU 6 26 MESE 6 27 MMODe 13 10 19 g N A M E 10 7 OCONdition 19 10 OPATtern 13 l 19 11 OSEarch 13 13 19 13 OTAG 13 15 OTIMe 9 19 14 PACK 7 11 PATTern 18 9 2O 5 PREstore 12 10 PRINt 6 32 PURGe 7 12 RANGe 12 12 14 7 16 g 19 15 20 6 REMove 11 9 14 8 17 5 19 16 2O 7 REName 7 13 RESTart 12 14 RMODe 6 33 Run Control 6 1 RUNTil 13 16 16 10 19 ...

Page 339: ... Glitch 6 14 Transitional Timing 6 15 Data bits 3 5 3 6 g Bit mode 3 6 Data block Acquisition data 6 11 Analyzer 1 data 6 9 Analyzer 2 data 6 11 Data preamble 6 8 Section data 6 8 Section header 6 8 Data Carrier Detect DCD 3 4 DATA command query 6 5 6 17 16 6 16 7 Data Communications Equipment 3 1 Data mode 2 l Data preamble 6 8 DATA query 13 8 Data Set Ready DSR 3 4 Data Terminal Equipment 3 l Da...

Page 340: ...12 HP IB device address 2 3 HP IB interface 2 2 HP IB interface code 2 3 HP IB interface functions 2 l I IASSembler command 7 10 IEEE 488 1 2 1 A l IEEE 488 1 bus commands 2 5 IEEE 488 2 A l IEEE 488 2 Standard l l IFC 2 5 Infinity 4 2 Initiahzation l 11 INITiaIize command 7 8 Input buffer A 2 INSert command 14 6 19 g Instruction headers l 3 Instruction parameters l 4 Instruction syntax l 2 Instru...

Page 341: ...ubsystem 7 1 MMODe command query 13 10 19 9 Mnemonics 1 9 4 l MSB B 4 MSG B 3 MSS B 3 Multiple numeric variables 1 18 Multiple program commands l 10 NAME command query 10 7 New Line character l 10 N L l 10 4 3 Notation conventions 4 2 Numeric base 1 16 Numeric bases l 9 Numeric data l 9 Numeric variables 1 16 0 OCONdition command query 19 10 OPATtern command query 13 ll 13 12 19 ll 19 12 OPC B 4 O...

Page 342: ...e terminator l 16 Program syntax l 2 Programming conventions 4 2 Protocol 3 5 A 3 None 3 5 XON XOFF 3 5 Protocol exceptions A 4 Protocols A 2 PURGe command 7 12 Query l 3 1 7 1 14 ESE 5 4 ESR 5 6 IDN 5 8 opt 5 9 SRE 5 11 STB 5 13 Accumulate 14 4 15 4 19 6 AMODe 18 4 A R M 10 4 ARMBnc 6 4 ASSign 10 5 AUToload 7 4 BRANch 12 5 CATalog 7 5 CLOCk 11 4 CMASk 16 4 COLumn 8 3 l3 6 CPERiod 11 5 DATA 6 5 l3...

Page 343: ...3 19 26 XSEarch 13 25 19 28 XSTate g 4 13 26 XTAG 13 27 XTIMe 9 6 19 29 Query errors C 5 Query responses l 12 4 2 Question mark l 7 QYE B 4 R RANGe command 20 6 RANGe command query 12 12 12 U 14 7 16 9 19 15 Receive Data RD 3 2 3 3 Remote 2 4 Remote enable 2 4 REMove command 11 9 14 8 17 j 19 16 20 7 REN 2 4 REName command 7 13 Request To Send RTS 3 4 Response data 1 17 Response message A 21 Respo...

Page 344: ...g data l 9 String variables l 15 Subsystem COMPare 16 1 DLIST 8 l MACHine 10 l MMEMory 7 l SCHart 15 1 SFORmat 11 1 SLISt 13 1 STRace 12 1 SWAVeform 14 1 SYMBol 20 l TFORmat 17 1 ITRace 18 1 TWAVeform 19 1 WL1st 9 l Subsystem commands 4 4 Suffix multiplier A 16 Suffix units A 16 SWAVeform selector 14 3 SWAVeform Subsystem 14 l SYMBol selector 20 3 SYMBol Subsystem 20 l Syntax A 8 Syntax diagram Co...

Page 345: ...9 5 TWAVeform Subsystem 19 1 TYPE command query 10 8 X XCONdition command query 19 24 XOTag query 13 22 XOTime query 19 25 XF ATtern command query 13 23 13 24 19 26 19 27 L cr XSEarch command query 13 25 19 28 1 3 XSTate q u e r y 9 4 13 26 XTAG command query U 27 I XTIMe command query 9 6 19 29 x x x 4 3 4 5 XXX meaning of l 3 I U Uxljts 1 9 UPLoad query 7 15 Uppercase 1 8 URQ B 3 V VAXis command...

Page 346: ......

Reviews: