Input Bandwidth 1 GHz 500 MHz 300 MHz 100 MHz 4 analog + 16 MSO6104A/L MSO6054A/L MSO6034A MSO6014A/L digital (mixed-signal) 2 analog + 16 MSO6102A MSO6052A MSO6032A MSO6012A digital (mixed-signal) 4 analog DSO6104A/L DSO6054A/L DSO6034A DSO6014A/L 2 analog DSO6102A DSO6052A...
Page 4
Mixed-Signal Because both the "analog channels only" oscilloscopes (DSO models) and Oscilloscope the mixed- signal oscilloscopes (MSO models) have analog channels, topics Channel that describe analog channels refer to all oscilloscope models. Whenever a Differences topic describes digital channels, that information applies only to the mixed- signal oscilloscope models.
Contents In This Book 1 What's New What's New in Version 4.10 What's New in Version 4.00 What's New in Version 3.50 What's New in Version 3.00 Command Differences From 54620/54640 Series Oscilloscopes 2 Commands Quick Reference Command Summary Syntax Elements Number Format <NL>...
Agilent 6000 Series Oscilloscopes Programmer's Reference What's New What's New in Version 4.10 What's New in Version 4.00 What's New in Version 3.50 What's New in Version 3.00 Command Differences From 54620/54640 Series Oscilloscopes...
What's New What's New in Version 4.10 New features in version 4.10 of the 6000 Series oscilloscope software are: • The ability to trigger on and decode FlexRay serial bus data using a Decomsys BusDoctor 2 protocol analyzer with a four- channel mixed- signal oscilloscope that includes the Option FRS license.
Page 19
What's New Command Description :TRIGger:FLEXray:TIME:SEGMent (see Sets/queries the FlexRay segment type. page 379) :TRIGger:FLEXray:TIME:SLOT (see page 380) Sets/queries the FlexRay slot type and ID. :TRIGger:FLEXray:TRIGger (see page 381) Sets/queries the FlexRay trigger mode.. Changed Commands Command Differences :FUNCtion:OPERation (see page 217) You can now select the SQRT (square root) waveform math function.
What's New What's New in Version 4.00 New features in version 4.00 of the 6000 Series oscilloscope software are: • The ability to :AUToscale selected channels only and specify the acquisition type and mode that is set after an :AUToscale. •...
Page 21
What's New Changed Commands Command Differences :AUToscale (see page 105) You can now specify which channels to autoscale. :BLANk (see page 109) Now, you can also use this command with digital channel buses. :DIGitize (see page 111) Now, you can also use this command with digital channel buses.
What's New What's New in Version 3.50 New features in version 3.50 of the 6000 Series oscilloscope software are: • The CAN and LIN options have been added to the :SBUS:MODE (serial decode mode) command. • The :SBUS:CAN:COUNt commands have been added to count CAN bus frames, count load utilization, and reset the counters.
Page 23
What's New Command Description :TRIGger:LIN:SAMPlepoint (see page 402) Sets the point during the bit time where the bit level is sampled to determine whether the bit is dominant or recessive. The sample point represents the percentage of time between the beginning of the bit time to the end of the bit time.
What's New What's New in Version 3.00 New features in version 3.00 of the 6000 Series oscilloscope software are: • The :SBUS command subsystem for controlling serial decode bus display, mode, and other options. • The EBURst trigger mode and supporting :TRIGger:EBURst commands. •...
Page 25
What's New Command Description :TRIGger:EBURst:COUNt (see page 361) Sets the Nth edge of burst edge counter resource. :TRIGger:EBURst:IDLE (see page 362) Sets the Nth edge in a burst idle resource. :TRIGger:EBURst:SLOPe (see page 361) Specifies whether the rising edge (POSitive) or falling edge (NEGative) of the Nth edge in a burst will generate a trigger.
What's New Command Differences From 54620/54640 Series Oscilloscopes The main differences between the version 1.00 programming command set for the 6000 Series oscilloscopes and the 54620/54640 Series oscilloscopes are related to: • :HARDcopy and :DISPlay command subsystem changes for USB printers and the high resolution color display.
Page 27
What's New Command Description :HARDcopy:PALette (see page 230) Sets the hardcopy palette color. Replaces the 5462x/4x :HARDcopy:GRAYscale (see page 510) command. :OPERegister:CONDition? (see page 122) Returns the integer value contained in the “Operation Status Condition Register" page 122 (a new register in addition to the “Operation Status Event Register"...
Page 28
What's New Command Differences From 5462x/4x Oscilloscopes *OPT (see page The Option Identification query return format now has license information (in addition to the I/O module ID information fields which are now always zero). :OVLRegister (see page 128) The Overload Event Register is now a 16-bit register (instead of 8-bit) and it contains bits that identify when faults occur on the oscilloscope channels (in addition to the bits...
Page 29
What's New Command Differences From 5462x/4x Oscilloscopes :WAVeform:XINCrement (see page 463) The x-increment value from the preamble is returned in 64-bit (instead of 32-bit) floating point NR3 format. :WAVeform:YREFerence (see page 468) The y-reference value from the preamble is returned in 32-bit (instead of 16-bit) NR1 format.
Page 30
What's New Agilent 6000 Series Oscilloscopes Programmer's Reference...
*ESR? (see page <status> ::= 0 to 255; an integer in NR1 format *IDN? (see page AGILENT TECHNOLOGIES,<model>, <serial number>,X.XX.XX <model> ::= the model number of the instrument <serial number> ::= the serial number of the instrument <X.XX.XX> ::= the software revision...
Page 34
Commands Quick Reference Table 2 Common (*) Commands Summary (continued) Command Query Options and Query Returns *STB? (see page <value> ::= 0 to 255; an integer in NR1 format, as shown in the following: Bit Weight Name "1" Indicates --- ------ ---- --------------- OPER Operation status condition occurred.
Page 35
Commands Quick Reference Table 3 Root (:) Commands Summary (continued) Command Query Options and Query Returns :AUToscale:CHANnels :AUToscale:CHANnels? <value> ::= {ALL | DISPlayed}} <value> (see page 108) (see page 108) :BLANk [<source>] (see <source> ::= {CHANnel<n>} | FUNCtion page 109) | MATH | SBUS} for DSO models <source>...
Page 36
Commands Quick Reference Table 3 Root (:) Commands Summary (continued) Command Query Options and Query Returns :OVLenable <mask> (see :OVLenable? (see <mask> ::= 16-bit integer in NR1 page 126) page 127) format as shown: Bit Weight Input --- ------ ---------- 1024 Ext Trigger Fault Channel 4 Fault...
Page 38
Commands Quick Reference Table 5 :BUS<n> Commands Summary Command Query Options and Query Returns :BUS<n>:BIT<m> {{0 | :BUS<n>:BIT<m>? (see {0 | 1} OFF} | {1 | ON}} (see page 152) <n> ::= 1 or 2; an integer in NR1 page 152) format <m>...
Page 39
Commands Quick Reference Table 6 :CALibrate Commands Summary Command Query Options and Query Returns :CALibrate:DATE? (see <return value> ::= page 160) <day>,<month>,<year>; all in NR1 format :CALibrate:LABel :CALibrate:LABel? (see <string> ::= quoted ASCII string up <string> (see page 161) page 161) to 32 characters :CALibrate:STARt (see...
Page 40
Commands Quick Reference Table 7 :CHANnel<n> Commands Summary (continued) Command Query Options and Query Returns :CHANnel<n>:LABel :CHANnel<n>:LABel? (see <string> ::= any series of 6 or less <string> (see page 175) page 175) ASCII characters enclosed in quotation marks <n> ::= 1-2 or 1-4 in NR1 format :CHANnel<n>:OFFSet :CHANnel<n>:OFFSet? <offset>...
Page 41
Commands Quick Reference Table 8 :DIGital<n> Commands Summary Command Query Options and Query Returns :DIGital<n>:DISPlay {{0 :DIGital<n>:DISPlay? {0 | 1} | OFF} | {1 | ON}} (see (see page 188) <n> ::= 0-15; an integer in NR1 page 188) format :DIGital<n>:LABel :DIGital<n>:LABel? (see <string>...
Page 43
Commands Quick Reference Table 10 :EXTernal Trigger Commands Summary (continued) Command Query Options and Query Returns :EXTernal:PROBe:ID? <probe id> ::= unquoted ASCII string (see page 207) up to 11 characters :EXTernal:PROBe:STYPe :EXTernal:PROBe:STYPe? <signal type> ::= {DIFFerential | <signal type> (see (see page 208)
Page 44
Commands Quick Reference Table 11 :FUNCtion Commands Summary (continued) Command Query Options and Query Returns :FUNCtion:REFerence :FUNCtion:REFerence? <level> ::= the current reference <level> (see page 219) (see page 219) level in NR3 format. The range of legal values is from 400.0 dBV to +400.0 dBV (depending on current range value).
Page 45
Commands Quick Reference Table 12 :HARDcopy Commands Summary (continued) Command Query Options and Query Returns :HARDcopy:PALette :HARDcopy:PALette? (see <palette> ::= {COLor | GRAYscale} <palette> (see page 230) page 230) :HARDcopy:PDRiver :HARDcopy:PDRiver? (see <driver> ::= {AP2Xxx | AP21xx | <driver> (see page 231) page...
Page 46
Commands Quick Reference Table 13 :MARKer Commands Summary (continued) Command Query Options and Query Returns :MARKer:Y1Position :MARKer:Y1Position? <position> ::= Y1 cursor position <position>[suffix] (see (see page 240) value in NR3 format page 240) [suffix] ::= {V | mV | dB} <return_value>...
Page 47
Commands Quick Reference Table 14 :MEASure Commands Summary (continued) Command Query Options and Query Returns :MEASure:DELay :MEASure:DELay? <source1,2> ::= {CHANnel<n> | [<source1>] [<source1>] FUNCtion | MATH} [,<source2>] (see [,<source2>] (see <n> ::= 1-2 or 1-4 in NR1 format page 255) page 255) <return_value>...
Page 48
Commands Quick Reference Table 14 :MEASure Commands Summary (continued) Command Query Options and Query Returns :MEASure:OVERshoot :MEASure:OVERshoot? <source> ::= {CHANnel<n> | FUNCtion [<source>] (see [<source>] (see | MATH} page 261) page 261) <n> ::= 1-2 or 1-4 in NR1 format <return_value>...
Page 49
Commands Quick Reference Table 14 :MEASure Commands Summary (continued) Command Query Options and Query Returns :MEASure:SDEViation :MEASure:SDEViation? <source> ::= {CHANnel<n> | FUNCtion [<source>] (see [<source>] (see | MATH} page 268) page 268) <n> ::= 1-2 or 1-4 in NR1 format <return_value>...
Page 50
Commands Quick Reference Table 14 :MEASure Commands Summary (continued) Command Query Options and Query Returns :MEASure:TVALue? <value> ::= voltage level that the <value>, waveform must cross. [<slope>]<occurrence> <slope> ::= direction of the [,<source>] (see waveform when <value> is crossed. page 274) <occurrence>...
Page 51
Commands Quick Reference Table 14 :MEASure Commands Summary (continued) Command Query Options and Query Returns :MEASure:VMIN :MEASure:VMIN? <source> ::= {CHANnel<n> | FUNCtion [<source>] (see [<source>] (see | MATH} page 280) page 280) <n> ::= 1-2 or 1-4 in NR1 format <return_value>...
Page 52
Commands Quick Reference Table 14 :MEASure Commands Summary (continued) Command Query Options and Query Returns :MEASure:XMAX :MEASure:XMAX? <source> ::= {CHANnel<n> | FUNCtion [<source>] (see [<source>] (see | MATH} page 285) page 285) <n> ::= 1-2 or 1-4 in NR1 format <return_value>...
Page 53
Commands Quick Reference Table 16 :SBUS Commands Summary (continued) Command Query Options and Query Returns :SBUS:BUSDoctor:MODE :SBUS:BUSDoctor:MODE? <mode> ::= {ASYNchronous | <mode> (see page 297) (see page 297) SYNChronous | PC} :SBUS:CAN:COUNt:ERRor? <frame_count> ::= integer in NR1 (see page 298) format :SBUS:CAN:COUNt:OVERloa <frame_count>...
Page 54
Commands Quick Reference Table 17 :SYSTem Commands Summary Command Query Options and Query Returns :SYSTem:DATE <date> :SYSTem:DATE? (see <date> ::= <year>,<month>,<day> (see page 313) page 313) <year> ::= 4-digit year in NR1 format <month> ::= {1,..,12 | JANuary | FEBruary | MARch | APRil | MAY | JUNe | JULy | AUGust | SEPtember | OCTober | NOVember | DECember} <day>...
Page 55
Commands Quick Reference Table 18 :TIMebase Commands Summary (continued) Command Query Options and Query Returns :TIMebase:SCALe :TIMebase:SCALe? (see <scale_value> ::= scale value in <scale_value> (see page 327) seconds in NR3 format page 327) :TIMebase:VERNier {{0 | :TIMebase:VERNier? (see {0 | 1} OFF} | {1 | ON}} (see page 328)
Page 56
Commands Quick Reference Table 19 General :TRIGger Commands Summary (continued) Command Query Options and Query Returns :TRIGger:PATTern :TRIGger:PATTern? (see <value> ::= 32-bit integer or <value>, <mask> [,<edge page 341) <string> source>,<edge>] (see <mask> ::= 32-bit integer or page 340) <string> <string>...
Page 57
Commands Quick Reference Table 20 :TRIGger:CAN Commands Summary (continued) Command Query Options and Query Returns :TRIGger:CAN:PATTern:ID :TRIGger:CAN:PATTern:ID <value> ::= 32-bit integer in <value>, <mask> (see ? (see page 347) decimal, <nondecimal>, or <string> page 347) (with Option AMS) <mask> ::= 32-bit integer in decimal, <nondecimal>, or <string>...
Page 58
Commands Quick Reference Table 21 :TRIGger:DURation Commands Summary Command Query Options and Query Returns :TRIGger:DURation:GREat :TRIGger:DURation:GREat <greater than time> ::= erthan <greater than erthan? (see page 355) floating-point number from 5 ns to time>[suffix] (see 10 seconds in NR3 format page 355) [suffix] ::= {s | ms | us | ns | ps}...
Page 59
Commands Quick Reference Table 23 :TRIGger[:EDGE] Commands Summary Command Query Options and Query Returns :TRIGger[:EDGE]:COUPlin :TRIGger[:EDGE]:COUPlin {AC | DC | LF} g {AC | DC | LF} (see g? (see page 365) page 365) :TRIGger[:EDGE]:LEVel :TRIGger[:EDGE]:LEVel? For internal triggers, <level> ::= <level>...
Page 61
Commands Quick Reference Table 25 :TRIGger:GLITch Commands Summary (continued) Command Query Options and Query Returns :TRIGger:GLITch:LEVel :TRIGger:GLITch:LEVel? For internal triggers, <level> ::= <level> [<source>] (see (see page 386) .75 x full-scale voltage from center page 386) screen in NR3 format. For external triggers, <level>...
Page 62
Commands Quick Reference Table 26 :TRIGger:IIC Commands Summary Command Query Options and Query Returns :TRIGger:IIC:PATTern:AD :TRIGger:IIC:PATTern:AD <value> ::= integer or <string> DRess <value> (see DRess? (see page 392) <string> ::= "0xnn" n ::= {0,..,9 | page 392) A,..,F} :TRIGger:IIC:PATTern:DA :TRIGger:IIC:PATTern:DA <value>...
Page 63
Commands Quick Reference Table 27 :TRIGger:LIN Commands Summary Command Query Options and Query Returns :TRIGger:LIN:ID <value> :TRIGger:LIN:ID? (see <value> ::= 7-bit integer in (see page 401) page 401) decimal, <nondecimal>, or <string> from 0-63 or 0x00-0x3f (with Option AMS) <nondecimal> ::= #Hnn where n ::= {0,..,9 | A,..,F} for hexadecimal <nondecimal>...
Page 64
Commands Quick Reference Table 28 :TRIGger:SEQuence Commands Summary Command Query Options and Query Returns :TRIGger:SEQuence:COUNt :TRIGger:SEQuence:COUNt <count> ::= integer in NR1 format <count> (see page 409) ? (see page 409) :TRIGger:SEQuence:EDGE{ :TRIGger:SEQuence:EDGE{ <source> ::= {CHANnel<n> | EXTernal} 1|2} <source>, <slope> 1|2}? (see page 410)
Page 65
Commands Quick Reference Table 29 :TRIGger:SPI Commands Summary Command Query Options and Query Returns :TRIGger:SPI:CLOCk:SLOP :TRIGger:SPI:CLOCk:SLOP <slope> ::= {NEGative | POSitive} e <slope> (see e? (see page 417) page 417) :TRIGger:SPI:CLOCk:TIMe :TRIGger:SPI:CLOCk:TIMe <time_value> ::= time in seconds in out <time_value> (see out? (see page 418)
Page 66
Commands Quick Reference Table 30 :TRIGger:TV Commands Summary Command Query Options and Query Returns :TRIGger:TV:LINE <line :TRIGger:TV:LINE? (see <line number> ::= integer in NR1 number> (see page 426) page 426) format :TRIGger:TV:MODE <tv :TRIGger:TV:MODE? (see <tv mode> ::= {FIEld1 | FIEld2 | mode>...
Page 67
Commands Quick Reference Table 32 :WAVeform Commands Summary Command Query Options and Query Returns :WAVeform:BYTeorder :WAVeform:BYTeorder? <value> ::= {LSBFirst | MSBFirst} <value> (see page 444) (see page 444) :WAVeform:COUNt? (see <count> ::= an integer from 1 to page 445) 65536 in NR1 format :WAVeform:DATA? (see <binary block length bytes>, <binary page...
Page 69
Commands Quick Reference Table 32 :WAVeform Commands Summary (continued) Command Query Options and Query Returns :WAVeform:YORigin? (see <return_value> ::= y-origin in the page 467) current preamble in NR3 format :WAVeform:YREFerence? <return_value> ::= y-reference value (see page 468) in the current preamble in NR1 format Agilent 6000 Series Oscilloscopes Programmer's Reference...
Commands Quick Reference For example, <A> ::= <B> indicates that <A> can be replaced by <B> in any statement containing <A>. < > (Angle Brackets) < > Angle brackets enclose words or characters that symbolize a program code parameter or an interface command..
Page 72
Commands Quick Reference #800001000<1000 bytes of data> <NL> 8 is the number of digits that follow 00001000 is the number of bytes to be transmitted <1000 bytes of data> is the actual data Agilent 6000 Series Oscilloscopes Programmer's Reference...
Agilent 6000 Series Oscilloscopes Programmer's Reference Commands by Subsystem Subsystem Description "Common (*) Commands" on page 75 Commands defined by IEEE 488.2 standard that are common to all instruments. "Root (:) Commands" on page 100 Control many of the basic functions of the oscilloscope and reside at the root level of the command tree.
Page 74
Commands by Subsystem Subsystem Description ":POD Commands" on page 287 Control all oscilloscope functions associated with groups of digital channels. ":SBUS Commands" on page 292 Control oscilloscope functions associated with the serial decode bus. ":SYSTem Commands" on page 312 Control basic system functions of the oscilloscope.
*ESR? (see page <status> ::= 0 to 255; an integer in NR1 format *IDN? (see page AGILENT TECHNOLOGIES,<model>, <serial number>,X.XX.XX <model> ::= the model number of the instrument <serial number> ::= the serial number of the instrument <X.XX.XX> ::= the software revision...
Page 77
Commands by Subsystem Table 33 Common (*) Commands Summary (continued) Command Query Options and Query Returns *STB? (see page <value> ::= 0 to 255; an integer in NR1 format, as shown in the following: Bit Weight Name "1" Indicates --- ------ ---- --------------- OPER Operation status condition occurred.
Page 78
Commands by Subsystem Each of the status registers has an enable (mask) register. By setting the bits in the enable N O T E register, you can select the status information you want to use. Agilent 6000 Series Oscilloscopes Programmer's Reference...
Commands by Subsystem *CLS (Clear Status) (see page 564) Command Syntax *CLS The *CLS common command clears the status data structures, the device- defined error queue, and the Request- for- OPC flag. If the *CLS command immediately follows a program message terminator, the output queue N O T E and the MAV (message available) bit are cleared.
Commands by Subsystem *ESE (Standard Event Status Enable) (see page 564) Command Syntax *ESE <mask_argument> <mask_argument> ::= integer from 0 to 255 The *ESE common command sets the bits in the Standard Event Status Enable Register. The Standard Event Status Enable Register contains a mask value for the bits to be enabled in the Standard Event Status Register.
Commands by Subsystem Table 34 Standard Event Status Enable (ESE) (continued) Name Description When Set (1 = High = True), Enables: Request Control Event when the device is requesting control. (Not used.) Operation Complete Event when an operation is complete. Query Syntax *ESE? The *ESE? query returns the current contents of the Standard Event...
Commands by Subsystem *ESR (Standard Event Status Register) (see page 564) Query Syntax *ESR? The *ESR? query returns the contents of the Standard Event Status Register. When you read the Event Status Register, the value returned is the total bit weights of all of the bits that are high at the time you read the byte.
Page 83
Commands by Subsystem Table 35 Standard Event Status Register (ESR) (continued) Name Description When Set (1 = High = True), Indicates: Request Control The device is requesting control. (Not used.) Operation Complete Operation is complete. Return Format <status><NL> <status> ::= 0,..,255; an integer in NR1 format. Reading the Standard Event Status Register clears it.
*IDN? The *IDN? query identifies the instrument type and software version. Return Format AGILENT TECHNOLOGIES,<model>,<serial number>,X.XX.XX <NL> <model> ::= the model number of the instrument <serial number> ::= the serial number of the instrument X.XX.XX ::= the software revision of the instrument See Also •...
Commands by Subsystem *LRN (Learn Device Setup) (see page 564) Query Syntax *LRN? The *LRN? query result contains the current state of the instrument. This query is similar to the :SYSTem:SETup? (see page 317) query, except that it contains ":SYST:SET " before the binary block data. The query result is a valid command that can be used to restore instrument settings at a later time.
Commands by Subsystem *OPC (Operation Complete) (see page 564) Command Syntax *OPC The *OPC command sets the operation complete bit in the Standard Event Status Register when all pending device operations have finished. Query Syntax *OPC? The *OPC? query places an ASCII "1" in the output queue when all pending device operations have completed.
Commands by Subsystem *OPT (Option Identification) (see page 564) Query Syntax *OPT? The *OPT? query reports the options installed in the instrument. This query returns a string that identifies the module and its software revision level. Return Format 0,0,<license info> <license info>...
Commands by Subsystem *RST (Reset) (see page 564) Command Syntax *RST The *RST command places the instrument in a known state. Reset conditions are: Acquire Menu Mode Normal Realtime Averaging # Averages Analog Channel Menu Channel 1 Channel 2 Volts/division 5.00 V Offset 0.00...
Page 90
Commands by Subsystem Digital Channel Menu (MSO models only) Labels Threshold TTL (1.4V) Display Menu Definite persistence Grid Vectors Quick Meas Menu Source Channel 1 Run Control Scope is running Time Base Menu Main time/division 100 us Main time base delay 0.00 s Delay time/division 500 ns...
Page 91
Commands by Subsystem Trigger Menu Holdoff 60 ns External probe attenuation AutoProbe (if AutoProbe is connected), otherwise 1.0:1 External Units Volts External Impedance 1 M Ohm See Also • "Introduction to Common (*) Commands" on page 77 Example Code ' RESET - This command puts the oscilloscope into a known state. ' This statement is very important for programs to work as expected.
Commands by Subsystem *SAV (Save) (see page 564) Command Syntax *SAV <value> <value> ::= {0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9} The *SAV command stores the current state of the instrument in a save register.
Commands by Subsystem *SRE (Service Request Enable) (see page 564) Command Syntax *SRE <mask> <mask> ::= integer with values defined in the following table. The *SRE command sets the bits in the Service Request Enable Register. The Service Request Enable Register contains a mask value for the bits to be enabled in the Status Byte Register.
Page 94
Commands by Subsystem Table 36 Service Request Enable Register (SRE) (continued) Name Description When Set (1 = High = True), Enables: Event Status Bit Interrupts when enabled conditions in the Standard Event Status Register (ESR) occur. Message Available Interrupts when messages are in the Output Queue.
Commands by Subsystem *STB (Read Status Byte) (see page 564) Query Syntax *STB? The *STB? query returns the current value of the instrument's status byte. The MSS (Master Summary Status) bit is reported on bit 6 instead of the RQS (request service) bit. The MSS indicates whether or not the device has at least one reason for requesting service.
Page 96
Commands by Subsystem Table 37 Status Byte Register (STB) (continued) Name Description When Set (1 = High = True), Indicates: Request Service When polled, that the device is requesting service. Master Summary Status When read (by *STB?), whether the device has a reason for requesting service.
Commands by Subsystem *TRG (Trigger) (see page 564) Command Syntax *TRG The *TRG command has the same effect as the :DIGitize command with no parameters. See Also • "Introduction to Common (*) Commands" on page 77 • ":DIGitize" on page 111 •...
Commands by Subsystem *TST (Self Test) (see page 564) Query Syntax *TST? The *TST? query performs a self- test on the instrument. The result of the test is placed in the output queue. A zero indicates the test passed and a non- zero indicates the test failed.
Commands by Subsystem *WAI (Wait To Continue) (see page 564) Command Syntax *WAI The *WAI command has no function in the oscilloscope, but is parsed for compatibility with other instruments. See Also • "Introduction to Common (*) Commands" on page 77 Agilent 6000 Series Oscilloscopes Programmer's Reference...
Commands by Subsystem Root (:) Commands Control many of the basic functions of the oscilloscope and reside at the root level of the command tree. See "Introduction to Root (:) Commands" on page 102. Table 38 Root (:) Commands Summary Command Query Options and Query Returns...
Page 101
Commands by Subsystem Table 38 Root (:) Commands Summary (continued) Command Query Options and Query Returns :DIGitize <source> ::= {CHANnel<n> | FUNCtion [<source>[,..,<source>] | MATH | SBUS} for DSO models ] (see page 111) <source> ::= {CHANnel<n> | DIGital0,..,DIGital15 | POD{1 | 2} | BUS{1 | 2} | FUNCtion | MATH | SBUS} for MSO models <source>...
Commands by Subsystem :ACTivity (see page 564) Command Syntax :ACTivity The :ACTivity command clears the cumulative edge variables for the next activity query. Query Syntax :ACTivity? The :ACTivity? query returns whether there has been activity (edges) on the digital channels since the last query, and returns the current logic levels.
Commands by Subsystem :AER (Arm Event Register) (see page 564) Query Syntax :AER? The AER query reads the Arm Event Register. After the Arm Event Register is read, it is cleared. A "1" indicates the trigger system is in the armed state, ready to accept a trigger.
Commands by Subsystem :AUToscale (see page 564) Command Syntax :AUToscale :AUToscale [<source>[,..,<source>]] <source> ::= CHANnel<n> for the DSO models <source> ::= {DIGital0,..,DIGital15 | POD1 | POD2 | CHANnel<n>} for the MSO models <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n>...
Page 106
Commands by Subsystem See Also • "Introduction to Root (:) Commands" on page 102 • ":AUToscale:CHANnels" on page 108 • ":AUToscale:AMODE" on page 107 Example Code ' AUTOSCALE - This command evaluates all the input signals and sets ' the correct conditions to display all of the active signals. myScope.WriteString ":AUTOSCALE"...
Commands by Subsystem :AUToscale:AMODE (see page 564) Command Syntax :AUToscale:AMODE <value> <value> ::= {NORMal | CURRent} The :AUTOscale:AMODE command specifies the acquisition mode that is set by subsequent :AUToscales. • When NORMal is selected, an :AUToscale command sets the NORMal acquisition type and the RTIMe (real- time) acquisition mode.
Commands by Subsystem :AUToscale:CHANnels (see page 564) Command Syntax :AUToscale:CHANnels <value> <value> ::= {ALL | DISPlayed} The :AUTOscale:CHANnels command specifies which channels will be displayed on subsequent :AUToscales. • When ALL is selected, all channels that meet the requirements of :AUToscale will be displayed.
Commands by Subsystem :BLANk (see page 564) Command Syntax :BLANk [<source>] <source> ::= {CHANnel<n> | FUNCtion | MATH | SBUS} for the DSO models <source> ::= {CHANnel<n> | DIGital0,..,DIGital15 | POD{1 | 2} | BUS{1 | 2} | FUNCtion | MATH | SBUS} for the MSO models <n>...
Commands by Subsystem :CDISplay (see page 564) Command Syntax :CDISplay The :CDISplay command clears the display and resets all associated measurements. If the oscilloscope is stopped, all currently displayed data is erased. If the oscilloscope is running, all the data in active channels and functions is erased;...
Commands by Subsystem :DIGitize (see page 564) Command Syntax :DIGitize [<source>[,..,<source>]] <source> ::= {CHANnel<n> | FUNCtion | MATH | SBUS} for the DSO models <source> ::= {CHANnel<n> | DIGital0,..,DIGital15 | POD{1 | 2} | BUS{1 | 2} | FUNCtion | MATH | SBUS} for the MSO models <n>...
Page 112
Commands by Subsystem ' less than or equal to the maximum sample rate, the full 1000 points ' will be digitized in a single acquisition. Now, use 1 us/div ' (10 us across the screen). 1000 divided by 10 us equals 100 MSa/s; ' because this is greater than the maximum sample rate by 5 times, ' only 400 points (or 1/5 the points) can be gathered on a single ' trigger.
Commands by Subsystem :HWEenable (Hardware Event Enable Register) (see page 564) Command Syntax :HWEenable <mask> <mask> ::= 16-bit integer The :HWEenable command sets a mask in the Hardware Event Enable register. Set any of the following bits to "1" to enable bit 12 in the Operation Status Condition Register and potentially cause an SRQ (Service Request interrupt to be generated.
Page 114
Commands by Subsystem See Also • "Introduction to Root (:) Commands" on page 102 • ":AER (Arm Event Register)" on page 104 • ":CHANnel<n>:PROTection" on page 181 • ":EXTernal:PROTection" on page 209 • ":OPERegister[:EVENt] (Operation Status Event Register)" on page 124 •...
Commands by Subsystem :HWERegister:CONDition (Hardware Event Condition Register) (see page 564) Query Syntax :HWERegister:CONDition? The :HWERegister:CONDition? query returns the integer value contained in the Hardware Event Condition Register. Table 40 Hardware Event Condition Register Name Description When Set (1 = High = True), Indicates: 15-13 (Not used.) PLL Locked...
Page 116
Commands by Subsystem • ":OVLenable (Overload Event Enable Register)" on page 126 • ":OVLRegister (Overload Event Register)" on page 128 • "*STB (Read Status Byte)" on page 95 • "*SRE (Service Request Enable)" on page 93 Agilent 6000 Series Oscilloscopes Programmer's Reference...
Commands by Subsystem :HWERegister[:EVENt] (Hardware Event Event Register) (see page 564) Query Syntax :HWERegister[:EVENt]? The :HWERegister[:EVENt]? query returns the integer value contained in the Hardware Event Event Register. Table 41 Hardware Event Event Register Name Description When Set (1 = High = True), Indicates: 15-13 (Not used.) PLL Locked...
Page 118
Commands by Subsystem • ":OVLenable (Overload Event Enable Register)" on page 126 • ":OVLRegister (Overload Event Register)" on page 128 • "*STB (Read Status Byte)" on page 95 • "*SRE (Service Request Enable)" on page 93 Agilent 6000 Series Oscilloscopes Programmer's Reference...
Commands by Subsystem :OPEE (Operation Status Enable Register) (see page 564) Command Syntax :OPEE <mask> <mask> ::= 16-bit integer The :OPEE command sets a mask in the Operation Status Enable register. Set any of the following bits to "1" to enable bit 7 in the Status Byte Register and potentially cause an SRQ (Service Request interrupt to be generated.
Page 121
Commands by Subsystem Table 42 Operation Status Enable Register (OPEE) (continued) Name Description When Set (1 = High = True), Enables: Running Event when the oscilloscope is running (not stopped). (Not used.) Query Syntax :OPEE? The :OPEE? query returns the current value contained in the Operation Status Enable register as an integer number.
Commands by Subsystem :OPERegister:CONDition (Operation Status Condition Register) (see page 564) Query Syntax :OPERegister:CONDition? The :OPERegister:CONDition? query returns the integer value contained in the Operation Status Condition Register. Table 43 Operation Status Condition Register Name Description When Set (1 = High = True), Indicates: 15-13 (Not used.) Hardware Event...
Page 123
Commands by Subsystem Return Format <value><NL> <value> ::= integer in NR1 format. See Also • "Introduction to Root (:) Commands" on page 102 • ":CHANnel<n>:PROTection" on page 181 • ":EXTernal:PROTection" on page 209 • ":OPEE (Operation Status Enable Register)" on page 120 •...
Commands by Subsystem :OPERegister[:EVENt] (Operation Status Event Register) (see page 564) Query Syntax :OPERegister[:EVENt]? The :OPERegister[:EVENt]? query returns the integer value contained in the Operation Status Event Register. Table 44 Operation Status Event Register Name Description When Set (1 = High = True), Indicates: 15-13 (Not used.) Hardware Event...
Page 125
Commands by Subsystem Return Format <value><NL> <value> ::= integer in NR1 format. See Also • "Introduction to Root (:) Commands" on page 102 • ":CHANnel<n>:PROTection" on page 181 • ":EXTernal:PROTection" on page 209 • ":OPEE (Operation Status Enable Register)" on page 120 •...
Commands by Subsystem :OVLenable (Overload Event Enable Register) (see page 564) Command Syntax :OVLenable <enable_mask> <enable_mask> ::= 16-bit integer The overload enable mask is an integer representing an input as described in the following table. The :OVLenable command sets the mask in the Overload Event Enable Register and enables the reporting of the Overload Event Register.
Page 127
Commands by Subsystem Table 45 Overload Event Enable Register (OVL) (continued) Description When Set (1 = High = True), Enables: Channel 2 Fault Event when fault occurs on Channel 2 input. Channel 1 Fault Event when fault occurs on Channel 1 input. (Not used.) External Trigger OVL Event when overload occurs on External Trigger...
Commands by Subsystem :OVLRegister (Overload Event Register) (see page 564) Query Syntax :OVLRegister? The :OVLRegister query returns the overload protection value stored in the Ω Overload Event Register (OVLR). If an overvoltage is sensed on a 50 Ω input, the input will automatically switch to 1 M input impedance.
Page 129
Commands by Subsystem Table 46 Overload Event Register (OVLR) (continued) Description When Set (1 = High = True), Indicates: External Trigger OVL Overload has occurred on External Trigger input. Channel 4 OVL Overload has occurred on Channel 4 input. Channel 3 OVL Overload has occurred on Channel 3 input.
Commands by Subsystem :PRINt (see page 564) Command Syntax :PRINt [<options>] <options> ::= [<print option>][,..,<print option>] <print option> ::= {COLor | GRAYscale | PRINter0 | BMP8bit | BMP | PNG | NOFactors | FACTors} The <print option> parameter may be repeated up to 5 times. The PRINt command formats the output according to the currently selected format (device).
Commands by Subsystem :RUN (see page 564) Command Syntax :RUN The :RUN command starts repetitive acquisitions. This is the same as pressing the Run key on the front panel. See Also • "Introduction to Root (:) Commands" on page 102 •...
Commands by Subsystem :SERial (see page 564) Query Syntax :SERial? The :SERial? query returns the serial number of the instrument. Return Format: Unquoted string<NL> See Also • "Introduction to Root (:) Commands" on page 102 Agilent 6000 Series Oscilloscopes Programmer's Reference...
Commands by Subsystem :SINGle (see page 564) Command Syntax :SINGle The :SINGle command causes the instrument to acquire a single trigger of data. This is the same as pressing the Single key on the front panel. See Also • "Introduction to Root (:) Commands" on page 102 •...
Commands by Subsystem :STATus (see page 564) Query Syntax :STATus? <source> <source> ::= {CHANnel<n> | FUNCtion | MATH | SBUS} for the DSO models <source> ::= {CHANnel<n> | DIGital0,..,DIGital15 | POD{1 | 2} | BUS{1 | 2} | FUNCtion | MATH | SBUS} for the MSO models <n>...
Commands by Subsystem :STOP (see page 564) Command Syntax :STOP The :STOP command stops the acquisition. This is the same as pressing the Stop key on the front panel. See Also • "Introduction to Root (:) Commands" on page 102 •...
Commands by Subsystem :TER (Trigger Event Register) (see page 564) Query Syntax :TER? The :TER? query reads the Trigger Event Register. After the Trigger Event Register is read, it is cleared. A one indicates a trigger has occurred. A zero indicates a trigger has not occurred. The Trigger Event Register is summarized in the TRG bit of the Status Byte Register (STB).
Commands by Subsystem :ACQuire Commands Set the parameters for acquiring and storing data. See "Introduction to :ACQuire Commands" on page 138. Table 47 :ACQuire Commands Summary Command Query Options and Query Returns :ACQuire:AALias? (see {1 | 0} page 140) :ACQuire:COMPlete :ACQuire:COMPlete? (see <complete>...
Page 139
Commands by Subsystem The :ACQuire:TYPE AVERage command sets the oscilloscope in the averaging mode. You can set the count by sending the :ACQuire:COUNt command followed by the number of averages. In this mode, the value for averages is an integer from 1 (smoothing) to 65536. The COUNt value determines the number of averages that must be acquired.
Commands by Subsystem :ACQuire:AALias (see page 564) Query Syntax :ACQuire:AALias? The :ACQuire:AALias? query returns the current state of the oscilloscope acquisition anti- alias control. This control can be directly disabled or disabled automatically. Return Format <value><NL> <value> ::= {1 | 0} See Also •...
Commands by Subsystem :ACQuire:COMPlete (see page 564) Command Syntax :ACQuire:COMPlete <complete> <complete> ::= 100; an integer in NR1 format The :ACQuire:COMPlete command affects the operation of the :DIGitize command. It specifies the minimum completion criteria for an acquisition. The parameter determines the percentage of the time buckets that must be "full"...
Commands by Subsystem :ACQuire:COUNt (see page 564) Command Syntax :ACQuire:COUNt <count> <count> ::= integer in NR1 format In averaging mode, the :ACQuire:COUNt command specifies the number of values to be averaged for each time bucket before the acquisition is considered to be complete for that time bucket. When :ACQuire:TYPE is set to AVERage, the count can be set to any value from 1 (smoothing) to 65536.
Commands by Subsystem :ACQuire:DAALias (see page 564) Command Syntax :ACQuire:DAALias <mode> <mode> ::= {DISable | AUTO} The :ACQuire:DAALias command sets the disable anti- alias mode of the oscilloscope. When set to DISable, anti- alias is always disabled. This is good for cases where dithered data is not desired.
Commands by Subsystem :ACQuire:MODE (see page 564) Command Syntax :ACQuire:MODE <mode> <mode> ::= {RTIMe | ETIMe} The :ACQuire:MODE command sets the acquisition mode of the oscilloscope. The :ACQuire:MODE RTIMe command sets the oscilloscope in real time mode. This mode is useful to inhibit equivalent time sampling at fast sweep speeds.
Commands by Subsystem :ACQuire:POINts (see page 564) Query Syntax :ACQuire:POINts? The :ACQuire:POINts? query returns the number of data points that the hardware will acquire from the input signal. The number of points acquired is not directly controllable. To set the number of points to be transferred from the oscilloscope, use the command :WAVeform:POINts.
Commands by Subsystem :ACQuire:RSIGnal (see page 564) Command Syntax :ACQuire:RSIGnal <ref_signal_mode> <ref_signal_mode> ::= {OFF | OUT | IN} The :ACQuire:RSIGnal command selects the 10 MHz reference signal mode. • The OFF mode disables the oscilloscope's 10 MHz REF BNC connector. •...
Commands by Subsystem :ACQuire:SRATe (see page 564) Query Syntax :ACQuire:SRATe? The :ACQuire:SRATe? query returns the current oscilloscope acquisition sample rate. The sample rate is not directly controllable. Return Format <sample_rate><NL> <sample_rate> ::= sample rate in NR3 format See Also • "Introduction to :ACQuire Commands"...
Commands by Subsystem :ACQuire:TYPE (see page 564) Command Syntax :ACQuire:TYPE <type> <type> ::= {NORMal | AVERage | HRESolution | PEAK} The :ACQuire:TYPE command selects the type of data acquisition that is to take place. The acquisition types are: NORMal, AVERage, HRESolution, and PEAK.
Page 149
Commands by Subsystem • ":ACQuire:COUNt" on page 142 • ":ACQuire:MODE" on page 144 • ":DIGitize" on page 111 • ":WAVeform:TYPE" on page 460 • ":WAVeform:PREamble" on page 453 Example Code ' AQUIRE_TYPE - Sets the acquisition mode, which can be NORMAL, ' PEAK, or AVERAGE.
Commands by Subsystem :BUS<n> Commands Control all oscilloscope functions associated with buses made up of digital channels. See "Introduction to :BUS<n> Commands" on page 151. Table 48 :BUS<n> Commands Summary Command Query Options and Query Returns :BUS<n>:BIT<m> {{0 | :BUS<n>:BIT<m>? (see {0 | 1} OFF} | {1 | ON}} (see page...
Page 151
Commands by Subsystem Introduction to <n> ::= {1 | 2} :BUS<n> The BUS subsystem commands control the viewing, labeling, and digital Commands channel makeup of two possible buses. These commands are only valid for the MSO models. N O T E Reporting the Setup Use :BUS<n>? to query setup information for the BUS subsystem.
Commands by Subsystem :BUS<n>:BIT<m> (see page 564) Command Syntax :BUS<n>:BIT<m> <display> <display> ::= {{1 | ON} | {0 | OFF}} <n> ::= An integer, 1 or 2, is attached as a suffix to BUS and defines the bus that is affected by the command. <m>...
Commands by Subsystem :BUS<n>:BITS (see page 564) Command Syntax :BUS<n>:BITS <channel_list>, <display> <channel_list> ::= (@<m>,<m>:<m>, ...) where commas separate bits and colons define bit ranges. <m> ::= An integer, 0,..,15, defines a digital channel affected by the command. <display> ::= {{1 | ON} | {0 | OFF}} <n>...
Page 154
Commands by Subsystem ' Include digital channels 1 through 5, 8, and 14 in bus 1: myScope.WriteString ":BUS1:BITS (@1:5,8,14), ON" Agilent 6000 Series Oscilloscopes Programmer's Reference...
Commands by Subsystem :BUS<n>:CLEar (see page 564) Command Syntax :BUS<n>:CLEar <n> ::= An integer, 1 or 2, is attached as a suffix to BUS and defines the bus that is affected by the command. The :BUS<n>:CLEar command excludes all of the digital channels from the selected bus definition.
Commands by Subsystem :BUS<n>:DISPlay (see page 564) Command Syntax :BUS<n>:DISplay <value> <value> ::= {{1 | ON} | {0 | OFF}} <n> ::= An integer, 1 or 2, is attached as a suffix to BUS and defines the bus that is affected by the command. The :BUS<n>:DISPlay command enables or disables the view of the selected bus.
Commands by Subsystem :BUS<n>:LABel (see page 564) Command Syntax :BUS<n>:LABel <quoted_string> <quoted_string> ::= any series of 16 or less characters as a quoted ASCII string. <n> ::= An integer, 1 or 2, is attached as a suffix to BUS and defines the bus that is affected by the command. The :BUS<n>:LABel command sets the bus label to the quoted string.
Commands by Subsystem :BUS<n>:MASK (see page 564) Command Syntax :BUS<n>:MASK <mask> <mask> ::= 32-bit integer in decimal, <nondecimal>, or <string> <nondecimal> ::= #Hnn...n where n ::= {0,..,9 | A,..,F} for hexadecimal <nondecimal> ::= #Bnn...n where n ::= {0 | 1} for binary <string>...
Commands by Subsystem :CALibrate Commands Utility commands for viewing calibration status and for starting the user calibration procedure. See "Introduction to :CALibrate Commands" page 159. Table 49 :CALibrate Commands Summary Command Query Options and Query Returns :CALibrate:DATE? (see <return value> ::= page 160) <day>,<month>,<year>;...
Commands by Subsystem :CALibrate:DATE (see page 564) Query Syntax :CALibrate:DATE? The :CALibrate:DATE? query returns the date of the last calibration. Return Format <date><NL> <date> ::= day,month,year in NR1 format<NL> See Also • "Introduction to :CALibrate Commands" on page 159 Agilent 6000 Series Oscilloscopes Programmer's Reference...
Commands by Subsystem :CALibrate:LABel (see page 564) Command Syntax :CALibrate:LABel <string> <string> ::= quoted ASCII string of up to 32 characters in length, not including the quotes The CALibrate:LABel command saves a string that is up to 32 characters in length into the instrument's non- volatile memory. The string may be used to record calibration dates or other information as needed.
Commands by Subsystem :CALibrate:STARt (see page 564) Command Syntax :CALibrate:STARt The CALibrate:STARt command starts the user calibration procedure. Before starting the user calibration procedure, you must set the rear panel CALIBRATION N O T E switch to UNPROTECTED, and you must connect BNC cables from the TRIG OUT connector to the analog channel inputs.
Commands by Subsystem :CALibrate:STATus (see page 564) Query Syntax :CALibrate:STATus? The :CALibrate:STATus? query returns the summary results of the last user calibration procedure. Return Format <return value><NL> <return value> ::= ALL,<status_code>,<status_string> <status_code> ::= an integer status code <status_string> ::= an ASCII status string See Also •...
Commands by Subsystem :CALibrate:SWITch (see page 564) Query Syntax :CALibrate:SWITch? The :CALibrate:SWITch? query returns the rear- panel calibration protect (CAL PROTECT) switch state. The value PROTected indicates calibration is disabled, and UNPRotected indicates calibration is enabled. Return Format <switch><NL> <switch> ::= {PROT | UNPR} See Also •...
Commands by Subsystem :CALibrate:TEMPerature (see page 564) Query Syntax :CALibrate:TEMPerature? The :CALibrate:TEMPerature? query returns the change in temperature since the last user calibration procedure. Return Format <return value><NL> <return value> ::= degrees C delta since last cal in NR3 format See Also •...
Commands by Subsystem :CALibrate:TIME (see page 564) Query Syntax :CALibrate:TIME? The :CALibrate:TIME? query returns the time of the last calibration. Return Format <date><NL> <date> ::= hour,minutes,seconds in NR1 format See Also • "Introduction to :CALibrate Commands" on page 159 Agilent 6000 Series Oscilloscopes Programmer's Reference...
Commands by Subsystem :CHANnel<n> Commands Control all oscilloscope functions associated with individual analog channels or groups of channels. See "Introduction to :CHANnel<n> Commands" on page 168. Table 50 :CHANnel<n> Commands Summary Command Query Options and Query Returns :CHANnel<n>:BWLimit {{0 :CHANnel<n>:BWLimit? {0 | 1} | OFF} | {1 | ON}} (see (see...
Page 168
Commands by Subsystem Table 50 :CHANnel<n> Commands Summary (continued) Command Query Options and Query Returns :CHANnel<n>:PROBe:STYPe :CHANnel<n>:PROBe:STYPe <signal type> ::= {DIFFerential | <signal type> (see ? (see page 180) SINGle} page 180) <n> ::= 1-2 or 1-4 in NR1 format :CHANnel<n>:PROTection :CHANnel<n>:PROTection? {NORM | TRIP}...
Page 169
Commands by Subsystem Use :CHANnel1?, :CHANnel2?, :CHANnel3? or :CHANnel4? to query setup information for the CHANnel<n> subsystem. Return Format The following are sample responses from the :CHANnel<n>? query. In this case, the query was issued following a *RST command. :CHAN1:RANG +40.0E+00;OFFS +0.00000E+00;COUP DC;IMP ONEM;DISP 1;BWL 0; INV 0;LAB "1";UNIT VOLT;PROB +10E+00;PROB:SKEW +0.00E+00;STYP SING Agilent 6000 Series Oscilloscopes Programmer's Reference...
Commands by Subsystem :CHANnel<n>:COUPling (see page 564) Command Syntax :CHANnel<n>:COUPling <coupling> <coupling> ::= {AC | DC} <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n> ::= {1 | 2} for the two channel oscilloscope models The :CHANnel<n>:COUPling command selects the input coupling for the specified channel.
Commands by Subsystem :CHANnel<n>:DISPlay (see page 564) Command Syntax :CHANnel<n>:DISPlay <display value> <display value> ::= {{1 | ON} | {0 | OFF}} <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n> ::= {1 | 2} for the two channel oscilloscope models The :CHANnel<n>:DISPlay command turns the display of the specified channel on or off.
Commands by Subsystem :CHANnel<n>:IMPedance (see page 564) Command Syntax :CHANnel<n>:IMPedance <impedance> <impedance> ::= {ONEMeg | FIFTy} <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n> ::= {1 | 2} for the two channel oscilloscope models The :CHANnel<n>:IMPedance command selects the input impedance setting for the specified analog channel.
Commands by Subsystem :CHANnel<n>:INVert (see page 564) Command Syntax :CHANnel<n>:INVert <invert value> <invert value> ::= {{1 | ON} | {0 | OFF} <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n> ::= {1 | 2} for the two channel oscilloscope models The :CHANnel<n>:INVert command selects whether or not to invert the input signal for the specified channel.
Commands by Subsystem :CHANnel<n>:LABel (see page 564) Command Syntax :CHANnel<n>:LABel <string> <string> ::= quoted ASCII string <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n> ::= {1 | 2} for the two channel oscilloscope models Label strings are six characters or less, and may contain any commonly used ASCII N O T E characters.
Commands by Subsystem :CHANnel<n>:PROBe (see page 564) Command Syntax :CHANnel<n>:PROBe <attenuation> <attenuation> ::= probe attenuation ratio in NR3 format <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n> ::= {1 | 2} for the two channel oscilloscope models The obsolete attenuation values X1, X10, X20, X100 are also supported.
Commands by Subsystem :CHANnel<n>:PROBe:ID (see page 564) Query Syntax :CHANnel<n>:PROBe:ID? <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n> ::= {1 | 2} for the two channel oscilloscope models The :CHANnel<n>:PROBe:ID? query returns the type of probe attached to the specified oscilloscope channel.
Commands by Subsystem :CHANnel<n>:PROBe:STYPe (see page 564) Command Syntax This command is valid only for the 113xA Series probes. N O T E :CHANnel<n>:PROBe:STYPe <signal type> <signal type> ::= {DIFFerential | SINGle} <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n>...
Commands by Subsystem :CHANnel<n>:PROTection (see page 564) Command Syntax :CHANnel<n>:PROTection[:CLEar] <n> ::= {1 | 2 | 3 | 4} Ω When the analog channel input impedance is set to 50 (on the 300 MHz, 500 MHz, and 1 GHz bandwidth oscilloscope models), the input channels are protected against overvoltage.
Commands by Subsystem :CHANnel<n>:RANGe (see page 564) Command Syntax :CHANnel<n>:RANGe <range>[<suffix>] <range> ::= vertical full-scale range value in NR3 format <suffix> ::= {V | mV} <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n>...
Commands by Subsystem :CHANnel<n>:SCALe (see page 564) Command Syntax :CHANnel<n>:SCALe <scale>[<suffix>] <scale> ::= vertical units per division in NR3 format <suffix> ::= {V | mV} <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n>...
Commands by Subsystem :CHANnel<n>:UNITs (see page 564) Command Syntax :CHANnel<n>:UNITs <units> <units> ::= {VOLTs | AMPeres} <n> ::= {1 | 2} for the two channel oscilloscope models <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models The :CHANnel<n>:UNITs command sets the measurement units for the connected probe.
Commands by Subsystem :CHANnel<n>:VERNier (see page 564) Command Syntax :CHANnel<n>:VERNier <vernier value> <vernier value> ::= {{1 | ON} | {0 | OFF} <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n> ::= {1 | 2} for the two channel oscilloscope models The :CHANnel<n>:VERNier command specifies whether the channel's vernier (fine vertical adjustment) setting is ON (1) or OFF (0).
Commands by Subsystem :DIGital<n> Commands Control all oscilloscope functions associated with individual digital channels. See "Introduction to :DIGital<n> Commands" on page 186. Table 51 :DIGital<n> Commands Summary Command Query Options and Query Returns :DIGital<n>:DISPlay {{0 :DIGital<n>:DISPlay? {0 | 1} | OFF} | {1 | ON}} (see (see page 188)
Page 187
Commands by Subsystem Return Format The following is a sample response from the :DIGital0? query. In this case, the query was issued following a *RST command. :DIG0:DISP 0;THR +1.40E+00;LAB 'D0';POS +0 Agilent 6000 Series Oscilloscopes Programmer's Reference...
Commands by Subsystem :DIGital<n>:DISPlay (see page 564) Command Syntax :DIGital<n>:DISPlay <display> <display> ::= {{1 | ON} | {0 | OFF}} <n> ::= An integer, 0, 1,..,15, is attached as a suffix to the command and defines the logic channel that is affected by the command. The :DIGital<n>:DISPlay command turns digital display on or off for the specified channel.
Commands by Subsystem :DIGital<n>:LABel (see page 564) Command Syntax :DIGital<n>:LABel <string> <string> ::= any series of 6 or less characters as quoted ASCII string. <n> ::= An integer, 0,..,15, is attached as a suffix to the command and defines the logic channel that is affected by the command. The :DIGital<n>:LABel command sets the channel label to the string that follows.
Commands by Subsystem :DIGital<n>:POSition (see page 564) Command Syntax :DIGital<n>:POSition <position> <position> ::= integer in NR1 format. <n> ::= An integer, 0, 1,..,15, is attached as a suffix to the command and defines the logic channel that is affected by the command. Channel Size Position Bottom...
Commands by Subsystem :DIGital<n>:SIZE (see page 564) Command Syntax :DIGital<n>:SIZE <value> <n> ::= An integer, 0, 1,..,15, is attached as a suffix to the command and defines the logic channel that is affected by the command. <value> ::= {SMALl | MEDium | LARGe} The :DIGital<n>:SIZE command specifies the size of digital channels on the display.
Commands by Subsystem :DIGital<n>:THReshold (see page 564) Command Syntax :DIGital<n>:THReshold <value> <value> ::= {CMOS | ECL | TTL | <user defined value>[<suffix>]} <user defined value> ::= -8.00 to +8.00 in NR3 format <suffix> ::= {V | mV | uV} <n> ::= An integer, 0, 1,..,15, is attached as a suffix to the command and defines the logic channel that is affected by the command.
Commands by Subsystem :DISPlay Commands Control how waveforms, graticule, and text are displayed and written on the screen. See "Introduction to :DISPlay Commands" on page 193. Table 52 :DISPlay Commands Summary Command Query Options and Query Returns :DISPlay:CLEar (see page 195) :DISPlay:DATA :DISPlay:DATA?
Page 194
Commands by Subsystem • Specify labels. • Save and Recall display data. Reporting the Setup Use :DISPlay? to query the setup information for the DISPlay subsystem. Return Format The following is a sample response from the :DISPlay? query. In this case, the query was issued following a *RST command.
Commands by Subsystem :DISPlay:CLEar (see page 564) Command Syntax :DISPlay:CLEar The :DISPlay:CLEar command clears the display and resets all associated measurements. If the oscilloscope is stopped, all currently displayed data is erased. If the oscilloscope is running, all of the data for active channels and functions is erased;...
Commands by Subsystem :DISPlay:DATA (see page 564) Command Syntax :DISPlay:DATA [<format>][,][<area>][,][<palette>]<display data> <format> ::= {TIFF} <area> ::= {GRATicule} <palette> ::= {MONochrome} <display data> ::= binary block data in IEEE-488.2 # format. The :DISPlay:DATA command writes trace memory data (a display bitmap) to the display or to one of the trace memories in the instrument.
Page 197
Commands by Subsystem If the format is TIFF, the only valid value area parameter is GRATicule, and the only valid N O T E palette parameter is MONOchrome. If the format is something other than TIFF, the only valid area parameter is SCReen, and the only valid values for palette are GRAYscale or COLor.
Commands by Subsystem :DISPlay:LABel (see page 564) Command Syntax :DISPlay:LABel <value> <value> ::= {{1 | ON} | {0 | OFF}} The :DISPlay:LABel command turns the analog and digital channel labels on and off. Query Syntax :DISPlay:LABel? The :DISPlay:LABel? query returns the display mode of the analog and digital labels.
Commands by Subsystem :DISPlay:LABList (see page 564) Command Syntax :DISPlay:LABList <binary block data> <binary block> ::= an ordered list of up to 75 labels, a maximum of six characters each, separated by newline characters. The :DISPlay:LABList command adds labels to the label list. Labels are added in alphabetical order.
Commands by Subsystem :DISPlay:PERSistence (see page 564) Command Syntax :DISPlay:PERSistence <value> <value> ::= {MINimum | INFinite} The :DISPlay:PERSistence command specifies the persistence setting. MINimum indicates zero persistence and INFinite indicates infinite persistence. Use the :DISPlay:CLEar or :CDISplay root command to erase points stored by infinite persistence.
Commands by Subsystem :DISPlay:VECTors (see page 564) Command Syntax :DISPlay:VECTors <vectors> <vectors> ::= {{1 | ON} | {0 | OFF}} The :DISPlay:VECTors command turns vector display on or off. When vectors are turned on, the oscilloscope displays lines connecting sampled data points.
Commands by Subsystem :EXTernal Trigger Commands Control the input characteristics of the external trigger input. See "Introduction to :EXTernal Trigger Commands" on page 203. Table 53 :EXTernal Trigger Commands Summary Command Query Options and Query Returns :EXTernal:BWLimit :EXTernal:BWLimit? (see <bwlimit> ::= {0 | OFF} <bwlimit>...
Commands by Subsystem :EXTernal:BWLimit (see page 564) Command Syntax :EXTernal:BWLimit <bwlimit> <bwlimit> ::= {0 | OFF} The :EXTernal:BWLimit command is provided for product compatibility. The only legal value is 0 or OFF. Use the :TRIGger:HFReject command to limit bandwidth on the external trigger input. Query Syntax :EXTernal:BWLimit? The :EXTernal:BWLimit? query returns the current setting of the low- pass...
Commands by Subsystem :EXTernal:IMPedance (see page 564) Command Syntax :EXTernal:IMPedance <value> <value> ::= {ONEMeg | FIFTy} The :EXTernal:IMPedance command selects the input impedance setting for the external trigger. The legal values for this command are ONEMeg Ω Ω (1 M ) and FIFTy (50 Ω...
Commands by Subsystem :EXTernal:PROBe (see page 564) Command Syntax :EXTernal:PROBe <attenuation> <attenuation> ::= probe attenuation ratio in NR3 format The :EXTernal:PROBe command specifies the probe attenuation factor for the external trigger. The probe attenuation factor may be 0.1 to 1000. This command does not change the actual input sensitivity of the oscilloscope.
Commands by Subsystem :EXTernal:PROBe:ID (see page 564) Query Syntax :EXTernal:PROBe:ID? The :EXTernal:PROBe:ID? query returns the type of probe attached to the external trigger input. Return Format <probe id><NL> <probe id> ::= unquoted ASCII string up to 11 characters Some of the possible returned values are: •...
Commands by Subsystem :EXTernal:PROBe:STYPe (see page 564) Command Syntax This command is valid only for the 113xA Series probes. N O T E :EXTernal:PROBe:STYPe <signal type> <signal type> ::= {DIFFerential | SINGle} The :EXTernal:PROBe:STYPe command sets the external trigger probe signal type (STYPe) to differential or single- ended when using the 113xA Series probes and determines how offset is applied.
Commands by Subsystem :EXTernal:PROTection (see page 564) Command Syntax :EXTernal:PROTection[:CLEar] Ω When the external trigger input impedance is set to 50 (on the 2- channel, 300 MHz, 500 MHz, and 1 GHz bandwidth oscilloscope models), the external trigger input is protected against overvoltage. When an overvoltage condition is sensed, the input impedance for the external Ω...
Commands by Subsystem :EXTernal:RANGe (see page 564) Command Syntax :EXTernal:RANGe <range>[<suffix>] <range> ::= vertical full-scale range value in NR3 format <suffix> ::= {V | mV} The :EXTernal:RANGe command is provided for product compatibility. The range can only be set to 5.0 V when using 1:1 probe attenuation. If the probe attenuation is changed, the range value is multiplied by the probe attenuation factor.
Commands by Subsystem :EXTernal:UNITs (see page 564) Command Syntax :EXTernal:UNITs <units> <units> ::= {VOLTs | AMPeres} The :EXTernal:UNITs command sets the measurement units for the probe connected to the external trigger input. Select VOLTs for a voltage probe and select AMPeres for a current probe. Measurement results, channel sensitivity, and trigger level will reflect the measurement units you select.
Commands by Subsystem :FUNCtion Commands Control functions in the measurement/storage module. See "Introduction to :FUNCtion Commands" on page 213. Table 54 :FUNCtion Commands Summary Command Query Options and Query Returns :FUNCtion:CENTer :FUNCtion:CENTer? (see <frequency> ::= the current center <frequency> (see page 214) frequency in NR3 format.
Page 213
Commands by Subsystem Table 54 :FUNCtion Commands Summary (continued) Command Query Options and Query Returns :FUNCtion:SOURce :FUNCtion:SOURce? (see <source> ::= {CHANnel<n> | ADD | <source> (see page 221) page 221) SUBT | MULT} <n> ::= 1-2 or 1-4 in NR1 format :FUNCtion:SPAN <span>...
Commands by Subsystem :FUNCtion:CENTer (see page 564) Command Syntax :FUNCtion:CENTer <frequency> <frequency> ::= the current center frequency in NR3 format. The range of legal values is from 0 Hz to 25 GHz. The :FUNCtion:CENTer command sets the center frequency when FFT (Fast Fourier Transform) is selected.
Commands by Subsystem :FUNCtion:DISPlay (see page 564) Command Syntax :FUNCtion:DISPlay <display> <display> ::= {{1 | ON} | {0 | OFF}} The :FUNCtion:DISPlay command turns the display of the function on or off. When ON is selected, the function performs as specified using the other FUNCtion commands.
Commands by Subsystem :FUNCtion:OFFSet (see page 564) Command Syntax :FUNCtion:OFFSet <offset> <offset> ::= the value at center screen in NR3 format. The :FUNCtion:OFFSet command sets the voltage or vertical value represented at center screen for the selected function. The range of legal values is generally +/- 10 times the current scale of the selected function, but will vary by function.
Commands by Subsystem :FUNCtion:OPERation (see page 564) Command Syntax :FUNCtion:OPERation <operation> <operation> ::= {SUBTract | MULTiply | INTegrate | DIFFerentiate | FFT | SQRT} The :FUNCtion:OPERation command sets the desired operation for a function. (FFT = Fast Fourier Transform, SQRT = square root.) Query Syntax :FUNCtion:OPERation? The :FUNCtion:OPERation? query returns the current operation for the...
Commands by Subsystem :FUNCtion:RANGe (see page 564) Command Syntax :FUNCtion:RANGe <range> <range> ::= the full-scale vertical axis value in NR3 format. The :FUNCtion:RANGe command defines the full- scale vertical axis for the selected function. Query Syntax :FUNCtion:RANGe? The :FUNCtion:RANGe? query returns the current full- scale range value for the selected function.
Commands by Subsystem :FUNCtion:REFerence (see page 564) Command Syntax :FUNCtion:REFerence <level> <level> ::= the current reference level in NR3 format. The range of legal values is from - 400.0 dBV to +400.0 dBV depending on the current :FUNCtion:RANGe value. If you set the reference level to a value outside of the legal range, it is automatically set to the nearest legal value.
Commands by Subsystem :FUNCtion:SCALe (see page 564) Command Syntax :FUNCtion:SCALe <scale value>[<suffix>] <scale value> ::= integer in NR1 format <suffix> ::= {V | dB} The :FUNCtion:SCALe command sets the vertical scale, or units per division, of the selected function. Legal values for the scale depend on the selected function.
Commands by Subsystem :FUNCtion:SOURce (see page 564) Command Syntax :FUNCtion:SOURce <value> <value> ::= {CHANnel<n> | ADD | SUBTract | MULTiply} <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n> ::= {1 | 2} for the two channel oscilloscope models The :FUNCtion:SOURce command is only used when an FFT (Fast Fourier Transform), DIFF, or INT operation is selected (see the:FUNCtion:OPERation command for more information about selecting an...
Commands by Subsystem :FUNCtion:SPAN (see page 564) Command Syntax :FUNCtion:SPAN <span> <span> ::= the current frequency span in NR3 format. Legal values are 1 Hz to 100 GHz. If you set the frequency span to a value outside of the legal range, the step size is automatically set to the nearest legal value.
Commands by Subsystem :FUNCtion:WINDow (see page 564) Command Syntax :FUNCtion:WINDow <window> <window> ::= {RECTangular | HANNing | FLATtop} • The RECTangular window is useful for transient signals, and signals where there are an integral number of cycles in the time record. •...
Commands by Subsystem :HARDcopy Commands Set and query the selection of hardcopy device and formatting options. See "Introduction to :HARDcopy Commands" on page 224. Table 55 :HARDcopy Commands Summary Command Query Options and Query Returns :HARDcopy:FACTors {{0 | :HARDcopy:FACTors? (see {0 | 1} OFF} | {1 | ON}} (see page...
Commands by Subsystem :HARDcopy:FACTors (see page 564) Command Syntax :HARDcopy:FACTors <factors> <factors> ::= {{OFF | 0} | {ON | 1}} The HARDcopy:FACTors command controls whether the scale factors are output on the hardcopy dump. Query Syntax :HARDcopy:FACTors? The :HARDcopy:FACTors? query returns a flag indicating whether scale factors are output on the hardcopy.
Commands by Subsystem :HARDcopy:FFEed (see page 564) Command Syntax :HARDcopy:FFEed <ffeed> <ffeed> ::= {{OFF | 0} | {ON | 1}} The HARDcopy:FFEed command controls whether a formfeed is output at the end of a hardcopy dump. ON (or 1) is only valid when PRINter0 or PRINter1 is set as the :HARDcopy:FORMat type.
Commands by Subsystem :HARDcopy:FILename (see page 564) Command Syntax :HARDcopy:FILename <string> <string> ::= quoted ASCII string The HARDcopy:FILename command sets the output filename for those print formats whose output is a file. Query Syntax :HARDcopy:FILename? The :HARDcopy:FILename? query returns the current hardcopy output filename.
Commands by Subsystem :HARDcopy:FORMat (see page 564) Command Syntax :HARDcopy:FORMat <format> <format> ::= {BMP[24bit] | BMP8bit | PNG | CSV | ASCiixy | BINary | PRINter0 | PRINter1} The HARDcopy:FORMat command sets the hardcopy format type. PRINter0 and PRINter1 are only valid when printers are connected to the oscilloscope's USB ports.
Commands by Subsystem :HARDcopy:IGColors (see page 564) Command Syntax :HARDcopy:IGColors <value> <value> ::= {{OFF | 0} | {ON | 1}} The HARDcopy:IGColors command controls whether the graticule colors are inverted or not. Query Syntax :HARDcopy:IGColors? The :HARDcopy:IGColors? query returns a flag indicating whether graticule colors are inverted or not.
Commands by Subsystem :MARKer Commands Set and query the settings of X- axis markers (X1 and X2 cursors) and the Y- axis markers (Y1 and Y2 cursors). See "Introduction to :MARKer Commands" on page 233. Table 56 :MARKer Commands Summary Command Query Options and Query Returns...
Page 233
Commands by Subsystem Table 56 :MARKer Commands Summary (continued) Command Query Options and Query Returns :MARKer:Y2Position :MARKer:Y2Position? <position> ::= Y2 cursor position <position>[suffix] (see (see page 241) value in NR3 format page 241) [suffix] ::= {V | mV | dB} <return_value>...
Commands by Subsystem :MARKer:MODE (see page 564) Command Syntax :MARKer:MODE <mode> <mode> ::= {OFF | MEASurement | MANual} The :MARKer:MODE command sets the cursors mode. OFF removes the cursor information from the display. MANual mode enables manual placement of the X and Y cursors. In MEASurement mode the cursors track the most recent measurement.
Commands by Subsystem :MARKer:X1Position (see page 564) Command Syntax :MARKer:X1Position <position> [suffix] <position> ::= X1 cursor position in NR3 format <suffix> ::= {s | ms | us | ns | ps | Hz | kHz | MHz} The :MARKer:X1Position command sets :MARKer:MODE to MANual, sets the X1 cursor position and moves the X1 cursor to the specified value.
Commands by Subsystem :MARKer:X1Y1source (see page 564) Command Syntax :MARKer:X1Y1source <source> <source> ::= {CHANnel<n> | FUNCtion | MATH} <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n> ::= {1 | 2} for the two channel oscilloscope models The :MARKer:X1Y1source command sets the source for the cursors.
Commands by Subsystem :MARKer:X2Position (see page 564) Command Syntax :MARKer:X2Position <position> [suffix] <position> ::= X2 cursor position in NR3 format <suffix> ::= {s | ms | us | ns | ps | Hz | kHz | MHz} The :MARKer:X2Position command sets :MARKer:MODE to MANual, sets the X2 cursor position and moves the X2 cursor to the specified value.
Commands by Subsystem :MARKer:X2Y2source (see page 564) Command Syntax :MARKer:X2Y2source <source> <source> ::= {CHANnel<n> | FUNCtion | MATH} <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n> ::= {1 | 2} for the two channel oscilloscope models The :MARKer:X2Y2source command sets the source for the cursors.
Commands by Subsystem :MARKer:XDELta (see page 564) Query Syntax :MARKer:XDELta? The MARKer:XDELta? query returns the value difference between the current X1 and X2 cursor positions. Xdelta = (Value at X2 cursor) - (Value at X1 cursor) If the front-panel cursors are off or are set to Binary or Hex Mode, the marker position N O T E values are not defined.
Commands by Subsystem :MARKer:Y1Position (see page 564) Command Syntax :MARKer:Y1Position <position> [suffix] <position> ::= Y1 cursor position in NR3 format <suffix> ::= {mV | V | dB} The :MARKer:Y1Position command sets :MARKer:MODE to MANual, sets the Y1 cursor position and moves the Y1 cursor to the specified value. Query Syntax :MARKer:Y1Position? The :MARKer:Y1Position? query returns current Y1 cursor position.
Commands by Subsystem :MARKer:Y2Position (see page 564) Command Syntax :MARKer:Y2Position <position> [suffix] <position> ::= Y2 cursor position in NR3 format <suffix> ::= {mV | V | dB} The :MARKer:Y2Position command sets :MARKer:MODE to MANual, sets the Y2 cursor position and moves the Y2 cursor to the specified value. Query Syntax :MARKer:Y2Position? The :MARKer:Y2Position? query returns current Y2 cursor position.
Commands by Subsystem :MARKer:YDELta (see page 564) Query Syntax :MARKer:YDELta? The :MARKer:YDELta? query returns the value difference between the current Y1 and Y2 cursor positions. Ydelta = (Value at Y2 cursor) - (Value at Y1 cursor) If the front-panel cursors are off or are set to Binary or Hex Mode, the marker position N O T E values are not defined.
Commands by Subsystem :MEASure Commands Select automatic measurements to be made and control time markers. See "Introduction to :MEASure Commands" on page 248. Table 57 :MEASure Commands Summary Command Query Options and Query Returns :MEASure:CLEar (see page 250) :MEASure:COUNter :MEASure:COUNter? <source>...
Page 244
Commands by Subsystem Table 57 :MEASure Commands Summary (continued) Command Query Options and Query Returns :MEASure:DUTYcycle :MEASure:DUTYcycle? <source> ::= {CHANnel<n> | FUNCtion [<source>] (see [<source>] (see | MATH} for DSO models page 257) page 257) <source> ::= {CHANnel<n> | DIGital0,..,DIGital15 | FUNCtion | MATH} for MSO models <n>...
Page 245
Commands by Subsystem Table 57 :MEASure Commands Summary (continued) Command Query Options and Query Returns :MEASure:PERiod :MEASure:PERiod? <source> ::= {CHANnel<n> | FUNCtion [<source>] (see [<source>] (see | MATH} for DSO models page 263) page 263) <source> ::= {CHANnel<n> | DIGital0,..,DIGital15 | FUNCtion | MATH} for MSO models <n>...
Page 246
Commands by Subsystem Table 57 :MEASure Commands Summary (continued) Command Query Options and Query Returns :MEASure:SHOW {1 | ON} :MEASure:SHOW? (see (see page 269) page 269) :MEASure:SOURce :MEASure:SOURce? (see <source1,2> ::= {CHANnel<n> | [<source1>] page 270) FUNCtion | MATH} for DSO models [,<source2>] (see <source1,2>...
Page 247
Commands by Subsystem Table 57 :MEASure Commands Summary (continued) Command Query Options and Query Returns :MEASure:VAMPlitude :MEASure:VAMPlitude? <source> ::= {CHANnel<n> | FUNCtion [<source>] (see [<source>] (see | MATH} page 276) page 276) <n> ::= 1-2 or 1-4 in NR1 format <return_value>...
Page 248
Commands by Subsystem Table 57 :MEASure Commands Summary (continued) Command Query Options and Query Returns :MEASure:VRMS :MEASure:VRMS? <source> ::= {CHANnel<n> | FUNCtion [<source>] (see [<source>] (see | MATH} page 282) page 282) <n> ::= 1-2 or 1-4 in NR1 format <return_value>...
Page 249
Commands by Subsystem Measurement Type Portion of waveform that must be displayed period, duty cycle, or frequency at least one complete cycle pulse width the entire pulse rise time rising edge, top and bottom of pulse fall time falling edge, top and bottom of pulse Measurement Error If a measurement cannot be made (typically because the proper portion of the waveform is not displayed), the value +9.9E+37 is returned for that...
Commands by Subsystem :MEASure:CLEar (see page 564) Command Syntax :MEASure:CLEar This command clears all selected measurements and markers from the screen. See Also • "Introduction to :MEASure Commands" on page 248 Agilent 6000 Series Oscilloscopes Programmer's Reference...
Commands by Subsystem :MEASure:DEFine (see page 564) Command Syntax :MEASure:DEFine <meas_spec> <meas_spec> ::= {DELay | THResholds} The :MEASure:DEFine command sets up the definition for measurements by specifying the delta time or threshold values. Changing these values may affect the results of other measure commands. The table below identifies which measurement results that can be affected by redefining the DELay specification or the THResholds values.
Page 253
Commands by Subsystem This command defines the behavior of the :MEASure:DELay? query by specifying the start and stop edge to be used. <edge_spec1> specifies the slope and edge number on source1. <edge_spec2> specifies the slope and edge number on source2. The measurement is taken as: delay = t(<edge_spec2>) - t(<edge_spec1>) The :MEASure:DELay command and the front-panel delay measurement use an auto-edge N O T E...
Page 254
Commands by Subsystem Return Format for <meas_spec> = DELay: { <edge_spec1> | <edge_spec2> | <edge_spec1>,<edge_spec2>} <NL> for <meas_spec> = THResholds and <threshold mode> = PERCent: THR,PERC,<upper>,<middle>,<lower><NL> <upper>, <middle>, <lower> ::= A number specifying the upper, middle, and lower threshold percentage values between Vbase and Vtop in NR3 format.
Commands by Subsystem :MEASure:DELay (see page 564) Command Syntax :MEASure:DELay [<source1>][,<source2>] <source1>, <source2> ::= {CHANnel<n> | FUNCtion | MATH} <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n> ::= {1 | 2} for the two channel oscilloscope models The :MEASure:DELay command places the instrument in the continuous measurement mode and starts a delay measurement.
Page 256
Commands by Subsystem Vtop. If you want to move the delay measurement point nearer to Vtop or Vbase, you must change the threshold values with the :MEASure:DEFine THResholds command. Return Format <value><NL> <value> ::= floating-point number delay time in seconds in NR3 format See Also •...
Commands by Subsystem :MEASure:FALLtime (see page 564) Command Syntax :MEASure:FALLtime [<source>] <source> ::= {CHANnel<n> | FUNCtion | MATH} <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n> ::= {1 | 2} for the two channel oscilloscope models The :MEASure:FALLtime command installs a screen measurement and starts a fall- time measurement.
Commands by Subsystem :MEASure:OVERshoot (see page 564) Command Syntax :MEASure:OVERshoot [<source>] <source> ::= {CHANnel<n> | FUNCtion | MATH} <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n> ::= {1 | 2} for the two channel oscilloscope models The :MEASure:OVERshoot command installs a screen measurement and starts an overshoot measurement.
Page 262
Commands by Subsystem • ":MEASure:VTOP" on page 284 • ":MEASure:VBASe" on page 278 • ":MEASure:VMIN" on page 280 Agilent 6000 Series Oscilloscopes Programmer's Reference...
Commands by Subsystem :MEASure:PHASe (see page 564) Command Syntax :MEASure:PHASe [<source1>][,<source2>] <source1>, <source2> ::= {CHANnel<n> | FUNCtion | MATH} <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n> ::= {1 | 2} for the two channel oscilloscope models The :MEASure:PHASe command places the instrument in the continuous measurement mode and starts a phase measurement.
Commands by Subsystem :MEASure:PREShoot (see page 564) Command Syntax :MEASure:PREShoot [<source>] <source> ::= {CHANnel<n> | FUNCtion | MATH} <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n> ::= {1 | 2} for the two channel oscilloscope models The :MEASure:PREShoot command installs a screen measurement and starts a preshoot measurement.
Commands by Subsystem :MEASure:RISetime (see page 564) Command Syntax :MEASure: RISetime [<source>] <source> ::= {CHANnel<n> | FUNCtion | MATH} <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n> ::= {1 | 2} for the two channel oscilloscope models The :MEASure:RISetime command installs a screen measurement and starts a rise- time measurement.
Commands by Subsystem :MEASure:SDEViation (see page 564) Command Syntax :MEASure:SDEViation [<source>] <source> ::= {CHANnel<n> | FUNCtion | MATH} <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n> ::= {1 | 2} for the two channel oscilloscope models The :MEASure:SDEViation command installs a screen measurement and starts std deviation measurement.
Commands by Subsystem :MEASure:SHOW (see page 564) Command Syntax :MEASure:SHOW <show> <show> ::= {1 | ON} The :MEASure:SHOW command enables markers for tracking measurements on the display. This feature is always on. Query Syntax :MEASure:SHOW? The :MEASure:SHOW? query returns the current state of the markers. Return Format <show><NL>...
Commands by Subsystem :MEASure:TEDGe (see page 564) Query Syntax :MEASure:TEDGe? <slope><occurrence>[,<source>] <slope> ::= direction of the waveform. A rising slope is indicated by a space or plus sign (+). A falling edge is indicated by a minus sign (-). <occurrence> ::= the transition to be reported. If the occurrence number is one, the first crossing from the left screen edge is reported.
Page 273
Commands by Subsystem This query is not available if the source is FFT (Fast Fourier Transform). N O T E Return Format <value><NL> <value> ::= time in seconds of the specified transition in NR3 format :MEASure:TEDGe ' Make a delay measurement between channel 1 and 2. Code Dim dblChan1Edge1 As Double Dim dblChan2Edge1 As Double...
Commands by Subsystem :MEASure:TVALue (see page 564) Query Syntax :MEASure:TVALue? <value>, [<slope>]<occurrence>[,<source>] <value> ::= the vertical value that the waveform must cross. value can be volts or a math function value such as dB, Vs, or V/s. <slope> ::= direction of the waveform. A rising slope is indicated by a plus sign (+).
Page 275
Commands by Subsystem <value> ::= time in seconds of the specified value crossing in NR3 format See Also • "Introduction to :MEASure Commands" on page 248 • ":MEASure:TEDGe" on page 272 • ":MEASure:VTIMe" on page 283 Agilent 6000 Series Oscilloscopes Programmer's Reference...
Commands by Subsystem :MEASure:VAMPlitude (see page 564) Command Syntax :MEASure:VAMPlitude [<source>] <source> ::= {CHANnel<n> | FUNCtion | MATH} <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n> ::= {1 | 2} for the two channel oscilloscope models The :MEASure:VAMPlitude command installs a screen measurement and starts a vertical amplitude measurement.
Commands by Subsystem :MEASure:VAVerage (see page 564) Command Syntax :MEASure:VAVerage [<source>] <source> ::= {CHANnel<n> | FUNCtion | MATH} <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n> ::= {1 | 2} for the two channel oscilloscope models The :MEASure:VAVerage command installs a screen measurement and starts an average value measurement.
Commands by Subsystem :MEASure:VBASe (see page 564) Command Syntax :MEASure:VBASe [<source>] <source> ::= {CHANnel<n> | FUNCtion | MATH} <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n> ::= {1 | 2} for the two channel oscilloscope models The :MEASure:VBASe command installs a screen measurement and starts a waveform base value measurement.
Commands by Subsystem :MEASure:VMAX (see page 564) Command Syntax :MEASure:VMAX [<source>] <source> ::= {CHANnel<n> | FUNCtion | MATH} <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n> ::= {1 | 2} for the two channel oscilloscope models The :MEASure:VMAX command installs a screen measurement and starts a maximum vertical value measurement.
Commands by Subsystem :MEASure:VMIN (see page 564) Command Syntax :MEASure:VMIN [<source>] <source> ::= {CHANnel<n> | FUNCtion | MATH} <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n> ::= {1 | 2} for the two channel oscilloscope models The :MEASure:VMIN command installs a screen measurement and starts a minimum vertical value measurement.
Commands by Subsystem :MEASure:VPP (see page 564) Command Syntax :MEASure:VPP [<source>] <source> ::= {CHANnel<n> | FUNCtion | MATH} <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n> ::= {1 | 2} for the two channel oscilloscope models The :MEASure:VPP command installs a screen measurement and starts a vertical peak- to- peak measurement.
Commands by Subsystem :MEASure:VRMS (see page 564) Command Syntax :MEASure:VRMS [<source>] <source> ::= {CHANnel<n> | FUNCtion | MATH} <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n> ::= {1 | 2} for the two channel oscilloscope models The :MEASure:VRMS command installs a screen measurement and starts a dc RMS value measurement.
Commands by Subsystem :MEASure:VTIMe (see page 564) Query Syntax :MEASure:VTIMe? <vtime_argument>[,<source>] <vtime_argument> ::= time from trigger in seconds <source> ::= {<digital channels> | CHANnel<n> | FUNCtion | MATH} <digital channels> ::= DIGital0,..,DIGital15 for the MSO models <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n>...
Commands by Subsystem :MEASure:VTOP (see page 564) Command Syntax :MEASure:VTOP [<source>] <source> ::= {CHANnel<n> | FUNCtion | MATH} <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n> ::= {1 | 2} for the two channel oscilloscope models The :MEASure:VTOP command installs a screen measurement and starts a waveform top value measurement.
Commands by Subsystem :MEASure:XMAX (see page 564) Command Syntax :MEASure:XMAX [<source>] <source> ::= {CHANnel<n> | FUNCtion | MATH} <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n> ::= {1 | 2} for the two channel oscilloscope models The :MEASure:XMAX command installs a screen measurement and starts an X- at- Max- Y measurement on the selected window.
Commands by Subsystem :MEASure:XMIN (see page 564) Command Syntax :MEASure:XMIN [<source>] <source> ::= {CHANnel<n> | FUNCtion | MATH} <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n> ::= {1 | 2} for the two channel oscilloscope models The :MEASure:XMIN command installs a screen measurement and starts an X- at- Min- Y measurement on the selected window.
Commands by Subsystem :POD Commands Control all oscilloscope functions associated with groups of digital channels. See "Introduction to :POD<n> Commands" on page 287. Table 58 :POD<n> Commands Summary Command Query Options and Query Returns :POD<n>:DISPlay {{0 | :POD<n>:DISPlay? (see {0 | 1} OFF} | {1 | ON}} (see page 288)
Commands by Subsystem :POD<n>:DISPlay (see page 564) Command Syntax :POD<n>:DISPlay <display> <display> ::= {{1 | ON} | {0 | OFF}} <n> ::= An integer, 1 or 2, is attached as a suffix to the command and defines the group of channels that are affected by the command. POD1 ::= D0-D7 POD2 ::= D8-D15 The :POD<n>:DISPlay command turns displaying of the specified group of...
Commands by Subsystem :POD<n>:SIZE (see page 564) Command Syntax :POD<n>:SIZE <value> <n> ::= An integer, 1 or 2, is attached as a suffix to the command and defines the group of channels that are affected by the command. POD1 ::= D0-D7 POD2 ::= D8-D15 <value>...
Commands by Subsystem :POD<n>:THReshold (see page 564) Command Syntax :POD<n>:THReshold <type>[<suffix>] <n> ::= An integer, 1 or 2, is attached as a suffix to the command and defines the group of channels that are affected by the command. <type> ::= {CMOS | ECL | TTL | <user defined value>} <user defined value>...
Page 291
Commands by Subsystem ' Set channels 0-7 to CMOS threshold. myScope.WriteString ":POD1:THRESHOLD CMOS" ' Set channels 8-15 to 2.0 volts. myScope.WriteString ":POD2:THRESHOLD 2.0" ' Set external channel to TTL threshold (short form). myScope.WriteString ":TRIG:LEV TTL,EXT" Example program from the start: "VISA COM Example in Visual Basic"...
Commands by Subsystem :SBUS Commands Control oscilloscope functions associated with the serial decode bus. See "Introduction to :SBUS Commands" on page 293. Table 59 :SBUS Commands Summary Command Query Options and Query Returns :SBUS:BUSDoctor:ADDRess :SBUS:BUSDoctor:ADDRess <value> ::= <field value>, <field <value>...
Page 293
Commands by Subsystem Table 59 :SBUS Commands Summary (continued) Command Query Options and Query Returns :SBUS:LIN:PARity {{0 | :SBUS:LIN:PARity? (see {0 | 1} OFF} | {1 | ON}} (see page 309) page 309) :SBUS:MODE <mode> (see :SBUS:MODE? (see <mode> ::= {IIC | SPI | CAN | LIN | page 310) page...
Commands by Subsystem :SBUS:BUSDoctor:ADDRess (see page 564) Command Syntax :SBUS:BUSDoctor:ADDRess <value> <value> ::= <field value>, <field value>, <field value>, <field value> <field value> ::= integer from 0-255 in NR1 format The :SBUS:BUSDoctor:ADDRess command sets the four byte values that make up the BusDoctor's IP address. This command is only valid on 4-channel or 4+16-channel oscilloscope models when the N O T E FlexRay triggering and serial decode option (Option FRS) has been licensed.
Commands by Subsystem :SBUS:BUSDoctor:BAUDrate (see page 564) Command Syntax :SBUS:BUSDoctor:BAUDrate <baudrate> <baudrate> ::= {2500000 | 5000000 | 10000000} The :SBUS:BUSDoctor:BAUDrate command sets the baud rate for the BusDoctor to 2.5 Mb/s, 5 Mb/s, or 10 Mb/s. This command is only valid on 4-channel or 4+16-channel oscilloscope models when the N O T E FlexRay triggering and serial decode option (Option FRS) has been licensed.
Commands by Subsystem :SBUS:BUSDoctor:CHANnel (see page 564) Command Syntax :SBUS:BUSDoctor:CHANnel <channel> <channel> ::= {A | B} The :SBUS:BUSDoctor:BAUDrate command sets the channel that the BusDoctor analyzes/preprocesses. This command is only valid on 4-channel or 4+16-channel oscilloscope models when the N O T E FlexRay triggering and serial decode option (Option FRS) has been licensed.
Commands by Subsystem :SBUS:CAN:COUNt:ERRor (see page 564) Query Syntax :SBUS:CAN:COUNt:ERRor? Returns the error frame count. Return Format <frame_count><NL> <frame_count> ::= integer in NR1 format Errors • "- 241, Hardware missing" on page 535 See Also • ":SBUS:CAN:COUNt:RESet" on page 300 •...
Commands by Subsystem :SBUS:CAN:COUNt:OVERload (see page 564) Query Syntax :SBUS:CAN:COUNt:OVERload? Returns the overload frame count. Return Format <frame_count><NL> <frame_count> ::= integer in NR1 format Errors • "- 241, Hardware missing" on page 535 See Also • ":SBUS:CAN:COUNt:RESet" on page 300 •...
Commands by Subsystem :SBUS:CAN:COUNt:RESet (see page 564) Command Syntax :SBUS:CAN:COUNt:RESet Resets the frame counters. Errors • "- 241, Hardware missing" on page 535 See Also • ":SBUS:CAN:COUNt:ERRor" on page 298 • ":SBUS:CAN:COUNt:OVERload" on page 299 • ":SBUS:CAN:COUNt:TOTal" on page 301 •...
Commands by Subsystem :SBUS:CAN:COUNt:TOTal (see page 564) Query Syntax :SBUS:CAN:COUNt:TOTal? Returns the total frame count. Return Format <frame_count><NL> <frame_count> ::= integer in NR1 format Errors • "- 241, Hardware missing" on page 535 See Also • ":SBUS:CAN:COUNt:RESet" on page 300 •...
Commands by Subsystem :SBUS:CAN:COUNt:UTILization (see page 564) Query Syntax :SBUS:CAN:COUNt:UTILization? Returns the percent utilization. Return Format <percent><NL> <percent> ::= floating-point in NR3 format Errors • "- 241, Hardware missing" on page 535 See Also • ":SBUS:CAN:COUNt:RESet" on page 300 • "Introduction to :SBUS Commands"...
Commands by Subsystem :SBUS:DISPlay (see page 564) Command Syntax :SBUS:DISPlay <display> <display> ::= {{1 | ON} | {0 | OFF}} The :SBUS:DISPlay command turns displaying of the serial decode bus on or off. This command is only valid on 4-channel or 4+16-channel oscilloscope models when a N O T E serial decode option has been licensed.
Commands by Subsystem :SBUS:FLEXray:COUNt:NULL (see page 564) Query Syntax :SBUS:FLEXray:COUNt:NULL? Returns the FlexRay null frame count. Return Format <frame_count><NL> <frame_count> ::= integer in NR1 format Errors • "- 241, Hardware missing" on page 535 See Also • ":SBUS:FLEXray:COUNt:RESet" on page 305 •...
Commands by Subsystem :SBUS:FLEXray:COUNt:RESet (see page 564) Command Syntax :SBUS:FLEXray:COUNt:RESet Resets the FlexRay frame counters. Errors • "- 241, Hardware missing" on page 535 See Also • ":SBUS:FLEXray:COUNt:NULL" on page 304 • ":SBUS:FLEXray:COUNt:SYNC" on page 306 • ":SBUS:FLEXray:COUNt:TOTal" on page 307 •...
Commands by Subsystem :SBUS:FLEXray:COUNt:SYNC (see page 564) Query Syntax :SBUS:FLEXray:COUNt:SYNC? Returns the FlexRay sync frame count. Return Format <frame_count><NL> <frame_count> ::= integer in NR1 format Errors • "- 241, Hardware missing" on page 535 See Also • ":SBUS:FLEXray:COUNt:RESet" on page 305 •...
Commands by Subsystem :SBUS:FLEXray:COUNt:TOTal (see page 564) Query Syntax :SBUS:FLEXray:COUNt:TOTal? Returns the FlexRay total frame count. Return Format <frame_count><NL> <frame_count> ::= integer in NR1 format Errors • "- 241, Hardware missing" on page 535 See Also • ":SBUS:FLEXray:COUNt:RESet" on page 305 •...
Commands by Subsystem :SBUS:IIC:ASIZe (see page 564) Command Syntax :SBUS:IIC:ASIZe <size> <size> ::= {BIT7 | BIT8} The :SBUS:IIC:ASIZe command determines whether the Read/Write bit is included as the LSB in the display of the IIC address field of the decode bus.
Commands by Subsystem :SBUS:LIN:PARity (see page 564) Command Syntax :SBUS:LIN:PARity <display> <display> ::= {{1 | ON} | {0 | OFF}} The :SBUS:LIN:PARity command determines whether the parity bits are included as the most significant bits (MSB) in the display of the Frame Id field in the LIN decode bus.
Commands by Subsystem :SBUS:MODE (see page 564) Command Syntax :SBUS:MODE <mode> <mode> ::= {IIC | SPI | CAN | LIN | FLEXray} The :SBUS:MODE command determines the decode mode for the serial bus. This command is only valid on 4-channel or 4+16-channel oscilloscope models when a N O T E serial decode option has been licensed.
Commands by Subsystem :SBUS:SPI:WIDTh (see page 564) Command Syntax :SBUS:SPI:WIDTh <word_width> <word_width> ::= integer 4-16 in NR1 format The :SBUS:SPI:WIDTh command determines the number of bits in a word of data for SPI. This command is only valid on 4-channel or 4+16-channel oscilloscope models when the N O T E low-speed IIC and SPI serial decode option (Option LSS) has been licensed.
Commands by Subsystem :SYSTem Commands Control basic system functions of the oscilloscope. See "Introduction to :SYSTem Commands" on page 312. Table 60 :SYSTem Commands Summary Command Query Options and Query Returns :SYSTem:DATE <date> :SYSTem:DATE? (see <date> ::= <year>,<month>,<day> (see page 313) page 313)
Commands by Subsystem :SYSTem:DATE (see page 564) Command Syntax :SYSTem:DATE <date> <date> ::= <year>,<month>,<day> <year> ::= 4-digit year in NR1 format <month> ::= {1,..,12 | JANuary | FEBruary | MARch | APRil | MAY | JUNe | JULy | AUGust | SEPtember | OCTober | NOVember | DECember} <day>...
Commands by Subsystem :SYSTem:DSP (see page 564) Command Syntax :SYSTem:DSP <string> <string> ::= quoted ASCII string (up to 254 characters) The :SYSTem:DSP command writes the quoted string (excluding quotation marks) to a text box in the center of the display. Use :SYStem:DSP "" to remotely remove the message from the display.
Commands by Subsystem :SYSTem:ERRor (see page 564) Query Syntax :SYSTem:ERRor? The :SYSTem:ERRor? query outputs the next error number and text from the error queue. The instrument has an error queue that is 30 errors deep and operates on a first- in, first- out basis. Repeatedly sending the :SYSTem:ERRor? query returns the errors in the order that they occurred until the queue is empty.
Commands by Subsystem :SYSTem:LOCK (see page 564) Command Syntax :SYSTem:LOCK <value> <value> ::= {{1 | ON} | {0 | OFF}} The :SYSTem:LOCK command disables the front panel. LOCK ON is the equivalent of sending a local lockout message over GPIB. Query Syntax :SYSTem:LOCK? The :SYSTem:LOCK? query returns the lock status of the front panel.
Commands by Subsystem :SYSTem:SETup (see page 564) Command Syntax :SYSTem:SETup <setup_data> <setup_data> ::= binary block data in IEEE 488.2 # format. The :SYSTem:SETup command sets the oscilloscope as defined by the data in the setup (learn) string sent from the controller. The setup string does not change the interface mode or interface address.
Page 318
Commands by Subsystem ' Write setup string back to oscilloscope using ":SYSTEM:SETUP" ' command: myScope.WriteIEEEBlock ":SYSTEM:SETUP ", varSetupString CheckForInstrumentErrors Example program from the start: "VISA COM Example in Visual Basic" page 614 Agilent 6000 Series Oscilloscopes Programmer's Reference...
Commands by Subsystem :SYSTem:TIME (see page 564) Command Syntax :SYSTem:TIME <time> <time> ::= hours,minutes,seconds in NR1 format The :SYSTem:TIME command sets the system time, using a 24- hour format. Commas are used as separators. Validity checking is performed to ensure that the time is valid.
Commands by Subsystem :TIMebase Commands Control all horizontal sweep functions. See "Introduction to :TIMebase Commands" on page 320. Table 61 :TIMebase Commands Summary Command Query Options and Query Returns :TIMebase:MODE <value> :TIMebase:MODE? (see <value> ::= {MAIN | WINDow | XY | (see page 322)
Page 321
Commands by Subsystem Use :TIMebase? to query setup information for the TIMebase subsystem. Return Format The following is a sample response from the :TIMebase? query. In this case, the query was issued following a *RST command. :TIM:MODE MAIN;REF CENT;MAIN:RANG +1.00E-03;POS +0.0E+00 Agilent 6000 Series Oscilloscopes Programmer's Reference...
Commands by Subsystem :TIMebase:MODE (see page 564) Command Syntax :TIMebase:MODE <value> <value> ::= {MAIN | WINDow | XY | ROLL} The :TIMebase:MODE command sets the current time base. There are four time base modes: • MAIN — The normal time base mode is the main time base. It is the default time base mode after the *RST (Reset) command.
Commands by Subsystem :TIMebase:POSition (see page 564) Command Syntax :TIMebase:POSition <pos> <pos> ::= time in seconds from the trigger to the display reference in NR3 format The :TIMebase:POSition command sets the time interval between the trigger event and the display reference point on the screen. The display reference point is either left, right, or center and is set with the :TIMebase:REFerence command.
Commands by Subsystem :TIMebase:RANGe (see page 564) Command Syntax :TIMebase:RANGe <range_value> <range_value> ::= 5 ns through 500 s in NR3 format The :TIMebase:RANGe command sets the full- scale horizontal time in seconds for the main window. The range is 10 times the current time- per- division setting.
Commands by Subsystem :TIMebase:REFClock (see page 564) Command Syntax :TIMebase:REFClock <value> <value> ::= {{1 | ON} | {0 | OFF} The :TIMebase:REFClock command enables or disables the 10 MHz REF BNC located on the rear panel of the oscilloscope. The 10 MHz REF BNC can be used as an input for the oscilloscope's reference clock (instead of the internal 10 MHz reference), or it can be used to output the internal 10 MHz reference clock when synchronizing multiple instruments (see...
Commands by Subsystem :TIMebase:REFerence (see page 564) Command Syntax :TIMebase:REFerence <reference> <reference> ::= {LEFT | CENTer | RIGHt} The :TIMebase:REFerence command sets the time reference to one division from the left side of the screen, to the center of the screen, or to one division from the right side of the screen.
Commands by Subsystem :TIMebase:SCALe (see page 564) Command Syntax :TIMebase:SCALe <scale_value> <scale_value> ::= 500 ps through 50 s in NR3 format The :TIMebase:SCALe command sets the horizontal scale or units per division for the main window. Query Syntax :TIMebase:SCALe? The :TIMebase:SCALe? query returns the current horizontal scale setting in seconds per division for the main window.
Commands by Subsystem :TIMebase:VERNier (see page 564) Command Syntax :TIMebase:VERNier <vernier value> <vernier value> ::= {{1 | ON} | {0 | OFF} The :TIMebase:VERNier command specifies whether the time base control's vernier (fine horizontal adjustment) setting is ON (1) or OFF (0). Query Syntax :TIMebase:VERNier? The :TIMebase:VERNier? query returns the current state of the time base...
Commands by Subsystem :TIMebase:WINDow:POSition (see page 564) Command Syntax :TIMebase:WINDow:POSition <pos value> <pos value> ::= time from the trigger event to the delayed view reference point in NR3 format The :TIMebase:WINDow:POSition command sets the horizontal position in the delayed view of the main sweep. The main sweep range and the main sweep horizontal position determine the range for this command.
Commands by Subsystem :TIMebase:WINDow:RANGe (see page 564) Command Syntax :TIMebase:WINDow:RANGe <range value> <range value> ::= range value in seconds in NR3 format The :TIMebase:WINDow:RANGe command sets the full- scale horizontal time in seconds for the delayed window. The range is 10 times the current delayed view window seconds per division setting.
Commands by Subsystem :TIMebase:WINDow:SCALe (see page 564) Command Syntax :TIMebase:WINDow:SCALe <scale_value> <scale_value> ::= scale value in seconds in NR3 format The :TIMebase:WINDow:SCALe command sets the delayed window horizontal scale (seconds/division). The main sweep scale determines the range for this command. The maximum value is one half of the :TIMebase:SCALe value.
Commands by Subsystem :TRIGger Commands Control the trigger modes and parameters for each trigger type. See: • "Introduction to :TRIGger Commands" on page 332 • "General :TRIGger Commands" on page 335 • ":TRIGger:CAN Commands" on page 343 • ":TRIGger:DURation Commands" on page 354 •...
Page 333
Commands by Subsystem • CAN (Controller Area Network) triggering will trigger on CAN version 2.0A and 2.0B signals. Setup consists of connecting the oscilloscope to a CAN signal. Baud rate, signal source, and signal polarity, and type of data to trigger on can be specified. With the automotive CAN and LIN serial decode option (Option ASM), you can also trigger on CAN data and identifier patterns, set the bit sample point, and have the module send an acknowledge to the bus when it receives a valid message.
Page 334
Commands by Subsystem • SPI (Serial Peripheral Interface) triggering consists of connecting the oscilloscope to a clock, data, and framing signal. You can then trigger on a data pattern during a specific framing period. The serial data string can be specified to be from 4 to 32 bits long. •...
Commands by Subsystem General :TRIGger Commands Table 62 General :TRIGger Commands Summary Command Query Options and Query Returns :TRIGger:HFReject {{0 | :TRIGger:HFReject? (see {0 | 1} OFF} | {1 | ON}} (see page 336) page 336) :TRIGger:HOLDoff :TRIGger:HOLDoff? (see <holdoff_time> ::= 60 ns to 10 s in <holdoff_time>...
Commands by Subsystem :TRIGger:HFReject (see page 564) Command Syntax :TRIGger:HFReject <value> <value> ::= {{0 | OFF} | {1 | ON}} The :TRIGger:HFReject command turns the high frequency reject filter off and on. The high frequency reject filter adds a 50 kHz low- pass filter in the trigger path to remove high frequency components from the trigger waveform.
Commands by Subsystem :TRIGger:HOLDoff (see page 564) Command Syntax :TRIGger:HOLDoff <holdoff_time> <holdoff_time> ::= 60 ns to 10 s in NR3 format The :TRIGger:HOLDoff command defines the holdoff time value in seconds. Holdoff keeps a trigger from occurring until after a certain amount of time has passed since the last trigger.
Commands by Subsystem :TRIGger:NREJect (see page 564) Command Syntax :TRIGger:NREJect <value> <value> ::= {{0 | OFF} | {1 | ON}} The :TRIGger:NREJect command turns the noise reject filter off and on. When the noise reject filter is on, the trigger circuitry is less sensitive to noise but may require a greater amplitude waveform to trigger the oscilloscope.
Commands by Subsystem :TRIGger:PATTern (see page 564) Command Syntax :TRIGger:PATTern <pattern> <pattern> ::= <value>, <mask> [, <edge source>, <edge>] <value> ::= 32-bit integer or <string> <mask> ::= 32-bit integer or <string> <string> ::= "0xnnnnnn"; n ::= {0,..,9 | A,..,F} <edge source> ::= {CHANnel<n> | EXTernal | NONE} for DSO models <edge source>...
Page 341
Commands by Subsystem Query Syntax :TRIGger:PATTern? The :TRIGger:PATTern? query returns the pattern value, the mask, and the edge of interest in the simple pattern. Return Format <pattern><NL> See Also • "Introduction to :TRIGger Commands" on page 332 • ":TRIGger:MODE" on page 338 Agilent 6000 Series Oscilloscopes Programmer's Reference...
Commands by Subsystem :TRIGger:SWEep (see page 564) Command Syntax :TRIGger:SWEep <sweep> <sweep> ::= {AUTO | NORMal} The :TRIGger:SWEep command selects the trigger sweep mode. When AUTO sweep mode is selected, a baseline is displayed in the absence of a signal. If a signal is present but the oscilloscope is not triggered, the unsynchronized signal is displayed instead of a baseline.
Commands by Subsystem :TRIGger:CAN:PATTern:DATA (see page 564) Command Syntax :TRIGger:CAN:PATTern:DATA <value>,<mask> <value> ::= 64-bit integer in decimal, <nondecimal>, or <string> <mask> ::= 64-bit integer in decimal, <nondecimal>, or <string> <nondecimal> ::= #Hnn...n where n ::= {0,..,9 | A,..,F} for hexadecimal <nondecimal>...
Commands by Subsystem :TRIGger:CAN:PATTern:DATA:LENGth (see page 564) Command Syntax :TRIGger:CAN:PATTern:DATA:LENGth <length> <length> ::= integer from 1 to 8 in NR1 format The :TRIGger:CAN:PATTern:DATA:LENGth command sets the number of 8- bit bytes in the CAN data string. The number of bytes in the string can be anywhere from 0 bytes to 8 bytes (64 bits).
Commands by Subsystem :TRIGger:CAN:PATTern:ID (see page 564) Command Syntax :TRIGger:CAN:PATTern:ID <value>, <mask> <value> ::= 32-bit integer in decimal, <nondecimal>, or <string> <mask> ::= 32-bit integer in decimal, <nondecimal>, or <string> <nondecimal> ::= #Hnn...n where n ::= {0,..,9 | A,..,F} for hexadecimal <nondecimal>...
Commands by Subsystem :TRIGger:CAN:PATTern:ID:MODE (see page 564) Command Syntax :TRIGger:CAN:PATTern:ID:MODE <value> <value> ::= {STANdard | EXTended} The :TRIGger:CAN:PATTern:ID:MODE command sets the CAN identifier mode. STANdard selects the standard 11- bit identifier. EXTended selects the extended 29- bit identifier. The CAN identifier is set by the :TRIGger:CAN:PATTern:ID command.
Commands by Subsystem :TRIGger:CAN:SAMPlepoint (see page 564) Command Syntax :TRIGger:CAN:SAMPlepoint <value> <value><NL> <value> ::= {60 | 62.5 | 68 | 70 | 75 | 80 | 87.5} in NR3 format The :TRIGger:CAN:SAMPlepoint command sets the point during the bit time where the bit level is sampled to determine whether the bit is dominant or recessive.
Commands by Subsystem :TRIGger:CAN:SIGNal:BAUDrate (see page 564) Command Syntax :TRIGger:CAN:SIGNal:BAUDrate <baudrate> <baudrate> ::= integer in NR1 format <baudrate> ::= {10000 | 20000 | 33300 | 50000 | 62500 | 83300 | 100000 | 125000 | 250000 | 500000 | 800000 |1000000} The :TRIGger:CAN:SIGNal:BAUDrate command sets the standard baud rate of the CAN signal from 10 kb/s to 1 Mb/s.
Commands by Subsystem :TRIGger:CAN:SOURce (see page 564) Command Syntax :TRIGger:CAN:SOURce <source> <source> ::= {CHANnel<n> | EXTernal} for the DSO models <source> ::= {CHANnel<n> | DIGital0,..,DIGital15} for the MSO models <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n>...
Commands by Subsystem :TRIGger:CAN:TRIGger (see page 564) Command Syntax :TRIGger:CAN:TRIGger <condition> <condition> ::= {SOF | DATA | ERRor | IDData | IDEither | IDRemote | ALLerrors | OVERload | ACKerror} The :TRIGger:CAN:TRIGger command sets the CAN trigger on condition: • SOF - will trigger on the Start of Frame (SOF) bit of a Data frame, Remote Transfer Request (RTR) frame, or an Overload frame.
Page 353
Commands by Subsystem CAN Id specification is set by the :TRIGger:CAN:PATTern:ID and:TRIGger:CAN:PATTern:ID:MODE commands. CAN Data specification is set by the :TRIGger:CAN:PATTern:DATA command. CAN Data Length Code is set by the :TRIGger:CAN:PATTern:DATA:LENGth command. SOF is the only valid selection for analog oscilloscopes. If the automotive CAN and LIN N O T E serial decode option (Option AMS) has not been licensed, SOF is the only valid selection.
Commands by Subsystem :TRIGger:DURation Commands Table 64 :TRIGger:DURation Commands Summary Command Query Options and Query Returns :TRIGger:DURation:GREat :TRIGger:DURation:GREat <greater than time> ::= erthan <greater than erthan? (see page 355) floating-point number from 5 ns to time>[suffix] (see 10 seconds in NR3 format page 355) [suffix] ::= {s | ms | us | ns | ps}...
Commands by Subsystem :TRIGger:DURation:GREaterthan (see page 564) Command Syntax :TRIGger:DURation:GREaterthan <greater than time>[<suffix>] <greater than time> ::= minimum trigger duration in seconds (5 ns - 10 seconds) in NR3 format <suffix> ::= {s | ms | us | ns | ps } The :TRIGger:DURation:GREaterthan command sets the minimum duration for the defined pattern when :TRIGger:DURation:QUALifier is set to GREaterthan.
Commands by Subsystem :TRIGger:DURation:LESSthan (see page 564) Command Syntax :TRIGger:DURation:LESSthan <less than time>[<suffix>] <less than time> ::= maximum trigger duration in seconds (5 ns - 10 seconds) in NR3 format <suffix> ::= {s | ms | us | ns | ps} The :TRIGger:DURation:LESSthan command sets the maximum duration for the defined pattern when :TRIGger:DURation:QUALifier is set to LESSthan.
Commands by Subsystem :TRIGger:DURation:PATTern (see page 564) Command Syntax :TRIGger:DURation:PATTern <value>, <mask> <value> ::= integer or <string> <mask> ::= integer or <string> <string> ::= "0xnnnnnn"; n ::= {0,..,9 | A,..,F} The :TRIGger:DURation:PATTern command defines the specified duration pattern resource according to the value and the mask. For both <value> and <mask>, each bit corresponds to a possible trigger channel.
Commands by Subsystem :TRIGger:DURation:QUALifier (see page 564) Command Syntax :TRIGger:DURation:QUALifier <qualifier> <qualifier> ::= {GREaterthan | LESSthan | INRange | OUTRange | TIMeout} The :TRIGger:DURation:QUALifier command qualifies the trigger duration. Set the GREaterthan qualifier value with the :TRIGger:DURation:GREaterthan command. Set the LESSthan qualifier value with the :TRIGger:DURation:LESSthan command.
Commands by Subsystem :TRIGger:DURation:RANGe (see page 564) Command Syntax :TRIGger:DURation:RANGe <greater than time>[<suffix>], <less than time>[<suffix>] <greater than time> ::= minimum duration in seconds (10 ns - 9.99 seconds) in NR3 format <less than time> ::= maximum duration in seconds (15 ns - 10 seconds) in NR3 format <suffix>...
Commands by Subsystem :TRIGger:EBURst Commands Table 65 :TRIGger:EBURst Commands Summary Command Query Options and Query Returns :TRIGger:EBURst:COUNt :TRIGger:EBURst:COUNt? <count> ::= integer in NR1 format <count> (see page 361) (see page 361) :TRIGger:EBURst:IDLE :TRIGger:EBURst:IDLE? <time_value> ::= time in seconds in <time_value> (see (see page 362)
Commands by Subsystem :TRIGger:EBURst:COUNt (see page 564) Command Syntax :TRIGger:EBURst:COUNt <count> <count> ::= integer in NR1 format The :TRIGger:EBURst:COUNt command sets the Nth edge at burst counter resource. The edge counter is used in the trigger stage to determine which edge in a burst will generate a trigger.
Commands by Subsystem :TRIGger:EBURst:IDLE (see page 564) Command Syntax :TRIGger:EBURst:IDLE <time_value> <time_value> ::= time in seconds in NR3 format The :TRIGger:EBURst:IDLE command sets the Nth edge in a burst idle resource in seconds from 10 ns to 10 s. The timer is used to set the minimum time before the next burst.
Commands by Subsystem :TRIGger:EBURst:SLOPe (see page 564) Command Syntax :TRIGger:EBURst:SLOPe <slope> <slope> ::= {NEGative | POSitive} The :TRIGger:EBURst:SLOPe command specifies whether the rising edge (POSitive) or falling edge (NEGative) of the Nth edge in a burst will generate a trigger. Query Syntax :TRIGger:EBURst:SLOPe? The :TRIGger:EBURst:SLOPe? query returns the current Nth edge in a...
Commands by Subsystem :TRIGger[:EDGE]:COUPling (see page 564) Command Syntax :TRIGger[:EDGE]:COUPling <coupling> <coupling> ::= {AC | DC | LFReject} The :TRIGger[:EDGE]:COUPling command sets the input coupling for the selected trigger sources. The coupling can be set to AC, DC, or LFReject. •...
Commands by Subsystem :TRIGger[:EDGE]:LEVel (see page 564) Command Syntax :TRIGger[:EDGE]:LEVel <level> <level> ::= <level>[,<source>] <level> ::= 0.75 x full-scale voltage from center screen in NR3 format for internal triggers <level> ::= 2 V with probe attenuation at 1:1 in NR3 format for external triggers <level>...
Commands by Subsystem :TRIGger[:EDGE]:REJect (see page 564) Command Syntax :TRIGger[:EDGE]:REJect <reject> <reject> ::= {OFF | LFReject | HFReject} The :TRIGger[:EDGE]:REJect command turns the low- frequency or high- frequency reject filter on or off. You can turn on one of these filters at a time.
Commands by Subsystem :TRIGger[:EDGE]:SLOPe (see page 564) Command Syntax :TRIGger[:EDGE]:SLOPe <slope> <slope> ::= {NEGative | POSitive | EITHer | ALTernate} The :TRIGger[:EDGE]:SLOPe command specifies the slope of the edge for the trigger. The SLOPe command is not valid in TV trigger mode. Instead, use :TRIGger:TV:POLarity to set the polarity in TV trigger mode.
Commands by Subsystem :TRIGger:FLEXray:ERRor:TYPE (see page 564) Command Syntax :TRIGger:FLEXray:ERRor:TYPE <error_type> <error_type> ::= {ALL | CODE | TSS | HCRC | FCRC | END | BOUNdary | IDLE | SYMbol | SLOT | NULL | SOS | FID | CCOunt | PLENght} Selects the FlexRay error type to trigger on.
Page 372
Commands by Subsystem Errors • "- 241, Hardware missing" on page 535 See Also • "Introduction to :TRIGger Commands" on page 332 • ":TRIGger:FLEXray:TRIGger" on page 381 Agilent 6000 Series Oscilloscopes Programmer's Reference...
Commands by Subsystem :TRIGger:FLEXray:FRAMe:CCBase (see page 564) Command Syntax :TRIGger:FLEXray:FRAMe:CCBase <cycle_count_base> <cycle_count_base> ::= integer from 0-63 The :TRIGger:FLEXray:FRAMe:CCBase command sets the base of the FlexRay cycle count (in the frame header) to trigger on. The cycle count base setting is only valid when the FlexRay trigger mode is set to FRAME. This command is only valid when the FLEXray triggering and serial decode option (Option N O T E FRS) has been licensed.
Commands by Subsystem :TRIGger:FLEXray:FRAMe:CCRepetition (see page 564) Command Syntax :TRIGger:FLEXray:FRAMe:CCRepetition <cycle_count_repetition> <cycle_count_repetition> ::= {ALL | <rep #>} <rep #> ::= integer from 2-64 The :TRIGger:FLEXray:FRAMe:CCRepetition command sets the repetition number of the FlexRay cycle count (in the frame header) to trigger on. The cycle count repetition setting is only valid when the FlexRay trigger mode is set to FRAME.
Commands by Subsystem :TRIGger:FLEXray:FRAMe:ID (see page 564) Command Syntax :TRIGger:FLEXray:FRAMe:ID <frame_id> <frame_id> ::= {ALL | <frame #>} <frame #> ::= integer from 1-2047 The :TRIGger:FLEXray:FRAMe:ID command sets the FlexRay frame ID to trigger on . The frame IF setting is only valid when the FlexRay trigger mode is set to FRAME.
Commands by Subsystem :TRIGger:FLEXray:FRAMe:TYPE (see page 564) Command Syntax :TRIGger:FLEXray:FRAMe:TYPE <frame_type> <frame_type> ::= {NORMal | STARtup | NULL | SYNC | NSTArtup | NNULl | NSYNc | ALL} The :TRIGger:FLEXray:FRAMe:TYPE command sets the FlexRay frame type to trigger on. The frame type setting is only valid when the FlexRay trigger mode is set to FRAME.
Commands by Subsystem :TRIGger:FLEXray:TIME:CBASe (see page 564) Command Syntax :TRIGger:FLEXray:TIME:CBASe <cycle_base> <cycle_base> ::= integer from 0-63 The :TRIGger:FLEXray:TIME:CBASe command sets the base of the FlexRay cycle to trigger on. The cycle base setting is only valid when the FlexRay trigger mode is set to TIME. This command is only valid when the FLEXray triggering and serial decode option (Option N O T E FRS) has been licensed.
Commands by Subsystem :TRIGger:FLEXray:TIME:CREPetition (see page 564) Command Syntax :TRIGger:FLEXray:TIME:CREPetition <cycle_repetition> <cycle_repetition> ::= {ALL | <rep #>} <rep #> ::= integer from 2-64 The :TRIGger:FLEXray:TIME:CREPetition command sets the repetition number of the FlexRay cycle to trigger on. The cycle repetition setting is only valid when the FlexRay trigger mode is set to TIME.
Commands by Subsystem :TRIGger:FLEXray:TIME:SEGMent (see page 564) Command Syntax :TRIGger:FLEXray:TIME:SEGMent <segment_type> <segment_type> ::= {STATic | DYNamic | SYMbol | IDLE} The :TRIGger:FLEXray:TIME:SEGMent command sets the FlexRay segment type. The segment setting is only valid when the FlexRay trigger mode is set to TIME.
Commands by Subsystem :TRIGger:FLEXray:TIME:SLOT (see page 564) Command Syntax :TRIGger:FLEXray:TIME:SLOT <slot_type>, <slot_id> <slot_type> ::= {ALL | EMPTY} <slot_id> ::= {ALL | <slot #>} <slot #> ::= integer from 1-2047 The :TRIGger:FLEXray:TIME:SLOT command sets the FlexRay slot type and ID. The slot setting is only valid when the FlexRay trigger mode is set to TIME.
Commands by Subsystem :TRIGger:FLEXray:TRIGger (see page 564) Command Syntax :TRIGger:FLEXray:TRIGger <condition> <condition> ::= {FRAMe | TIME | ERRor} The :TRIGger:FLEXray:TRIGger command sets the FLEXray trigger on condition: • FRAMe — triggers on specified frames (without errors). • TIME — triggers on specified bus cycles, segments, and slots. •...
Commands by Subsystem :TRIGger:GLITch Commands Table 68 :TRIGger:GLITch Commands Summary Command Query Options and Query Returns :TRIGger:GLITch:GREater :TRIGger:GLITch:GREater <greater than time> ::= than <greater than than? (see page 384) floating-point number from 5 ns to time>[suffix] (see 10 seconds in NR3 format page 384) [suffix] ::= {s | ms | us | ns | ps}...
Page 383
Commands by Subsystem Table 68 :TRIGger:GLITch Commands Summary (continued) Command Query Options and Query Returns :TRIGger:GLITch:RANGe :TRIGger:GLITch:RANGe? <greater than time> ::= start time <greater than (see page 389) from 10 ns to 9.99 seconds in NR3 time>[suffix], <less format than time>[suffix] (see <less than time>...
Commands by Subsystem :TRIGger:GLITch:GREaterthan (see page 564) Command Syntax :TRIGger:GLITch:GREaterthan <greater_than_time>[<suffix>] <greater_than_time> ::= 32-bit floating-point number (5 ns - 10 seconds) in NR3 format <suffix> ::= {s | ms | us | ns | ps} The :TRIGger:GLITch:GREaterthan command sets the minimum pulse width duration for the selected :TRIGger:GLITch:SOURce.
Commands by Subsystem :TRIGger:GLITch:LESSthan (see page 564) Command Syntax :TRIGger:GLITch:LESSthan <less_than_time>[<suffix>] <less_than_time> ::= floating-point number (5 ns - 10 seconds) <suffix> ::= {s | ms | us | ns | ps} The :TRIGger:GLITch:LESSthan command sets the maximum pulse width duration for the selected :TRIGger:GLITch:SOURce. Query Syntax :TRIGger:GLITch:LESSthan? The :TRIGger:GLITch:LESSthan? query returns the pulse width duration...
Commands by Subsystem :TRIGger:GLITch:LEVel (see page 564) Command Syntax :TRIGger:GLITch:LEVel <level_argument> <level_argument> ::= <level>[, <source>] <level> ::= .75 x full-scale voltage from center screen in NR3 format for internal triggers <level> ::= 2 V with probe attenuation at 1:1 in NR3 format for external triggers <level>...
Commands by Subsystem :TRIGger:GLITch:QUALifier (see page 564) Command Syntax :TRIGger:GLITch:QUALifier <operator> <operator> ::= {GREaterthan | LESSthan | RANGe} This command sets the mode of operation of the glitch pulse width trigger. The oscilloscope can trigger on a pulse width that is greater than a time value, less than a time value, or within a range of time values.
Commands by Subsystem :TRIGger:GLITch:RANGe (see page 564) Command Syntax :TRIGger:GLITch:RANGe <greater than time>[suffix], <less than time>[suffix] <greater than time> ::= start time (10 ns - 9.99 seconds) in NR3 format <less than time> ::= stop time (15 ns - 10 seconds) in NR3 format [suffix] ::= {s | ms | us | ns | ps} The :TRIGger:GLITch:RANGe command sets the pulse width duration for the selected :TRIGger:GLITch:SOURce.
Commands by Subsystem :TRIGger:GLITch:SOURce (see page 564) Command Syntax :TRIGger:GLITch:SOURce <source> <source> ::= {CHANnel<n> | EXTernal} for the DSO models <source> ::= {DIGital0,..,DIGital15 | CHANnel<n>} for the MSO models <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n>...
Commands by Subsystem :TRIGger:IIC:PATTern:ADDRess (see page 564) Command Syntax :TRIGger:IIC:PATTern:ADDRess <value> <value> ::= integer or <string> <string> ::= "0xnn" where n ::= {0,..,9 | A,..,F} The :TRIGger:IIC:PATTern:ADDRess command sets the address for IIC data.The address can range from 0x00 to 0x7F (7- bit) or 0x3FF (10- bit) hexadecimal.
Commands by Subsystem :TRIGger:IIC:PATTern:DATA (see page 564) Command Syntax :TRIGger:IIC:PATTern:DATA <value> <value> ::= integer or <string> <string> ::= "0xnn" where n ::= {0,..,9 | A,..,F} The :TRIGger:IIC:PATTern:DATA command sets IIC data. The data value can range from 0x00 to 0x0FF (hexadecimal). Use the don't care data pattern (- 1 or 0xFFFFFFFF) to ignore the data value.
Commands by Subsystem :TRIGger:IIC:PATTern:DATa2 (see page 564) Command Syntax :TRIGger:IIC:PATTern:DATa2 <value> <value> ::= integer or <string> <string> ::= "0xnn" where n ::= {0,..,9 | A,..,F} The :TRIGger:IIC:PATTern:DATa2 command sets IIC data 2. The data value can range from 0x00 to 0x0FF (hexadecimal). Use the don't care data pattern (- 1 or 0xFFFFFFFF) to ignore the data value.
Commands by Subsystem :TRIGger:IIC:SOURce:CLOCk (see page 564) Command Syntax :TRIGger:IIC:[SOURce:]CLOCk <source> <source> ::= {CHANnel<n> | EXTernal} for the DSO models <source> ::= {CHANnel<n> | DIGital0,..,DIGital15} for the MSO models <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n>...
Commands by Subsystem :TRIGger:IIC:SOURce:DATA (see page 564) Command Syntax :TRIGger:IIC:[SOURce:]DATA <source> <source> ::= {CHANnel<n> | EXTernal} for the DSO models <source> ::= {CHANnel<n> | DIGital0,..,DIGital15} for the MSO models <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n>...
Commands by Subsystem :TRIGger:IIC:TRIGger:QUALifier (see page 564) Command Syntax :TRIGger:IIC:TRIGger:QUALifier <value> <value> ::= {EQUal | NOTequal | LESSthan | GREaterthan} The :TRIGger:IIC:TRIGger:QUALifier command sets the IIC data qualifier when TRIGger:IIC:TRIGger[:TYPE] is set to READEeprom. Query Syntax :TRIGger:IIC:TRIGger:QUALifier? The :TRIGger:IIC:TRIGger:QUALifier? query returns the current IIC data qualifier value.
Page 399
Commands by Subsystem • ":TRIGger:IIC:PATTern:ADDRess" on page 392 • ":TRIGger:IIC:PATTern:DATA" on page 393 • ":TRIGger:IIC:PATTern:DATa2" on page 394 • ":TRIGger:IIC:TRIGger:QUALifier" on page 397 • "Long Form to Short Form Truncation Rules" on page 566 Agilent 6000 Series Oscilloscopes Programmer's Reference...
Commands by Subsystem :TRIGger:LIN:ID (see page 564) Command Syntax :TRIGger:LIN:ID <value> <value> ::= 7-bit integer in decimal, <nondecimal>, or <string> from 0-63 or 0x00-0x3f <nondecimal> ::= #Hnn where n ::= {0,..,9 | A,..,F} for hexadecimal <nondecimal> ::= #Bnn...n where n ::= {0 | 1} for binary <string>...
Commands by Subsystem :TRIGger:LIN:SAMPlepoint (see page 564) Command Syntax :TRIGger:LIN:SAMPlepoint <value> <value><NL> <value> ::= {60 | 62.5 | 68 | 70 | 75 | 80 | 87.5} in NR3 format The :TRIGger:LIN:SAMPlepoint command sets the point during the bit time where the bit level is sampled to determine whether the bit is dominant or recessive.
Commands by Subsystem :TRIGger:LIN:SIGNal:BAUDrate (see page 564) Command Syntax :TRIGger:LIN:SIGNal:BAUDrate <baudrate> <baudrate> ::= integer in NR1 format <baudrate> ::= {2400 | 9600 | 19200} The :TRIGger:LIN:SIGNal:BAUDrate command sets the standard baud rate of the LIN signal at 2400 b/s, 9600 b/s, or 19200 b/s. If a non- standard baud rate is sent, the baud rate will be set to the next highest standard rate.
Commands by Subsystem :TRIGger:LIN:SOURce (see page 564) Command Syntax :TRIGger:LIN:SOURce <source> <source> ::= {CHANnel<n> | EXTernal} for the DSO models <source> ::= {CHANnel<n> | DIGital0,..,DIGital15} for the MSO models <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n>...
Commands by Subsystem :TRIGger:LIN:STANdard (see page 564) Command Syntax :TRIGger:LIN:STANdard <std> <std> ::= {LIN13 | LIN20} The :TRIGger:LIN:STANdard command sets the LIN standard in effect for triggering and decoding to be LIN1.3 or LIN2.0. Query Syntax :TRIGger:LIN:STANdard? The :TRIGger:LIN:STANdard? query returns the current LIN standard setting.
Commands by Subsystem :TRIGger:LIN:SYNCbreak (see page 564) Command Syntax :TRIGger:LIN:SYNCbreak <value> <value> ::= integer = {11 | 12 | 13} The :TRIGger:LIN:SYNCbreak command sets the length of the LIN sync break to be greater than or equal to 11,12, or 13 clock lengths. The sync break is the idle period in the bus activity at the beginning of each packet that distinguishes one information packet from the previous one.
Commands by Subsystem :TRIGger:LIN:TRIGger (see page 564) Command Syntax :TRIGger:LIN:TRIGger <condition> <condition> ::= {SYNCbreak | ID} The :TRIGger:LIN:TRIGger command sets the LIN trigger on condition to be Sync Break (SYNCbreak) or Frame Id (ID). The ID option is available when the automotive CAN and LIN serial decode option (Option N O T E AMS) has been licensed.
Commands by Subsystem :TRIGger:SEQuence:COUNt (see page 564) Command Syntax :TRIGger:SEQuence:COUNt <count> <count> ::= integer in NR1 format The :TRIGger:SEQuence:COUNt command sets the sequencer edge counter resource. The edge counter is used in the trigger stage to determine the number of edges that must be found before the sequencer generates a trigger.
Commands by Subsystem :TRIGger:SEQuence:FIND (see page 564) Command Syntax :TRIGger:SEQuence:FIND <value> <value> ::= {PATTern1,ENTered | PATTern1,EXITed | EDGE1 | PATTern1,AND,EDGE1} The :TRIGger:SEQuence:FIND command specifies the find stage of a sequence trigger. This command accepts three program data parameters; you can use NONE to fill out the parameter list (for example,"EDGE1,NONE,NONE").
Commands by Subsystem :TRIGger:SEQuence:PATTern (see page 564) Command Syntax :TRIGger:SEQuence:PATTern{1 | 2} <value>,<mask> <value> ::= integer or <string> <mask> ::= integer or <string> <string> ::= "0xnnnnnn" where n ::= {0,..,9 | A,..,F} The :TRIGger:SEQuence:PATTern<n> command defines the specified sequence pattern resource according to the value and the mask. For both <value>...
Commands by Subsystem :TRIGger:SEQuence:RESet (see page 564) Command Syntax :TRIGger:SEQuence:RESet <value> <value> ::= {NONE | PATTern1,ENTered | PATTern1,EXITed | EDGE1 | PATTern1,AND,EDGE1 | PATTern2,ENTered | PATTern2,EXITed | EDGE2 | TIMer} Values used in find and trigger stages are not available. EDGE2 is not available if EDGE2,COUNt is used in trigger stage.
Commands by Subsystem :TRIGger:SEQuence:TIMer (see page 564) Command Syntax :TRIGger:SEQuence:TIMer <time_value> <time_value> ::= time in seconds in NR1 format The :TRIGger:SEQuence:TIMer command sets the sequencer timer resource in seconds from 100 ns to 10 s. The timer is used in the reset stage to determine how long to wait for the trigger to occur before restarting.
Commands by Subsystem :TRIGger:SEQuence:TRIGger (see page 564) Command Syntax :TRIGger:SEQuence:TRIGger <value> <value> ::={PATTern2,ENTered | PATTern2,EXITed | EDGE2 | PATTern2,AND,EDGE2 | EDGE2,COUNt | EDGE2,COUNt,NREFind} The :TRIGger:SEQuence:TRIGger command specifies the trigger stage of a sequence trigger. The sequence commands set various search terms. After all of these are found in sequence, the trigger condition itself is searched for.
Commands by Subsystem :TRIGger:SPI Commands Table 72 :TRIGger:SPI Commands Summary Command Query Options and Query Returns :TRIGger:SPI:CLOCk:SLOP :TRIGger:SPI:CLOCk:SLOP <slope> ::= {NEGative | POSitive} e <slope> (see e? (see page 417) page 417) :TRIGger:SPI:CLOCk:TIMe :TRIGger:SPI:CLOCk:TIMe <time_value> ::= time in seconds in out <time_value>...
Commands by Subsystem :TRIGger:SPI:CLOCk:SLOPe (see page 564) Command Syntax :TRIGger:SPI:CLOCk:SLOPe <slope> <slope> ::= {NEGative | POSitive} The :TRIGger:SPI:CLOCk:SLOPe command specifies the rising edge (POSitive) or falling edge (NEGative) of the SPI clock source that will clock in the data. Query Syntax :TRIGger:SPI:CLOCk:SLOPe? The :TRIGger:SPI:CLOCk:SLOPe? query returns the current SPI clock source slope.
Commands by Subsystem :TRIGger:SPI:CLOCk:TIMeout (see page 564) Command Syntax :TRIGger:SPI:CLOCk:TIMeout <time_value> <time_value> ::= time in seconds in NR1 format The :TRIGger:SPI:CLOCk:TIMeout command sets the SPI signal clock timeout resource in seconds from 500 ns to 10 s when the :TRIGger:SPI:FRAMing command is set to TIMeout. The timer is used to frame a signal by a clock timeout.
Commands by Subsystem :TRIGger:SPI:FRAMing (see page 564) Command Syntax :TRIGger:SPI:FRAMing <value> <value> ::= {CHIPselect | NOTChipselect | TIMeout} The :TRIGger:SPI:FRAMing command sets the SPI trigger framing value. If TIMeout is selected, the timeout value is set by the :TRIGger:SPI:CLOCk:TIMeout command. Query Syntax :TRIGger:SPI:FRAMing? The :TRIGger:SPI:FRAMing? query returns the current SPI framing value.
Commands by Subsystem :TRIGger:SPI:PATTern:DATA (see page 564) Command Syntax :TRIGger:SPI:PATTern:DATA <value>,<mask> <value> ::= integer or <string> <mask> ::= integer or <string> <string> ::= "0xnnnnnn" where n ::= {0,..,9 | A,..,F} The :TRIGger:SPI:PATTern:DATA command defines the SPI data pattern resource according to the value and the mask. This pattern, along with the data width, control the data pattern searched for in the data stream.
Commands by Subsystem :TRIGger:SPI:PATTern:WIDTh (see page 564) Command Syntax :TRIGger:SPI:PATTern:WIDTh <width> <width> ::= integer from 4 to 32 in NR1 format The :TRIGger:SPI:PATTern:WIDTh command sets the width of the SPI data pattern anywhere from 4 bits to 32 bits. Query Syntax :TRIGger:SPI:PATTern:WIDTh? The :TRIGger:SPI:PATTern:WIDTh? query returns the current SPI data pattern width setting.
Commands by Subsystem :TRIGger:SPI:SOURce:CLOCk (see page 564) Command Syntax :TRIGger:SPI:SOURce:CLOCk <source> <source> ::= {CHANnel<n> | EXTernal} for the DSO models <source> ::= {CHANnel<n> | DIGital0,..,DIGital15} for the MSO models <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n>...
Commands by Subsystem :TRIGger:SPI:SOURce:DATA (see page 564) Command Syntax :TRIGger:SPI:SOURce:DATA <source> <source> ::= {CHANnel<n> | EXTernal} for the DSO models <source> ::= {CHANnel<n> | DIGital0,..,DIGital15} for the MSO models <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n>...
Commands by Subsystem :TRIGger:SPI:SOURce:FRAMe (see page 564) Command Syntax :TRIGger:SPI:SOURce:FRAMe <source> <source> ::= {CHANnel<n> | EXTernal} for the DSO models <source> ::= {CHANnel<n> | DIGital0,..,DIGital15} for the MSO models <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n>...
Commands by Subsystem :TRIGger:TV:LINE (see page 564) Command Syntax :TRIGger:TV:LINE <line_number> <line_number> ::= integer in NR1 format The :TRIGger:TV:LINE command allows triggering on a specific line of video. The line number limits vary with the standard and mode, as shown in the following table.
Commands by Subsystem :TRIGger:TV:MODE (see page 564) Command Syntax :TRIGger:TV:MODE <mode> <mode> ::= {FIEld1 | FIEld2 | AFIelds | ALINes | LINE | VERTical | LFIeld1 | LFIeld2 | LALTernate | LVERtical} The :TRIGger:TV:MODE command selects the TV trigger mode and field. The LVERtical parameter is only available when :TRIGger:TV:STANdard is GENeric.
Commands by Subsystem :TRIGger:TV:POLarity (see page 564) Command Syntax :TRIGger:TV:POLarity <polarity> <polarity> ::= {POSitive | NEGative} The :TRIGger:TV:POLarity command sets the polarity for the TV trigger. Query Syntax :TRIGger:TV:POLarity? The :TRIGger:TV:POLarity? query returns the TV trigger polarity. Return Format <polarity><NL> <polarity>...
Commands by Subsystem :TRIGger:TV:SOURce (see page 564) Command Syntax :TRIGger:TV:SOURce <source> <source> ::= {CHANnel<n>} <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n> ::= {1 | 2} for the two channel oscilloscope models The :TRIGger:TV:SOURce command selects the channel used to produce the trigger.
Commands by Subsystem :TRIGger:USB:SOURce:DMINus (see page 564) Command Syntax :TRIGger:USB:SOURce:DMINus <source> <source> ::= {CHANnel<n> | EXTernal} for the DSO models <source> ::= {CHANnel<n> | DIGital0,..,DIGital15} for the MSO models <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n>...
Commands by Subsystem :TRIGger:USB:SOURce:DPLus (see page 564) Command Syntax :TRIGger:USB:SOURce:DPLus <source> <source> ::= {CHANnel<n> | EXTernal} for the DSO models <source> ::= {CHANnel<n> | DIGital0,..,DIGital15} for the MSO models <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n>...
Commands by Subsystem :TRIGger:USB:SPEed (see page 564) Command Syntax :TRIGger:USB:SPEed <value> <value> ::= {LOW | FULL} The :TRIGger:USB:SPEed command sets the expected USB signal speed to be Low Speed (1.5 Mb/s) or Full Speed (12 Mb/s). Query Syntax :TRIGger:USB:SPEed? The :TRIGger:USB:SPEed? query returns the current speed value for the USB signal.
Commands by Subsystem :TRIGger:USB:TRIGger (see page 564) Command Syntax :TRIGger:USB:TRIGger <value> <value> ::= {SOP | EOP | ENTersuspend | EXITsuspend | RESet} The :TRIGger:USB:TRIGger command sets where the USB trigger will occur: • SOP — Start of packet. • EOP — End of packet. •...
Commands by Subsystem :WAVeform Commands Provide access to waveform data. See "Introduction to :WAVeform Commands" on page 438. Table 76 :WAVeform Commands Summary Command Query Options and Query Returns :WAVeform:BYTeorder :WAVeform:BYTeorder? <value> ::= {LSBFirst | MSBFirst} <value> (see page 444) (see page 444)
Page 437
Commands by Subsystem Table 76 :WAVeform Commands Summary (continued) Command Query Options and Query Returns :WAVeform:PREamble? <preamble_block> ::= <format NR1>, (see page 453) <type NR1>,<points NR1>,<count NR1>, <xincrement NR3>, <xorigin NR3>, <xreference NR1>,<yincrement NR3>, <yorigin NR3>, <yreference NR1> <format> ::= an integer in NR1 format: •...
Page 438
Commands by Subsystem Table 76 :WAVeform Commands Summary (continued) Command Query Options and Query Returns :WAVeform:YORigin? (see <return_value> ::= y-origin in the page 467) current preamble in NR3 format :WAVeform:YREFerence? <return_value> ::= y-reference value (see page 468) in the current preamble in NR1 format Introduction to The WAVeform subsystem is used to transfer data to a controller from the...
Page 439
Commands by Subsystem The number of points transferred to the computer is controlled using the :WAVeform:POINts command (see page 449). If :WAVeform:POINts MAXimum is specified and the instrument is not running (stopped), all of the points that are displayed are transferred. This can be as many as 4,000,000 in some operating modes or as many as 8,000,000 for a digital channel on the mixed signal oscilloscope.
Page 440
Commands by Subsystem corresponds to one point away from the right side of the screen. The maximum number of points that can be returned in average mode is 1000 unless ACQuire:COUNt has been set to 1. PEAK Data Peak detect display mode is used to detect glitches for time base settings of 500 us/div and slower.
Page 441
Commands by Subsystem In converting a data value to time, the time value of a data point can be determined by the position of the data point. For example, the fourth data point sent with :WAVeform:XORigin = 16 ns, :WAVeform:XREFerence = 0, and :WAVeform:XINCrement = 2 ns, can be calculated using the following formula: time = [(data point number - xreference) * xincrement] + xorigin...
Page 442
Commands by Subsystem WORD format (see ":WAVeform:FORMat" on page 448) provides 16- bit access to the waveform data. In the WORD format, the number of data bytes is twice the number of data points. The number of data points is the value returned by the :WAVeform:POINts? query (see page 449).
Page 443
Commands by Subsystem If the :WAVeform:FORMat is WORD (see page 448) is WORD, every other data byte will be 0. The setting of :WAVeform:BYTeorder (see page 444) controls which byte is 0. If a digital channel is not displayed, its bit value in the pod data byte is not defined.
Commands by Subsystem :WAVeform:BYTeorder (see page 564) Command Syntax :WAVeform:BYTeorder <value> <value> ::= {LSBFirst | MSBFirst} The :WAVeform:BYTeorder command sets the output sequence of the WORD data. The parameter MSBFirst sets the most significant byte to be transmitted first. The parameter LSBFirst sets the least significant byte to be transmitted first.
Commands by Subsystem :WAVeform:COUNt (see page 564) Query Syntax :WAVeform:COUNt? The :WAVeform:COUNT? query returns the count used to acquire the current waveform. This may differ from current values if the unit has been stopped and its configuration modified. For all acquisition types except average, this value is 1.
Commands by Subsystem :WAVeform:DATA (see page 564) Query Syntax :WAVeform:DATA? The :WAVeform:DATA query returns the binary block of sampled data points transmitted using the IEEE 488.2 arbitrary block data format. The binary data is formatted according to the settings of the :WAVeform:UNSigned, :WAVeform:BYTeorder, :WAVeform:FORMat, and :WAVeform:SOURce commands.
Page 447
Commands by Subsystem <header><waveform_data><NL> ' Where: <header> = #800001000 (This is an example header) ' The "#8" may be stripped off of the header and the remaining ' numbers are the size, in bytes, of the waveform data block. ' size can vary depending on the number of points acquired for the ' waveform.
Commands by Subsystem :WAVeform:FORMat (see page 564) Command Syntax :WAVeform:FORMat <value> <value> ::= {WORD | BYTE | ASCii} The :WAVeform:FORMat command sets the data transmission mode for waveform data points. This command controls how the data is formatted when sent from the oscilloscope. •...
Commands by Subsystem :WAVeform:POINts (see page 564) Command Syntax :WAVeform:POINts <# points> <# points> ::= {100 | 250 | 500 | 1000 | <points mode>} if waveform points mode is NORMal <# points> ::= {100 | 250 | 500 | 1000 | 2000 ... 8000000 in 1-2-5 sequence | <points mode>} if waveform points mode is MAXimum or RAW <points mode>...
Page 450
Commands by Subsystem When the :WAVeform:SOURce is the serial decode bus (SBUS), this query returns the number of messages that were decoded. Return Format <# points><NL> <# points> ::= {100 | 250 | 500 | 1000 | <maximum # points>} if waveform points mode is NORMal <# points>...
Commands by Subsystem :WAVeform:POINts:MODE (see page 564) Command Syntax :WAVeform:POINts:MODE <points_mode> <points_mode> ::= {NORMal | MAXimum | RAW} The :WAVeform:POINts:MODE command sets the data record to be transferred with the :WAVeform:DATA? query. For the analog or digital sources, there are two different records that can be transferred: •...
Page 452
Commands by Subsystem Query Syntax :WAVeform:POINts:MODE? The :WAVeform:POINts:MODE? query returns the current points mode. Setting the points mode will affect what data is transferred. See the discussion above. Return Format <points_mode><NL> <points_mode> ::= {NORMal | MAXimum | RAW} See Also •...
Commands by Subsystem :WAVeform:PREamble (see page 564) Query Syntax :WAVeform:PREamble? The :WAVeform:PREamble query requests the preamble information for the selected waveform source. The preamble data contains information concerning the vertical and horizontal scaling of the data of the corresponding channel. Return Format <preamble_block><NL>...
Page 454
Commands by Subsystem See Also • "Introduction to :WAVeform Commands" on page 438 • ":ACQuire:COUNt" on page 142 • ":ACQuire:POINts" on page 145 • ":ACQuire:TYPE" on page 148 • ":DIGitize" on page 111 • ":WAVeform:COUNt" on page 445 • ":WAVeform:DATA" on page 446 •...
Page 455
Commands by Subsystem TYPE : int16 - 0 = NORMAL, 1 = PEAK DETECT, 2 = AVERAGE POINTS : int32 - number of data points transferred. COUNT : int32 - 1 and is always 1. XINCREMENT : float64 - time difference between data points. XORIGIN : float64 - always the first data point in memory.
Commands by Subsystem :WAVeform:SOURce (see page 564) Command Syntax :WAVeform:SOURce <source> <source> ::= {CHANnel<n> | FUNCtion | MATH | SBUS} for DSO models <source> ::= {CHANnel<n> | POD{1 | 2} | BUS{1 | 2} | FUNCtion | MATH | SBUS} for MSO models <n>...
Page 457
Commands by Subsystem Return Format <source><NL> <source> ::= {CHAN<n> | FUNC | SBUS} for DSO models <source> ::= {CHAN<n> | POD{1 | 2} | BUS{1 | 2} | FUNC | SBUS} for MSO models <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n>...
Page 458
Commands by Subsystem XORIGIN : float64 - always the first data point in memory. XREFERENCE : int32 - specifies the data point associated with x-origin. YINCREMENT : float32 - voltage diff between data points. YORIGIN : float32 - value is the voltage at center screen. YREFERENCE : int32 - specifies the data point where y-origin occurs.
Page 459
Commands by Subsystem 1000000) + " us" + vbCrLf strOutput = strOutput + "Delay = " + _ FormatNumber(((lngPoints / 2 - lngXReference) * _ dblXIncrement + dblXOrigin) * 1000000) + " us" + vbCrLf ' QUERY_WAVE_DATA - Outputs waveform data that is stored in a buffer. ' Query the oscilloscope for the waveform data.
Commands by Subsystem :WAVeform:TYPE (see page 564) Query Syntax :WAVeform:TYPE? The :WAVeform:TYPE? query returns the acquisition mode associated with the currently selected waveform. The acquisition mode is set by the :ACQuire:TYPE command. Return Format <mode><NL> <mode> ::= {NORM | PEAK | AVER | HRES} If the :WAVeform:SOURce is POD1, POD2, or SBUS, the type is always NORM.
Commands by Subsystem :WAVeform:UNSigned (see page 564) Command Syntax :WAVeform:UNSigned <unsigned> <unsigned> ::= {{0 | OFF} | {1 | ON}} The :WAVeform:UNSigned command turns unsigned mode on or off for the currently selected waveform. Use the WAVeform:UNSigned command to control whether data values are sent as unsigned or signed integers. This command can be used to match the instrument's internal data type to the data type used by the programming language.
Commands by Subsystem :WAVeform:VIEW (see page 564) Command Syntax :WAVeform:VIEW <view> <view> ::= {MAIN} The :WAVeform:VIEW command sets the view setting associated with the currently selected waveform. Currently, the only legal value for the view setting is MAIN. Query Syntax :WAVeform:VIEW? The :WAVeform:VIEW? query returns the view setting associated with the currently selected waveform.
Commands by Subsystem :WAVeform:XINCrement (see page 564) Query Syntax :WAVeform:XINCrement? The :WAVeform:XINCrement? query returns the x- increment value for the currently specified source. This value is the time difference between consecutive data points in seconds. Return Format <value><NL> <value> ::= x-increment in the current preamble in 64-bit floating point NR3 format See Also •...
Commands by Subsystem :WAVeform:XORigin (see page 564) Query Syntax :WAVeform:XORigin? The :WAVeform:XORigin? query returns the x- origin value for the currently specified source. XORigin is the X- axis value of the data point specified by the :WAVeform:XREFerence value. In this product, that is always the X- axis value of the first data point (XREFerence = 0).
Commands by Subsystem :WAVeform:XREFerence (see page 564) Query Syntax :WAVeform:XREFerence? The :WAVeform:XREFerence? query returns the x- reference value for the currently specified source. This value specifies the index of the data point associated with the x- origin data value. In this product, the x- reference point is the first point displayed and XREFerence is always 0.
Commands by Subsystem :WAVeform:YINCrement (see page 564) Query Syntax :WAVeform:YINCrement? The :WAVeform:YINCrement? query returns the y- increment value in volts for the currently specified source. This value is the voltage difference between consecutive data values. The y- increment for digital waveforms is always "1".
Commands by Subsystem :WAVeform:YORigin (see page 564) Query Syntax :WAVeform:YORigin? The :WAVeform:YORigin? query returns the y- origin value for the currently specified source. This value is the Y- axis value of the data value specified by the :WAVeform:YREFerence value. For this product, this is the Y- axis value of the center of the screen.
Commands by Subsystem :WAVeform:YREFerence (see page 564) Query Syntax :WAVeform:YREFerence? The :WAVeform:YREFerence? query returns the y- reference value for the currently specified source. This value specifies the data point value where the y- origin occurs. In this product, this is the data point value of the center of the screen.
Agilent 6000 Series Oscilloscopes Programmer's Reference Obsolete and Discontinued Commands Obsolete commands are older forms of commands that are provided to reduce customer rework for existing systems and programs (see"Obsolete Commands" on page 564). Obsolete Command Current Command Equivalent Behavior Differences ANALog<n>:BWLimit :CHANnel<n>:BWLimit (see page...
Page 492
Obsolete and Discontinued Commands Obsolete Command Current Command Equivalent Behavior Differences :CHANnel<n>:INPut (see :CHANnel<n>:IMPedance page 500) (see page 173) :CHANnel<n>:PMODe (see none page 501) :DISPlay:CONNect (see :DISPlay:VECTors (see page 502) page 202) :DISPlay:ORDer (see page 503) none :ERASe (see page 504) :CDISplay (see page...
Page 493
Obsolete and Discontinued Commands Obsolete Command Current Command Equivalent Behavior Differences :MEASure:TSTOp (see :MARKer:X2Position (see page 518) page 237) :MEASure:TVOLt (see :MEASure:TVALue (see TVALue measures additional page 519) page 274) values such as db, Vs, etc. :MEASure:UPPer (see :MEASure:DEFine:THResholds MEASure:DEFine:THResholds page 521) (see...
Page 494
Obsolete and Discontinued Commands Discontinued Command Current Command Equivalent Comments ASTore :DISPlay:PERSistence INFinite (see page 200) CHANnel:MATH :FUNCtion:OPERation (see ADD not included page 217) CHANnel<n>:PROTect :CHANnel<n>:PROTection Previous form of this (see page 181) command was used to enable/disable 50Ω protection. The new command resets a tripped protect and the query returns the status of TRIPed or NORMal.
Page 495
Obsolete and Discontinued Commands Discontinued Some previous oscilloscope queries returned control setting values of OFF Parameters and ON. The 6000 Series oscilloscopes only return the enumerated values 0 (for off) and 1 (for on). Agilent 6000 Series Oscilloscopes Programmer's Reference...
Obsolete and Discontinued Commands :CHANnel:ACTivity (see page 564) Command Syntax :CHANnel:ACTivity The :CHANnel:ACTivity command clears the cumulative edge variables for the next activity query. The :CHANnel:ACtivity command is an obsolete command provided for compatibility to N O T E previous oscilloscopes. Use the :ACTivity command (see page 103) instead.
Obsolete and Discontinued Commands :CHANnel:LABel (see page 564) Command Syntax :CHANnel:LABel <source_text><string> <source_text> ::= {CHANnel1 | CHANnel2 | DIGital0,..,DIGital15} <string> ::= quoted ASCII string The :CHANnel:LABel command sets the source text to the string that follows. Setting a channel will also result in the name being added to the label list.
Obsolete and Discontinued Commands :CHANnel2:SKEW (see page 564) Command Syntax :CHANnel2:SKEW <skew value> <skew value> ::= skew time in NR3 format <skew value> ::= -100 ns to +100 ns The :CHANnel2:SKEW command sets the skew between channels 1 and 2. The maximum skew is +/- 100 ns.
Obsolete and Discontinued Commands :CHANnel<n>:INPut (see page 564) Command Syntax :CHANnel<n>:INPut <impedance> <impedance> ::= {ONEMeg | FIFTy} <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n> ::= {1 | 2} for the two channel oscilloscope models The :CHANnel<n>:INPut command selects the input impedance setting for the specified channel.
Obsolete and Discontinued Commands :CHANnel<n>:PMODe (see page 564) Command Syntax :CHANnel<n>:PMODe <pmode value> <pmode value> ::= {AUTo | MANual} <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n> ::= {1 | 2} for the two channel oscilloscope models The probe sense mode is controlled internally and cannot be set.
Obsolete and Discontinued Commands :DISPlay:CONNect (see page 564) Command Syntax :DISPlay:CONNect <connect> <connect> ::= {{ 1 | ON} | {0 | OFF}} The :DISPlay:CONNect command turns vectors on and off. When vectors are turned on, the oscilloscope displays lines connecting sampled data points.
Obsolete and Discontinued Commands :DISPlay:ORDer (see page 564) Query Syntax :DISPlay:ORDer? The :DISPlay:ORDer? query returns a list of digital channel numbers in screen order, from top to bottom, separated by commas. Busing is displayed as digital channels with no separator. For example, in the following list, the bus consists of digital channels 4 and 5: DIG1, DIG4 DIG5, DIG7.
Obsolete and Discontinued Commands :ERASe (see page 564) Command Syntax :ERASe The :ERASe command erases the screen. The :ERASe command is an obsolete command provided for compatibility to previous N O T E oscilloscopes. Use the :CDISplay command (see page 110) instead.
Obsolete and Discontinued Commands :EXTernal:INPut (see page 564) Command Syntax :EXTernal:INPut <impedance> <impedance> ::= {ONEMeg | FIFTy} The :EXTernal:IMPedance command selects the input impedance setting for the external trigger. The legal values for this command are ONEMeg (1 Ω Ω ) and FIFTy (50 The :EXTernal:INPut command is an obsolete command provided for compatibility to N O T E...
Obsolete and Discontinued Commands :EXTernal:PMODe (see page 564) Command Syntax :EXTernal:PMODe <pmode value> <pmode value> ::= {AUTo | MANual} The probe sense mode is controlled internally and cannot be set. If a probe with sense is connected to the specified channel, auto sensing is enabled;...
Obsolete and Discontinued Commands :FUNCtion:VIEW (see page 564) Command Syntax :FUNCtion:VIEW <view> <view> ::= {{1 | ON} | (0 | OFF}} The :FUNCtion:VIEW command turns the selected function on or off. When ON is selected, the function performs as specified using the other FUNCtion commands.
Obsolete and Discontinued Commands :HARDcopy:DESTination (see page 564) Command Syntax :HARDcopy:DESTination <destination> <destination> ::= {CENTronics | FLOPpy} The :HARDcopy:DESTination command sets the hardcopy destination. The :HARDcopy:DESTination command is an obsolete command provided for compatibility N O T E to previous oscilloscopes. Use the :HARDcopy:FILename command (see page 227) instead.
Obsolete and Discontinued Commands :HARDcopy:DEVice (see page 564) Command Syntax :HARDcopy:DEVice <device> <device> ::= {TIFF | GIF | BMP | LASerjet | EPSon | DESKjet | BWDeskjet | SEIKo} The HARDcopy:DEVice command sets the hardcopy device type. BWDeskjet option refers to the monochrome Deskjet printer. N O T E The :HARDcopy:DEVice command is an obsolete command provided for compatibility to N O T E...
Obsolete and Discontinued Commands :HARDcopy:GRAYscale (see page 564) Command Syntax :HARDcopy:GRAYscale <gray> <gray> ::= {{OFF | 0} | {ON | 1}} The :HARDcopy:GRAYscale command controls whether grayscaling is performed in the hardcopy dump. The :HARDcopy:GRAYscale command is an obsolete command provided for compatibility to N O T E previous oscilloscopes.
Obsolete and Discontinued Commands :MEASure:LOWer (see page 564) Command Syntax :MEASure:LOWer <voltage> The :MEASure:LOWer command sets the lower measurement threshold value. This value and the UPPer value represent absolute values when the thresholds are ABSolute and percentage when the thresholds are PERCent as defined by the :MEASure:DEFine THResholds command.
Obsolete and Discontinued Commands :MEASure:SCRatch (see page 564) Command Syntax :MEASure:SCRatch The :MEASure:SCRatch command clears all selected measurements and markers from the screen. The :MEASure:SCRatch command is obsolete and is provided for backward compatibility to N O T E previous oscilloscopes. Use the :MEASure:CLEar command (see page 250) instead.
Obsolete and Discontinued Commands :MEASure:TDELta (see page 564) Query Syntax :MEASure:TDELta? The :MEASure:TDELta? query returns the time difference between the Tstop marker (X2 cursor) and the Tstart marker (X1 cursor). Tdelta = Tstop - Tstart Tstart is the time at the start marker (X1 cursor) and Tstop is the time at the stop marker (X2 cursor).
Obsolete and Discontinued Commands :MEASure:THResholds (see page 564) Command Syntax :MEASure:THResholds {T1090 | T2080 | VOLTage} The :MEASure:THResholds command selects the thresholds used when making time measurements. The :MEASure:THResholds command is obsolete and is provided for backward N O T E compatibility to previous oscilloscopes.
Obsolete and Discontinued Commands :MEASure:TMAX (see page 564) Command Syntax :MEASure:TMAX [<source>] <source> ::= {CHANnel<n> | FUNCtion | MATH} <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n> ::= {1 | 2} for the two channel oscilloscope models The :MEASure:TMAX command installs a screen measurement and starts an X- at- Max- Y measurement on the selected waveform.
Obsolete and Discontinued Commands :MEASure:TMIN (see page 564) Command Syntax :MEASure:TMIN [<source>] <source> ::= {CHANnel<n> | FUNCtion | MATH} <n> ::= {1 | 2 | 3 | 4} for the four channel oscilloscope models <n> ::= {1 | 2} for the two channel oscilloscope models The :MEASure:TMIN command installs a screen measurement and starts an X- at- Min- Y measurement on the selected waveform.
Obsolete and Discontinued Commands :MEASure:TSTArt (see page 564) Command Syntax :MEASure:TSTArt <value> [suffix] <value> ::= time at the start marker in seconds [suffix] ::= {s | ms | us | ns | ps} The :MEASure:TSTArt command moves the start marker (X1 cursor) to the specified time with respect to the trigger time.
Obsolete and Discontinued Commands :MEASure:TSTOp (see page 564) Command Syntax :MEASure:TSTOp <value> [suffix] <value> ::= time at the stop marker in seconds [suffix] ::= {s | ms | us | ns | ps} The :MEASure:TSTOp command moves the stop marker (X2 cursor) to the specified time with respect to the trigger time.
Obsolete and Discontinued Commands :MEASure:TVOLt (see page 564) Query Syntax :MEASure:TVOLt? <value>, [<slope>]<occurrence>[,<source>] <value> ::= the voltage level that the waveform must cross. <slope> ::= direction of the waveform. A rising slope is indicated by a plus sign (+). A falling edge is indicated by a minus sign (-).
Page 520
Obsolete and Discontinued Commands <value> ::= time in seconds of the specified voltage crossing in NR3 format Agilent 6000 Series Oscilloscopes Programmer's Reference...
Obsolete and Discontinued Commands :MEASure:UPPer (see page 564) Command Syntax :MEASure:UPPer <value> The :MEASure:UPPer command sets the upper measurement threshold value. This value and the LOWer value represent absolute values when the thresholds are ABSolute and percentage when the thresholds are PERCent as defined by the :MEASure:DEFine THResholds command.
Obsolete and Discontinued Commands :MEASure:VDELta (see page 564) Query Syntax :MEASure:VDELta? The :MEASure:VDELta? query returns the voltage difference between vertical marker 1 (Y1 cursor) and vertical marker 2 (Y2 cursor). No measurement is made when the :MEASure:VDELta? query is received by the oscilloscope.
Obsolete and Discontinued Commands :MEASure:VSTArt (see page 564) Command Syntax :MEASure:VSTArt <vstart_argument> <vstart_argument> ::= value for vertical marker 1 The :MEASure:VSTArt command moves the vertical marker (Y1 cursor) to the specified value corresponding to the selected source. The source can be selected by the MARKer:X1Y1source command.
Obsolete and Discontinued Commands :MEASure:VSTOp (see page 564) Command Syntax :MEASure:VSTOp <vstop_argument> <vstop_argument> ::= value for Y2 cursor The :MEASure:VSTOp command moves the vertical marker 2 (Y2 cursor) to the specified value corresponding to the selected source. The source can be selected by the MARKer:X2Y2source command.
Obsolete and Discontinued Commands :PRINt? (see page 564) Query Syntax :PRINt? [<options>] <options> ::= [<print option>][,..,<print option>] <print option> ::= {COLor | GRAYscale | BMP8bit | BMP} The :PRINt? query pulls image data back over the bus for storage. The :PRINT command is an obsolete command provided for compatibility to previous N O T E oscilloscopes.
Page 526
Obsolete and Discontinued Commands Old Print Option: Is Now: DISK invalid invalid The PRINt? query is not a core command. N O T E See Also • "Introduction to Root (:) Commands" on page 102 • "Introduction to :HARDcopy Commands" on page 224 •...
Obsolete and Discontinued Commands :TIMebase:DELay (see page 564) Command Syntax :TIMebase:DELay <delay_value> <delay_value> ::= time in seconds from trigger to the delay reference point on the screen. The valid range for delay settings depends on the time/division setting for the main time base. The :TIMebase:DELay command sets the main time base delay.
Obsolete and Discontinued Commands :TRIGger:CAN:ACKNowledge (see page 564) Command Syntax :TRIGger:CAN:ACKNowledge <value> <value> ::= {0 | OFF} This command was used with the N2758A CAN trigger module for 54620/54640 Series mixed- signal oscilloscopes. The 6000 Series oscilloscopes do not support the N2758A CAN trigger module. Query Syntax :TRIGger:CAN:ACKNowledge? The :TRIGger:CAN:ACKNowledge? query returns the current CAN...
Obsolete and Discontinued Commands :TRIGger:CAN:SIGNal:DEFinition (see page 564) Command Syntax :TRIGger:CAN:SIGNal:DEFinition <value> <value> ::= {CANH | CANL | RX | TX | DIFFerential} The :TRIGger:CAN:SIGNal:DEFinition command sets the CAN signal type when :TRIGger:CAN:TRIGger is set to SOF (start of frame). These signals can be set to: Dominant high signal: •...
Obsolete and Discontinued Commands :TRIGger:LIN:SIGNal:DEFinition (see page 564) Command Syntax :TRIGger:LIN:SIGNal:DEFinition <value> <value> ::= {LIN | RX | TX} The :TRIGger:LIN:SIGNal:DEFinition command sets the LIN signal type. These signals can be set to: Dominant low signals: • LIN — the actual LIN single- end bus signal line. •...
Obsolete and Discontinued Commands :TRIGger:TV:TVMode (see page 564) Command Syntax :TRIGger:TV:TVMode <mode> <mode> ::= {FIEld1 | FIEld2 | AFIelds | ALINes | LINE | VERTical | LFIeld1 | LFIeld2 | LALTernate | LVERtical} The :TRIGger:TV:MODE command selects the TV trigger mode and field. The LVERtical parameter is only available when :TRIGger:TV:STANdard is GENeric.
Page 534
Error Messages -314, Save/recall memory lost -313, Calibration memory lost -311, Memory error -310, System error -300, Device specific error -278, Macro header not found -277, Macro redefinition not allowed -276, Macro recursion error -273, Illegal macro label -272, Macro execution error -258, Media protected -257, File name error -256, File name not found...
Page 535
Error Messages -255, Directory full -254, Media full -253, Corrupt media -252, Missing media -251, Missing mass storage -250, Mass storage error -241, Hardware missing This message can occur when a feature is unavailable or unlicensed. For example, serial bus decode commands (which require a four- channel oscilloscope) are unavailable on two- channel oscilloscopes, and some serial bus decode commands are only available on four- channel oscilloscopes when the AMS (automotive serial decode) or LSS (low- speed serial...
Page 536
Error Messages -223, Too much data -222, Data out of range -221, Settings conflict -220, Parameter error -200, Execution error -183, Invalid inside macro definition -181, Invalid outside macro definition -178, Expression data not allowed -171, Invalid expression -170, Expression error -168, Block data not allowed -161, Invalid block data -158, String data not allowed...
Page 537
Error Messages -151, Invalid string data -150, String data error -148, Character data not allowed -138, Suffix not allowed -134, Suffix too long -131, Invalid suffix -128, Numeric data not allowed -124, Too many digits -123, Exponent too large -121, Invalid character in number -120, Numeric data error -114, Header suffix out of range -113, Undefined header...
Page 538
Error Messages -112, Program mnemonic too long -109, Missing parameter -108, Parameter not allowed -105, GET not allowed -104, Data type error -103, Invalid separator -102, Syntax error -101, Invalid character -100, Command error +10, Software Fault Occurred +100, File Exists +101, End-Of-File Found +102, Read Error Agilent 6000 Series Oscilloscopes Programmer's Reference...
Page 539
Error Messages +103, Write Error +104, Illegal Operation +105, Print Canceled +106, Print Initialization Failed +107, Invalid Trace File +108, Compression Error +109, No Data For Operation +112, Unknown File Type +113, Directory Not Supported Agilent 6000 Series Oscilloscopes Programmer's Reference...
Page 540
Error Messages Agilent 6000 Series Oscilloscopes Programmer's Reference...
Agilent 6000 Series Oscilloscopes Programmer's Reference Status Reporting Status Reporting Data Structures Status Byte Register (STB) Service Request Enable Register (SRE) Trigger Event Register (TER) Output Queue Message Queue (Standard) Event Status Register (ESR) (Standard) Event Status Enable Register (ESE) Error Queue Operation Status Event Register (:OPERegister[:EVENt]) Operation Status Condition Register (:OPERegister:CONDition)
Page 542
Status Reporting • To monitor an event, first clear the event; then, enable the event. All of the events are cleared when you initialize the instrument. • To allow a service request (SRQ) interrupt to an external controller, enable at least one bit in the Status Byte Register (by setting, or unmasking, the bit in the Service Request Enable register).
Status Reporting Status Reporting Data Structures The following figure shows how the status register bits are masked and logically OR'ed to generate service requests (SRQ) on particular events. Agilent 6000 Series Oscilloscopes Programmer's Reference...
Page 544
Status Reporting Agilent 6000 Series Oscilloscopes Programmer's Reference...
Page 545
Status Reporting The status register bits are described in more detail in the following tables: • "Status Byte Register (STB)" on page 95 • "Standard Event Status Register (ESR)" on page 82 • "Operation Status Condition Register" on page 122 •...
Status Reporting Status Byte Register (STB) The Status Byte Register is the summary- level register in the status reporting structure. It contains summary bits that monitor activity in the other status registers and queues. The Status Byte Register is a live register.
Page 547
Status Reporting The next program prints 0xD1 and clears bit 6 (RQS) and bit 4 (MAV) of the Status Byte Register. The difference in the output value between this example and the previous one is the value of bit 6 (weight = 64). Bit 6 is set when the first enabled summary bit is set and is cleared when the Status Byte Register is read by the serial poll command.
Status Reporting Service Request Enable Register (SRE) Setting the Service Request Enable Register bits enable corresponding bits in the Status Byte Register. These enabled bits can then set RQS and MSS (bit 6) in the Status Byte Register. Bits are set in the Service Request Enable Register using the *SRE command and the bits that are set are read with the *SRE? query.
Status Reporting Trigger Event Register (TER) This register sets the TRG bit in the status byte when a trigger event occurs. The TER event register stays set until it is cleared by reading the register or using the *CLS command. If your application needs to detect multiple triggers, the TER event register must be cleared after each one.
Status Reporting Output Queue The output queue stores the oscilloscope- to- controller responses that are generated by certain instrument commands and queries. The output queue generates the Message Available summary bit when the output queue contains one or more bytes. This summary bit sets the MAV bit (bit 4) in the Status Byte Register.
Status Reporting Message Queue The message queue contains the text of the last message written to the advisory line on the screen of the oscilloscope. The length of the oscilloscope's message queue is 1. Note that messages sent with the :SYSTem:DSP command do not set the MSG status bit in the Status Byte Register.
Status Reporting (Standard) Event Status Register (ESR) The (Standard) Event Status Register (ESR) monitors the following oscilloscope status events: • PON - Power On • URQ - User Request • CME - Command Error • EXE - Execution Error • DDE - Device Dependent Error •...
Status Reporting (Standard) Event Status Enable Register (ESE) To allow any of the (Standard) Event Status Register (ESR) bits to generate a summary bit, you must first enable that bit. Enable the bit by using the *ESE (Event Status Enable) common command to set the corresponding bit in the (Standard) Event Status Enable Register (ESE).
Status Reporting Error Queue As errors are detected, they are placed in an error queue. This queue is first in, first out. If the error queue overflows, the last error in the queue is replaced with error 350, Queue overflow. Any time the queue overflows, the least recent errors remain in the queue, and the most recent error is discarded.
Status Reporting Operation Status Event Register (:OPERegister[:EVENt]) This register hosts the RUN bit (bit 3), the WAIT TRIG bit (bit 5), and the OVLR bit (bit 11). • The RUN bit is set whenever the instrument goes from a stop state to a single or running state.
Status Reporting Operation Status Condition Register (:OPERegister:CONDition) This register hosts the RUN bit (bit 3), the WAIT TRIG bit (bit 5), the OVLR bit (bit 11), and the HWE bit (bit 12). • The :OPERegister:CONDition? query returns the value of the Operation Status Condition Register.
Status Reporting Arm Event Register (AER) This register sets bit 5 (Wait Trig bit) in the Operation Status Register and the OPER bit (bit 7) in the Status Byte Register when the instrument becomes armed. The ARM event register stays set until it is cleared by reading the register with the AER? query or using the *CLS command.
Status Reporting Hardware Event Event Register (:HWERegister[:EVENt]) This register hosts the Bat On bit (bit 0). • The Bat On bit is set whenever the instrument is operating on battery power. Agilent 6000 Series Oscilloscopes Programmer's Reference...
Status Reporting Hardware Event Condition Register (:HWERegister:CONDition) This register hosts the Bat On bit (bit 0) and the PLL LOCKED bit (bit 12). • The :HWERegister:CONDition? query returns the value of the Hardware Event Condition Register. • The PLL LOCKED bit (bit 12) is for internal use and is not intended for general use.
Status Reporting Clearing Registers and Queues The *CLS common command clears all event registers and all queues except the output queue. If *CLS is sent immediately after a program message terminator, the output queue is also cleared. Agilent 6000 Series Oscilloscopes Programmer's Reference...
Agilent 6000 Series Oscilloscopes Programmer's Reference More About Oscilloscope Commands Command Classifications Valid Command/Query Strings Query Return Values All Oscilloscope Commands Are Sequential...
More About Oscilloscope Commands Command Classifications To help you use existing programs with your oscilloscope, or use current programs with the next generation of oscilloscopes, commands are classified by the following categories: • "Core Commands" on page 564 • "Non- Core Commands" on page 564 •...
More About Oscilloscope Commands Valid Command/Query Strings • "Program Message Syntax" on page 565 • "Command Tree" on page 569 • "Duplicate Mnemonics" on page 579 • "Tree Traversal Rules and Multiple Commands" on page 579 Program Message Syntax To program the instrument remotely, you must understand the command format and structure expected by the instrument.
Page 566
More About Oscilloscope Commands Instruction The instruction header is one or more mnemonics separated by colons (:) Header that represent the operation to be performed by the instrument. The "Command Tree" on page 569 illustrates how all the mnemonics can be joined together to form a complete header.
Page 567
More About Oscilloscope Commands • When the command/keyword is longer than four characters, use the first four characters of the command/keyword unless the fourth character is a vowel; when the fourth character is a vowel, use the first three characters of the command/keyword. •...
Page 568
More About Oscilloscope Commands For example, :CHANnel1:BWLimit ON Common Command Headers Common command headers control IEEE 488.2 functions within the instrument (such as clear status). Their syntax is: *<command header><terminator> No space or separator is allowed between the asterisk (*) and the command header.
More About Oscilloscope Commands When a syntax definition specifies that a number is an integer, that means that the number should be whole. Any fractional part will be ignored, truncating the number. Numeric data parameters accept fractional values are called real numbers. All numbers must be strings of ASCII characters.
Page 570
More About Oscilloscope Commands • :LABel (see page 157) • :MASK (see page 158) • :CALibrate (see page 159) • :DATE (see page 160) • :LABel (see page 161) • :STARt (see page 162) • :STATus (see page 163) • :SWITch (see page 164)
Page 571
More About Oscilloscope Commands • :DISPlay (see page 193) • :CLEar (see page 195) • :DATA (see page 196) • :LABel (see page 198) • :LABList (see page 199) • :PERSistence (see page 200) • :SOURce (see page 201) • :VECTors (see page 202)
Page 572
More About Oscilloscope Commands • :PDRiver (see page 231) • :HWEenable (Hardware Event Enable Register) (see page 113) • :HWERegister • :CONDition (Hardware Event Condition Register) (see page 115) • [:EVENt] (Hardware Event Event Register) (see page 117) • :MARKer (see page 232) •...
Page 573
More About Oscilloscope Commands • :VAMPlitude (see page 276) • :VAVerage (see page 277) • :VBASe (see page 278) • :VMAX (see page 279) • :VMIN (see page 280) • :VPP (see page 281) • :VRMS (see page 282) • :VTIMe (see page 283)
Page 574
More About Oscilloscope Commands • :UTILization (see page 302) • :DISPlay (see page 303) • :FLEXray • :COUNt • :NULL? (see page 304) • :RESet (see page 305) • :SYNC? (see page 306) • :TOTal? (see page 307) • :IIC •...
Page 575
More About Oscilloscope Commands • :WINDow • :POSition (see page 329) • :RANGe (see page 330) • :SCALe (see page 331) • :TRIGger (see page 332) • :HFReject (see page 336) • :HOLDoff (see page 337) • :MODE (see page 338) •...
Page 576
More About Oscilloscope Commands • :COUPling (see page 365) • :LEVel (see page 366) • :REJect (see page 367) • :SLOPe (see page 368) • :SOURce (see page 369) • :FLEXray (see page 370) • :ERRor • :TYPE (see page 371) •...
Page 577
More About Oscilloscope Commands • :CLOCk (see page 395) • :DATA (see page 396) • :TRIGger • :QUALifier (see page 397) • [:TYPE] (see page 398) • :LIN (see page 400) • :ID (see page 401) • :SAMPlepoint (see page 402) •...
Page 578
More About Oscilloscope Commands • :CLOCk (see page 422) • :DATA (see page 423) • :FRAMe (see page 424) • :SWEep (see page 342) • :TV (see page 425) • :LINE (see page 426) • :MODE (see page 427) • :POLarity (see page 428)
More About Oscilloscope Commands • :YREFerence (see page 468) Common • *CLS (see page Commands (IEEE • *ESE (see page 488.2) • *ESR (see page • *IDN (see page • *LRN (see page • *OPC (see page • *OPT (see page •...
Page 580
More About Oscilloscope Commands • A leading colon (<NL> or EOI true on the last byte) places the parser at the root of the command tree. A leading colon is a colon that is the first character of a program header. Executing a subsystem command lets you access that subsystem until a leading colon or a program message terminator (<NL>) or EOI true is found.
Page 581
More About Oscilloscope Commands Example 3: You can send multiple program commands and program queries for Selecting different subsystems on the same line by separating each command with a Multiple semicolon. The colon following the semicolon enables you to enter a new Subsystems subsystem.
More About Oscilloscope Commands Query Return Values Command headers immediately followed by a question mark (?) are queries. Queries are used to get results of measurements made by the instrument or to find out how the instrument is currently configured. After receiving a query, the instrument interrogates the requested function and places the answer in its output queue.
More About Oscilloscope Commands All Oscilloscope Commands Are Sequential IEEE 488.2 makes the distinction between sequential and overlapped commands: • Sequential commands finish their task before the execution of the next command starts. • Overlapped commands run concurrently. Commands following an overlapped command may be started before the overlapped command is completed.
Page 584
More About Oscilloscope Commands Agilent 6000 Series Oscilloscopes Programmer's Reference...
Agilent 6000 Series Oscilloscopes Programmer's Reference Programming Examples SICL Example in C VISA Example in C VISA Example in Visual Basic VISA COM Example in Visual Basic Example programs are ASCII text files that can be cut from the help file and pasted into your favorite text editor.
Programming Examples SICL Example in C * Agilent SICL Example in C * ------------------------------------------------------------------ * This program illustrates most of the commonly-used programming * features of your Agilent oscilloscope. * This program is to be built as a WIN32 console application. * Edit the DEVICE_ADDRESS line to specify the address of the * applicable device.
Page 587
Programming Examples if (id == 0) printf ("Oscilloscope iopen failed!\n"); else printf ("Oscilloscope session initialized!\n"); /* Set the I/O timeout value for this session to 5 seconds. */ itimeout(id, TIMEOUT); /* Clear the interface. */ iclear(id); iremote(id); initialize(); /* The extras function contains miscellaneous commands that do not * need to be executed for the proper operation of this example.
Page 588
Programming Examples iprintf(id, "*RST\n"); /* Write the *IDN? string and send an EOI indicator, then read * the response into buf. ipromptf(id, "*IDN?\n", "%t", buf); printf("%s\n", buf); /* AUTOSCALE - This command evaluates all the input signals and * sets the correct conditions to display all of the active signals. iprintf(id, ":AUTOSCALE\n");...
Page 589
Programming Examples * function from main. void extra (void) /* RUN_STOP (not executed in this example): - RUN starts the acquisition of data for the active waveform display. - STOP stops the data acquisition and turns off AUTOSTORE. iprintf(id, ":RUN\n"); iprintf(id, ":STOP\n");...
Page 590
Programming Examples * communication with the computer interrupts data acquisition. * Setting up the oscilloscope over the bus causes the data * buffers to be cleared and internal hardware to be reconfigured. * If a measurement is immediately requested there may not have * been enough time for the data acquisition process to collect * data and the results may not be accurate.
Page 591
Programming Examples printf("Read setup string (%d bytes) from file.\n", setup_size); /* Restore setup string. */ iprintf(id, ":SYSTEM:SETUP #8%08d", setup_size); ifwrite(id, setup_string, setup_size, 1, &setup_size); printf("Restored setup string (%d bytes).\n", setup_size); /* IMAGE_TRANSFER - In this example we will query for the image * data with ":DISPLAY:DATA?"...
Page 592
Programming Examples printf ("Data Point %4d = %6.2f Volts at %10f Seconds\n", i, ((float)waveform_data[i] - preamble[9]) * preamble[7] + preamble[8], ((float)i - preamble[6]) * preamble[4] + preamble[5]); save_waveform(); /* Save waveform data to disk. */ retrieve_waveform(); /* Load waveform data from disk. */ * get_waveform * ------------------------------------------------------------------ * This function transfers the data displayed on the oscilloscope to...
Page 593
Programming Examples XREFERENCE : int32 - specifies the data point associated with the x-origin. YINCREMENT : float32 - voltage difference between data points. YORIGIN : float32 - value of the voltage at center screen. YREFERENCE : int32 - data point where y-origin occurs. printf("Reading preamble\n");...
Page 594
Programming Examples * save_waveform * ------------------------------------------------------------------ * This function saves the waveform data from the get_waveform * function to disk. The data is saved to a file called "wave.dat". void save_waveform(void) FILE *fp; fp = fopen("c:\\scope\\data\\wave.dat", "wb"); /* Write preamble. */ fwrite(preamble, sizeof(preamble[0]), 10, fp);...
Programming Examples VISA Example in C * Agilent VISA Example in C * ------------------------------------------------------------------ * This program illustrates most of the commonly-used programming * features of your Agilent oscilloscope. * This program is to be built as a WIN32 console application. * Edit the RESOURCE line to specify the address of the * applicable device.
Page 596
Programming Examples /* Clear the interface. */ viClear(vi); initialize(); /* The extras function contains miscellaneous commands that do not * need to be executed for the proper operation of this example. * The commands in the extras function are shown for reference * purposes only.
Page 597
Programming Examples /* CHANNEL_RANGE - Sets the full scale vertical range in volts. * The range value is eight times the volts per division. viPrintf(vi, ":CHANNEL1:RANGE 8\n"); /* TIME_RANGE - Sets the full scale horizontal time in seconds. * The range value is ten times the time per division. viPrintf(vi, ":TIM:RANG 2e-3\n");...
Page 598
Programming Examples viPrintf(vi, ":BLANK CHANNEL1\n"); viPrintf(vi, ":VIEW CHANNEL1\n"); /* TIME_MODE (not executed in this example) - Set the time base * mode to MAIN, DELAYED, XY or ROLL. viPrintf(vi, ":TIMEBASE:MODE MAIN\n"); * capture * ------------------------------------------------------------------ * This function prepares the scope for data acquisition and then * uses the DIGITIZE MACRO to capture some data.
Page 600
Programming Examples /* Write image data to file. */ fp = fopen ("c:\\scope\\data\\screen.bmp", "wb"); img_size = fwrite(image_data, sizeof(unsigned char), img_size, fp); fclose (fp); printf("Wrote image data (%d bytes) to file.\n", img_size); viSetAttribute(vi, VI_ATTR_TMO_VALUE, 5000); /* MEASURE - The commands in the MEASURE subsystem are used to * make measurements on displayed waveforms.
Page 601
Programming Examples void get_waveform (void) int waveform_size; /* WAVEFORM_DATA - To obtain waveform data, you must specify the * WAVEFORM parameters for the waveform data prior to sending the * ":WAVEFORM:DATA?" query. * Once these parameters have been sent, the ":WAVEFORM:PREAMBLE?" * query provides information concerning the vertical and horizontal * scaling of the waveform data.
Page 602
Programming Examples printf("Preamble YINCREMENT: %e\n", preamble[7]); printf("Preamble YORIGIN: %e\n", preamble[8]); printf("Preamble YREFERENCE: %e\n", preamble[9]); /* QUERY_WAVE_DATA - Outputs waveform records to the controller * over the interface that is stored in a buffer previously * specified with the ":WAVEFORM:SOURCE" command. viPrintf(vi, ":WAVEFORM:DATA?\n");...
Page 603
Programming Examples /* Write actually waveform data. */ fwrite(waveform_data, sizeof(waveform_data[0]), (int)preamble[2], fp); fclose(fp); * retrieve_waveform * ------------------------------------------------------------------ * This function retrieves previously saved waveform data from a * file called "wave.dat". void retrieve_waveform(void) FILE *fp; fp = fopen("c:\\scope\\data\\wave.dat", "rb"); /* Read preamble. */ fread(preamble, sizeof(preamble[0]), 10, fp);...
Programming Examples VISA Example in Visual Basic ' Agilent VISA Example in Visual Basic ' ------------------------------------------------------------------- ' This program illustrates most of the commonly-used programming ' features of your Agilent oscilloscope. ' ------------------------------------------------------------------- Option Explicit Public err As Long ' Error returned by VISA function calls. Public drm As Long ' Session to Default Resource Manager.
Page 605
Programming Examples VISA Interface. "GPIB0::7::INSTR" is the address string for the device - this address will be the same as seen in: Start->Programs->Agilent IO Libraries->VISA Assistant (after the VISA Interface Name is defined in IO Config). ' err = viOpen(drm, "GPIB0::7::INSTR", 0, 0, vi) ' err = viOpen(drm, "TCPIP0::a-mso6102-90541::inst0::INSTR", 0, 0, vi) err = viOpen(drm, _ "USB0::2391::5970::30D3090541::0::INSTR", 0, 60000, vi)
Page 606
Programming Examples ' *RST. It is not necessary to reinitialize them unless the default ' setting is not suitable for your application. ' Reset the oscilloscope to the defaults. err = viVPrintf(vi, "*RST" + vbLf, 0) ' IDN - Ask for the device's *IDN string. err = viVPrintf(vi, "*IDN?"...
Page 607
Programming Examples ' The following commands are not executed and are shown for reference ' purposes only. To execute these commands, uncomment them. ' RUN_STOP - (not executed in this example) - RUN starts the acquisition of data for the active waveform display.
Page 608
Programming Examples ' available for measurement. If DIGITIZE is used with single mode, ' the completion criteria may never be met. The number of points ' gathered in Single mode is related to the sweep speed, memory ' depth, and maximum sample rate. For example, take an oscilloscope ' with a 1000-point memory, a sweep speed of 10 us/div (100 us ' total time across the screen), and a 20 MSa/s maximum sample rate.
Page 609
Programming Examples ' Output setup string to a file: Dim strPath As String Dim lngI As Long strPath = "c:\scope\config\setup.dat" Close #1 ' If #1 is open, close it. ' Open file for output. Open strPath For Binary Access Write Lock Write As #1 For lngI = 0 To lngSetupStringSize - 1 Put #1, , byteArray(lngI) ' Write data.
Page 611
Programming Examples ' GET_PREAMBLE - The preamble block contains all of the current ' WAVEFORM settings. It is returned in the form <preamble_block><NL> ' where <preamble_block> is: FORMAT : int16 - 0 = BYTE, 1 = WORD, 2 = ASCII. TYPE : int16 - 0 = NORMAL, 1 = PEAK DETECT, 2 = AVERAGE.
Programming Examples VISA COM Example in Visual Basic ' Agilent VISA COM Example in Visual Basic ' ------------------------------------------------------------------- ' This program illustrates most of the commonly used programming ' features of your Agilent oscilloscopes. ' ------------------------------------------------------------------- Option Explicit Public myMgr As VisaComLib.ResourceManager Public myScope As VisaComLib.FormattedIO488 Public varQueryResult As Variant Public strQueryResult As String...
Page 615
Programming Examples ' DIGITIZE command. Capture ' Analyze - Once the waveform has been captured, it can be analyzed. ' There are many parts of a waveform to analyze. This example shows ' some of the possible ways to analyze various parts of a waveform. Analyze Exit Sub VisaComError:...
Page 616
Programming Examples ' CHANNEL_RANGE - Sets the full scale vertical range in volts. ' range value is 8 times the volts per division. ' Set the vertical range to 8 volts. myScope.WriteString ":CHANNEL1:RANGE 8" ' TIME_RANGE - Sets the full scale horizontal time in seconds. ' range value is 10 times the time per division.
Page 617
Programming Examples VisaComError: MsgBox "VISA COM Error:" + vbCrLf + Err.Description End Sub ' Capture ' ------------------------------------------------------------------- ' We will capture the waveform using the digitize command. ' ------------------------------------------------------------------- Private Sub Capture() On Error GoTo VisaComError ' AQUIRE_TYPE - Sets the acquisition mode, which can be NORMAL, ' PEAK, or AVERAGE.
Page 618
Programming Examples VisaComError: MsgBox "VISA COM Error:" + vbCrLf + Err.Description End Sub ' Analyze ' ------------------------------------------------------------------- ' In analyze, we will do the following: - Save the system setup to a file and restore it. - Save the waveform data to a file on the computer. - Make single channel measurements.
Page 619
Programming Examples ' it back to the oscilloscope. Dim varSetupString As Variant strPath = "c:\scope\config\setup.dat" Open strPath For Binary Access Read As #1 ' Open file for input. Get #1, , varSetupString ' Read data. Close #1 ' Close file. ' Write setup string back to oscilloscope using ":SYSTEM:SETUP"...
Page 620
Programming Examples ' using the ":WAVEFORM:DATA?" query. myScope.WriteString ":WAVEFORM:POINTS 1000" ' WAVE_FORMAT - Sets the data transmission mode for the waveform ' data output. This command controls whether data is formatted in ' a word or byte format when sent from the oscilloscope. Dim lngVSteps As Long Dim intBytesPerData As Integer ' Data in range 0 to 65535.
Page 623
Programming Examples MsgBox "Phase = " + vbCrLf + CStr(dblPhase) Exit Sub VisaComError: MsgBox "VISA COM Error:" + vbCrLf + Err.Description End Sub Private Sub CheckForInstrumentErrors() On Error GoTo VisaComError Dim strErrVal As String Dim strOut As String myScope.WriteString "SYSTEM:ERROR?" ' Query any errors data.
Page 624
Programming Examples Agilent 6000 Series Oscilloscopes Programmer's Reference...
Page 625
Index Symbols analog probe sensing, bus label command, analog probe skew, 179, bus mask command, angle brackets, BUSDoctor commands, +9.9E+37, infinity representation, annotate channels, button disable, +9.9E+37, measurement error, anti-alias control, BWLimit commands, Arm Event Register (AER), 104, 122, 124, byte format for data transfer, 438, Numerics arrange waveforms,...
Page 626
Index channel probe ID, code, :WAVeform:PREamble, cursor source, 236, channel protection, code, SICL library example in C, cursor time, 513, 517, channel reset conditions, code, VISA COM library example in Visual cursors track measurements, Basic, cursors, how autoscale affects, channel selected to produce trigger, 390, channel signal type, code, VISA library example in C, cursors, X1, X2, Y1, Y2,...
Page 627
Index delayed time base mode, how autoscale displaying a baseline, ESR (Standard Event Status Register), 82, affects, displaying unsynchronized signal, event status conditions occurred, delayed window horizontal scale, driver, printer, Event Status Enable Register (ESE), 80, DSO models, Event Status Register (ESR), 82, 136, delta time, delta voltage measurement, duplicate mnemonics,...
Page 628
Index FFT (Fast Fourier Transform) operation, 217, glitch duration, glitch qualifier, FFT math function, glitch source, I1080L50HZ, 426, filename for hardcopy, GLITch trigger commands, I1080L60HZ, 426, filter for frequency reject, glitch trigger duration, ID commands, filter for high frequency reject, glitch trigger polarity, id mode, filter for noise reject,...
Page 629
Index introduction to :SBUS commands, list of channel labels, measure start voltage, introduction to :SYSTem commands, load utilization (CAN), measure stop voltage, introduction to :TIMebase commands, local lockout, measure value at a specified time, lock, measure value at top of waveform, introduction to :TRIGger commands, introduction to :WAVeform commands, lockout message,...
Page 631
Index probe sense for oscilloscope, 501, reference clock, saving and recalling data, probe skew value, 179, REFerence commands, SBUS commands, program data, reference for time base, scale, 220, 327, reference level, Fast Fourier Transform (FFT) program data syntax rules, SCALe commands, program example, 586, 595, 604, function, scale factors output on hardcopy,...
Page 632
Index short form, 3, stop acquisition, time interval, 272, 274, show channel labels, stop cursor, time interval between trigger and show measurements, 248, stop displaying channel, occurrence, stop displaying math function, time marker sets start time, SICL example in C, SIGNal commands, stop displaying pod, time per division,...
Page 633
Index TRIGger SEQuence commands, trigger, SPI clock slope, URQ (User Request) status bit, 81, trigger SPI clock slope, trigger, SPI clock source, USB source, 432, TRIGger SPI commands, trigger, SPI clock timeout, USB speed, trigger, SPI data source, trigger status bit, USB trigger, trigger sweep mode, trigger, SPI frame source,...
Page 634
Index voltage offset value for channels, word width, SPI decode, voltage probe, 184, write text to display, voltage ranges for channels, write trace memory, voltage ranges for external trigger, voltage threshold, X axis markers, X delta, WAI (Wait To Continue), X1 and X2 cursor value difference, wait, X1 cursor, 233, 235,...