Programmer Manual TLS 216 Logic Scope 070-8835-00 Please check for change information at the rear of this manual.
&(- .3897:2*39 2&3:+&(9:7*) '> "*09743.= -&8 & 8*7.&1 3:2'*7 43 & 5&3*1 .38*79 47 9&, 47 89&25*) 43 9-* (-&88.8 "-* +.789 1*99*7 .3 9-* 8*7.&1 3:2'*7 )*8.,3&9*8 9-* (4:397> 4+ 2&3:+&(9:7* "-* 1&89 +.;* ).,.98 4+ 9-* 8*7.&1 3:2'*7 &7* &88.,3*) 8*6:*39.&11> &3) &7* :3.6:* 94 *&(- .3897:2*39 "-48* 2&3:+&(9:7*) .3 9-* #3.9*) !9&9*8 -&;* 8.= :3.6:* ).,.98 "-* (4:397> 4+ 2&3:+&(9:7* .8 .)*39.+.*) &8 +4114<8 "*09743.
TLS 216 WARRANTY " ! ! ! # # ! # " ! ! ! " ! # # " "
Table of Contents List of Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . List of Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iii v vii Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–1 Setting Up Remote Communications . . . . . . . .
Table of Contents Synchronization Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–7 3–13 Programming Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–1 Compiling and Executing the Example Programs . . . . . . . . . . . . . . . . . . . . . . . . 4–2 Appendix A: Character Charts . . . . . . . . . . . .
Table of Contents List of Figures Figure 1–1: Interaction between the Controller and the Logic Scope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Figure 1–2: GPIB Connector Location . . . . . . . . . . . . . . . . . . . . . . . . . Figure 1–3: How to Stack GPIB Connectors . . . . . . . . . . . . . . . . . . . . Figure 1–4: Typical GPIB Network Configurations . . . . . . . . . . . . . . Figure 1–5: Selecting the I/O System in the Main Menu . . . . . . . . . . .
Table of Contents iv TLS 216 Programmer Manual
Table of Contents List of Tables Table 2–1: BNF Symbols and Meanings . . . . . . . . . . . . . . . . . . . . . . . . Table 2–2: Command Message Elements . . . . . . . . . . . . . . . . . . . . . . . Table 2–3: Comparison of Header Off and On Responses . . . . . . . . . Table 2–4: Acquisition Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 2–5: Alias Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 2–6: Application Menu Commands . . . . . . . . . . . .
Table of Contents Table A–1: Logic Scope Character Set . . . . . . . . . . . . . . . . . . . . . . . . . Table A–2: ASCII & GPIB Code Chart . . . . . . . . . . . . . . . . . . . . . . . . Table C–1: Logic Scope Standard Interface Messages . . . . . . . . . . . . Table D–1: Factory Initialization Defaults . . . . . . . . . . . . . . . . . . . . . .
Preface This programmer manual covers the TLS 216 Logic Scope. It provides information on operating your logic scope using the General Purpose Interface Bus (GPIB) interface. Section 1 Getting Started describes how to connect the logic scope to a controller. Section 2 Syntax and Commands describes the structure and content of the messages your program sends to the logic scope. Section 2 also describes what each command does and provides examples of how you might use them.
Preface viii TLS 216 Programmer Manual
Getting Started
Getting Started You can write computer programs that remotely set the TLS 216 Logic Scope front panel controls or take measurements and read those measurements for further analysis or storage. Your program sends commands and queries to operate the TLS and receive measurement data and status and event reports. TLS sends measurement data and status and event reports.
Getting Started GPIB Connector Port Figure 1–2: GPIB Connector Location If needed, you can stack GPIB connectors as shown in Figure 1–3.
Getting Started GPIB Requirements Observe these rules when you use your logic scope with a GPIB network: H Assign a unique device address to each device on the bus. No two devices can share the same device address. H Do not connect more than 15 devices to any one bus. H Connect one device for every 2 meters (6 feet) of cable used. H Do not use more than 20 meters (65 feet) of cable to connect devices to a bus. H Turn on at least two-thirds of the devices on the network while using the network.
Getting Started Setting the GPIB Parameters You need to set the GPIB parameters of the logic scope to match the configuration of the bus. Once you have set these parameters, you can control the logic scope through the GPIB interface. 1. Press the UTILITY (SHIFT DISPLAY) button to display the Utility menu. 2. Press the System button in the main menu until it highlights the I/O selection in the pop-up menu. (See Figure 1–5.) Figure 1–5: Selecting the I/O System in the Main Menu 3.
Getting Started Figure 1–6: Selecting the GPIB Address in the GPIB Configuration Side Menu 4. Press the Configure button in the main menu to display the GPIB Configuration side menu. (See Figure 1–6.) Other Communication Setups The procedure just listed configures the logic scope for bidirectional communication with your controller. In certain situations you may want to disable communications or send hard copies directly to a non-488.2 hard copy device.
Getting Started 1–6 TLS 216 Programmer Manual
Syntax and Commands
Command Syntax You can control the TLS 216 Logic Scope through the GPIB and RS-232-C interfaces using commands and queries. This section describes the syntax these commands and queries use. It also describes the conventions the logic scope uses to process them. The next section, entitled Commands, lists the commands and queries themselves. You transmit commands to the logic scope using the enhanced American Standard Code for Information Interchange (ASCII) character encoding.
Command Syntax A command message is a command or query name followed by any information the logic scope needs to execute the command or query. Command messages may contain five element types, defined in Table 2–2 and shown in the example in Figure 2–1. Table 2–2: Command Message Elements Symbol Meaning The basic command name. If the header ends with a question mark, the command is a query. The header may begin with a colon (:) character.
Command Syntax Commands Commands cause the logic scope to perform a specific function or change one of its settings. Commands have the structure: H [:][[]...] A command header consists of one or more mnemonics arranged in a hierarchical or tree structure. The first mnemonic is the base or root of the tree and each subsequent mnemonic is a level or branch off the previous one. Commands at a higher level in the tree may affect those at a lower level.
Command Syntax Clearing the Logic Scope You can clear the Output Queue and reset the logic scope to accept a new command or query by using the Device Clear (DCL) GPIB command. Command Entry Abbreviating Commands H You can enter commands in upper or lower case. H You can precede any command with white space characters. White space characters include any combination of the ASCII control characters 00 through 09 and 0B through 20 hexadecimal (0 through 9 and 11 through 32 decimal).
Command Syntax 3. Never precede a star (*) command with a colon: ACQuire:MODe ENVelope;*TRG Any commands that follow will be processed as if the star command was not there so ACQuire:MODe ENVelope;*TRG;NUMAVg 10 will set the acquisition mode to envelope and set the number of acquisitions for averaging to 10. 4. When you concatenate queries, the instrument concatenates all the responses into a single response message.
Command Syntax Message Terminators This manual uses (End of message) to represent a message terminator. Symbol Meaning Message terminator The end-of-message terminator may be the END message (EOI asserted concurrently with the last data byte), the ASCII code for line feed (LF) sent as the last data byte, or both. The logic scope always terminates messages with LF and EOI. It allows white space before the terminator. For example, it allows CR LF.
Command Syntax Measurement Specifier Mnemonics Channel Mnemonics Group Mnemonics Reference Waveform Mnemonics Waveform Mnemonics TLS 216 Programmer Manual Commands can specify which measurement to set or query as a mnemonic in the header. Up to four automated measurements may be displayed with each displayed waveform. The displayed measurements are specified in this way: Symbol Meaning A measurement specifier; is either [top], , , or [bottom].
Command Syntax Argument Types The argument of a command may be in one of several forms. The individual descriptions of each command tell which argument types to use with that command. Numeric Arguments Many logic scope commands require numeric arguments. The syntax shows the format that the logic scope returns in response to a query. It is also the preferred format when sending the command to the logic scope though it may accept any of the formats.
Command Syntax 4. You can include a quote character within a string simply by repeating the quote. For example, "here is a "" mark" 5. Strings can have upper or lower case characters. 6. If you use a GPIB network, you cannot terminate a quoted string with the END message before the closing delimiter. 7. A carriage return or line feed embedded in a quoted string does not terminate the string, but is treated as just another character in the string. 8.
Command Syntax Block Argument ALIas:DEFINE SETUp1",#231AUTOSet EXECute;:SELect:REF1 ON Block Header Specifies Data Length Specifies Number of Length Digits that Follow Figure 2–2: Block Argument Example Syntax Diagrams The syntax diagrams in this manual use the following symbols and notation: H Circles and ovals contain literal elements. You must send most elements exactly as shown.
Command Syntax Figure 2–3: Typical Syntax Diagrams TLS 216 Programmer Manual 2–11
Command Syntax 2–12 TLS 216 Programmer Manual
Command Groups This section lists the TLS 216 Logic Scope commands in two ways. It first lists commands by functional groups. It then lists them alphabetically. (See Figure 2–4.) The functional group list, with brief command descriptions, starts below. The alphabetical list, with more detail on each command, starts on page 2–41. The logic scope GPIB interface conforms to Tektronix standard codes and formats and IEEE Std 488.2-1987 except where noted.
Command Groups Table 2–4: Acquisition Commands (Cont.) Header Description Start or stop acquisition system Acquisition control Alias Commands Alias commands let you define your own commands as a sequence of standard commands. This is useful when you use the same commands each time you perform a certain task, such as setting up measurements.
Command Groups Table 2–6: Application Menu Commands Header Description APPMenu Display the application menu APPMenu:LABel Return or remove all application menu button labels APPMenu:LABel:BOTTOM Label for a bottom menu button APPMenu:LABel:RIGHT Label for a side menu button APPMenu:TITLe Create a title for the application menu Calibration and Diagnostic Commands Calibration and Diagnostic commands let you start the built-in self-calibration and diagnostic routines of the logic scope.
Command Groups Cursor Commands Cursor commands provide control over cursor (caliper) display and readout.
Command Groups Display Commands Display commands let you change the graticule style, change the displayed intensities, turn off waveform display, display messages, and clear the menu. When you turn off waveform display, the instrument acquires and transmits waveforms but does not display them. The update rate is much faster when waveform display is off.
Command Groups Table 2–9: Display Commands (Cont.
Command Groups Hardcopy Commands Hardcopy commands let you control the format of hard copy output and the initiation and termination of hard copies.
Command Groups Table 2–12: Horizontal Commands (Cont.
Command Groups Table 2–13: Measurement Commands TLS 216 Programmer Manual Header Description MEASUrement? Return all measurement parameters MEASUrement:CLEARSNapshot Remove measurement snapshot MEASUrement:GATING Set or query measurement gating MEASUrement:IMMed? Return immediate measurement parameters.
Command Groups Table 2–13: Measurement Commands (Cont.
Command Groups Miscellaneous Commands Miscellaneous commands do not fit into other categories. Several commands and queries are common to all 488.2-1987 devices on the GPIB bus. The 488.2-1987 standard defines them. They begin with a star (*) character.
Command Groups RS232 Commands RS232 commands allow you to use the serial communications port. Table 2–15: RS232 Commands Header Description Return RS232 parameters Set baud rate Set hard flagging Set parity Set soft flagging Set # of stop bits Save and Recall Commands Save and Recall commands allow you to store and retrieve internal waveform groups and control setups.
Command Groups Table 2–16: Save and Recall Commands Header Description & Return number of allocated and nonallocated data points & Return number of allocated data points: Length, First Channel, Last Channel & Return number of nonallocated data points & ( ! " & $%& " ! %& " Specify the number of allocated data points and the channels to be used for a new reference & Delete stored waveform group & # De
Command Groups Table 2–17: Status and Error Commands (Cont.) Header Description Return event code Return event code and message Return number of events in queue Operation complete Power-on status clear Query or set User Protected Data Reset Service request enable Read status byte Wait to continue Trigger Commands Trigger commands control all aspects of logic scope triggering. There are two triggers, main and delayed.
Command Groups Table 2–18: Trigger Commands TLS 216 Programmer Manual Header Description TRIGger Force trigger event; return parameters TRIGger:DELay Set the delay trigger level to 50% TRIGger:DELay:BY Set delay by time or events TRIGger:DELay:EDGE? Return parameters set for delay edge trigger TRIGger:DELay:EDGE:SLOpe Set slope for the delay edge trigger TRIGger:DELay:EDGE:SOUrce Set source for delay trigger source TRIGger:DELay:EVENTS? Return delay trigger event parameters TRIGger:DELay:
Command Groups Table 2–18: Trigger Commands (Cont.
Command Groups Table 2–18: Trigger Commands (Cont.
Command Groups Table 2–18: Trigger Commands (Cont.
Command Groups Table 2–18: Trigger Commands (Cont.
Command Groups Table 2–18: Trigger Commands (Cont.
Command Groups Table 2–18: Trigger Commands (Cont.
Command Groups Vertical Commands Vertical commands control the display of groups, of their channels and waveforms, and or reference waveforms. Groups vs. Channels The logic scope stores and displays waveforms in groups, which contain one or more channels each of which can contain one waveform. Use vertical commands to vertically position, offset, scale, and otherwise manipulate groups of waveforms.
Command Groups Table 2–19: Vertical Commands (Cont.
Command Groups Waveform Group Commands Waveform commands let you transfer waveform data points to and from the logic scope. Waveform data points are a collection of values that define a waveform. One data value usually represents one data point in the waveform record. When working with enveloped waveforms, each data value is either the min or max of a min/max pair. Before you transfer waveform data, you must specify the data format, record length, and waveform locations.
Command Groups The defined binary formats also specify the order in which the bytes are transferred. The four binary formats are RIBinary, RPBinary, SRIbinary, and SRPbinary. RIBinary is signed integer where the most significant byte is transferred first, and RPBinary is positive integer where the most significant byte is transferred first. SRIbinary and SRPbinary correspond to RIBinary and RPBinary respectively but use a swapped byte order where the least significant byte is transferred first.
Command Groups commands starting on page 2–322 for more information about the waveform preamble. Scaling Waveform Data Once you transfer the waveform data to the controller, you can convert the data points into voltage values for analysis using information from the waveform preamble. The program on the diskettes that come with this manual shows how you can scale data.
Command Groups Table 2–20: Waveform Commands TLS 216 Programmer Manual Header Description CURVe Transfer waveform data DATa Set waveform data format and location DATa:DESTination Set destination to the indicated channel DATa:ENCdg Select waveform data encoding method DATa:SOUrce Select source of CURVe? data DATa:STARt Set starting point in waveform transfer DATa:STOP Set ending point in waveform transfer DATa:TARget Set the destination to the indicated channel DATa:WIDth Set byte width
Command Groups Table 2–20: Waveform Commands (Cont.
Command Descriptions You can use commands to either set instrument features or query instrument values. You can use some commands to do both, some to only set and some to only query. This manual marks set only commands with the words “No Query Form” included with the command name. It marks query only commands with a question mark appended to the header, and includes the words “Query Only” in the command name.
Command Descriptions Group Related Commands Syntax Acquisition ACQuire:NUMAVg, ACQuire:NUMENv, CURVe?, DATa:WIDth ACQuire:MODe { SAMple | AVErage | ENVelope } ACQuire:MODe? SAMple AVErage ENVelope ACQuire Arguments : MODe ? SAMple specifies that the displayed data point value is simply the first sampled value taken during the acquisition interval. In sample mode, all waveform data has 8 bits of precision.
Command Descriptions Group Related Commands Syntax Acquisition ACQuire:STATE ACQuire:NUMACq? ACQuire Returns Examples : NUMACq ? ACQUIRE:NUMACQ? might return 350, indicating that 350 acquisitions took place since an ACQUIRE:STATE RUN command was executed. ACQuire:NUMAVg Sets or queries the number of waveform acquisitions that make up an averaged waveform. Using this command is equivalent to setting the Average count in the Acquisition Mode side menu.
Command Descriptions ACQuire:NUMEnv Sets or queries the number of waveform acquisitions comprising an envelope waveform. Using this command is equivalent to setting the Envelope count in the Acquisition Mode side menu. Group Related Commands Syntax Acquisition ACQuire:MODe Arguments 0 is the number of waveform acquisitions, from 1 to 2000.
Command Descriptions ACQuire:STATE Starts or stops acquisitions. Using this command is equivalent to pressing the front-panel RUN/STOP button. If ACQuire:STOPAfter is set to SEQuence, other signal events may also stop acquisition. Group Related Commands Syntax Acquisition ACQuire:NUMACq? ACQuire:STOPAfter Arguments or or = 0 stops acquisitions.
Command Descriptions ACQuire:STOPAfter Tells the logic scope when to stop taking acquisitions. Using this command is equivalent to setting Stop After in the Acquire menu. Group Related Commands Syntax Acquisition ACQuire:MODe, ACQuire:STATE Arguments specifies that the run and stop state should be determined by the user’s pressing the front-panel RUN/STOP button.
Command Descriptions ALIas Turns command aliases on or off. This command is identical to the ALIas:STATE command. Group Alias Syntax Arguments or = 0 turns alias expansion off. If a defined alias label is sent when ALIas is OFF, execution error 102 will be generated: “syntax error, illegal use of alias name”. or 0 turns alias expansion on.
Command Descriptions Syntax ALIas:CATalog? ALIas Returns Examples : ? CATalog [,...] ALIAS:CATALOG? might return the string "SETUP1","TESTMENU1","DEFAULT", showing there are 3 aliases named SETUP1, TESTMENU1, and DEFAULT. ALIas:DEFINE Assigns a sequence of program messages to an alias label. These messages are then substituted for the alias whenever it is received as a command or query provided ALIas:STATE has been turned ON.
Command Descriptions NOTE. Attempting to give two aliases the same name causes an execution error. To give a new alias the name of an existing alias, you must first delete the existing alias. Examples ALIAS:DEFINE "ST1",":RECALL:SETUP 5;:AUTOSET EXECUTE;:SELECT:CH1 ON" defines an alias named “ST1” that sets up the logic scope. ALIAS:DEFINE? "ST1" might return :ALIAS:DEFINE "ST1",#239:RECALL:SETUP 5;:AUTOSET EXECUTE;:SELECT:CH1 ON. ALIas:DELEte (No Query Form) Removes a specified alias.
Command Descriptions Examples deletes all aliases. ALIas:DELEte:NAMe (No Query Form) Removes a specified alias. This command is identical to ALIas:DELEte. Group Alias Syntax Arguments Examples is the name of the alias to be removed. Using ALIas:DELEte:NAMe without specifying an alias causes an execution error. must be a previously defined alias.
Command Descriptions Arguments OFF or = 0 turns alias expansion off. If a defined alias is sent when ALIas:STATE is OFF, a command error (102) will be generated. ON or 0 turns alias expansion on. When the instrument receives a defined alias, it substitutes the specified command sequence and executes it. Examples ALIAS:STATE OFF turns the command alias feature off. ALIAS:STATE? returns 0 when alias mode is off.
Command Descriptions ALLOcate? (Query Only) Returns the number of data points allocated for all four reference memory locations. Group Save and Recall Syntax Examples might return , indicating that all 2,000 data points are allocated to reference memory location 1. ALLOcate:GROUP? (Query Only) Returns the number of data points allocated for all four reference memory locations.
Command Descriptions Syntax ALLOcate:GROUP:FREE? ALLOcate Returns Examples : GROUP : FREE ? is the approximate number of data points available. ALLOCATE:GROUP:FREE? might return 520 indicating that there are approximately 500 data points available for allocation. The extra 20 are used for administration purposes. ALLOcate:GROUP:REF Sets or queries the number of waveform data points for the specified reference location.
Command Descriptions Examples ALLOCATE:GROUP:REF2 1000 reserves 1,000 data points for REF2, specifying CH1 for first and last channels. ALLOCATE:GROUP:REF4 2000, 10, 14 reserves 2000 data points for reference group 4. The first channel is 10, the last channel is 14. ALLOCATE:GROUP:REF1? might return 500. APPMenu Displays the user-definable Application menu and the query returns the current Application menu labels and title. Using this command is equivalent to pressing the front panel APPLICATION button.
Command Descriptions APPMenu:LABel Removes all user-defined Application menu button labels from the display. The APPMenu:LABel? query returns all current label settings. Group Application Menu Syntax APPMenu:LABel CLEar APPMenu:LABel? APPMenu : CLEar LABel ? Arguments Examples CLEar removes the main and side menu button labels from the display. Front panel bezel button presses will continue to generate events. APPMENU:LABEL CLEAR clears the user-defined menu labels from the display.
Command Descriptions Arguments is the menu button label and can include any of the characters shown in the logic scope Character Chart in Appendix A. The maximum length of the label is 1000 characters. The label is displayed in the area above the specified main menu button. The label is displayed on a single line and is centered, both vertically and horizontally, within the label area.
Command Descriptions APPMenu:LABel:RIGHT Defines a label for the side menu button that is specified by . Side menu buttons are located on the right side of the display, and are numbered from 1 to 5 starting with the top-most button.
Command Descriptions Syntax ! ! ! Arguments is the side menu title and can include any of the characters shown in the logic scope Character Chart in Appendix A. The maximum length of the title is 1000 characters. The APPMenu:LABel:BOTTOM command on page 2–56 provides information on defining menu labels. The label area is 40 pixels high and 112 pixels wide.
Command Descriptions Arguments autosets the displayed waveform. BELl (No Query Form) Activates the audio indicator (beep) of the logic scope. Group Miscellaneous Syntax Examples rings the bell. BUSY? (Query Only) Returns the processing status of the logic scope. This command allows you to synchronize the operation of the logic scope with your application program. Synchronization methods are described on page 3–7.
Command Descriptions Table 2–22: Commands that Affect BUSY? Response Examples Operation Command Single sequence acquisition ACQuire:STATE ON or ACQuire:STATE RUN (when ACQuire:STOPAfter is set to SEQuence) Hardcopy output HARDCopy STARt might return , indicating that the instrument is busy. *CAL? (Query Only) Instructs the logic scope to perform an internal self-calibration and return its calibration status. NOTE. The self-calibration takes approximately 10 minutes to complete.
Command Descriptions CH? (Query Only) Returns all the vertical parameters for the specified channel. This query is only made available to maintain compatibility with Tektronix TDS model instruments. The logic scope only displays channels in user-defined groups. See the query description GROUP? on page 2–126 of this section to query the vertical parameters for any group of input channels. Group Vertical Syntax CH? CH Examples ? CH1? might return :CH1:SCALE 10.0E-3;POSITION 0.
Command Descriptions Examples might return , which indicates there is no bandwidth limiting on channel 1. CH:COUPling? (Query Only) Returns the specified channel input coupling mode. The logic scope only provides DC coupling; therefore this query always returns DC. This query is only made available to maintain compatibility with Tektronix TDS model instruments.
Command Descriptions CH:OFFSet? (Query Only) Returns the offset in volts that is subtracted from the specified input channel before it is acquired. The greater the offset, the lower on the display the waveform appears. This query is only made available to maintain compatibility with Tektronix TDS model instruments. The logic scope only offsets channels when included in a user-defined groups.
Command Descriptions Examples CH1:POSITION? might return -1.3E+0, indicating that the current position of channel 1 is –1.3 divisions. CH:SCAle? (Query Only) Returns the specified channel scale. This is equivalent to adjusting the front-panel Vertical SCALE knob. This query is only available to maintain compatibility with Tektronix TDS model instruments. The logic scope only scales a channel when it is included in a user-defined group.
Command Descriptions *CLS (No Query Form) Clears the logic scope status data structures. Group Related Commands Syntax Status and Error DESE, *ESE, *ESR?, EVENT?, EVMsg?, *SRE, *STB? The *CLS command clears the following: H the Event Queue H the Standard Event Status Register (SESR) H the Status Byte Register (except the MAV bit; see below) If the *CLS command immediately follows an , the Output Queue and MAV bit (Status Byte Register bit 4) are also cleared.
Command Descriptions ? CURSor Examples CURSOR? might return :CURSOR:FUNCTION OFF;MODE INDEPENDENT;VBARS:BINARY1 "---------------0";BINARY2 "---------------0";UNITS SECONDS; POSITION1 500.0E-6;POSITION2 4.50E-3;SELECT CURSOR1;:CURSOR: HBARS:UNITS BASE;POSITION1 3.20E+0;POSITION2 -3.20E+0;SELECT CURSOR1;:CURSOR:PAIRED:UNITS BASE;POSITION1 500.0E-6;POSIĆ TION2 4.50E-3;SELECT CURSOR1 as the current cursor settings. CURSor:FUNCtion Selects and displays the cursor type.
Command Descriptions Examples CURSOR:FUNCTION VBARS selects vertical bar type cursors. CURSOR:FUNCTION? might return HBARS for horizontal cursors. CURSor:HBArs? (Query Only) Returns current settings for the horizontal bar cursors. Group Cursor Syntax CURSor:HBArs? CURSor Examples : HBArs ? CURSOR:HBARS? might return :CURSOR:HBARS:POSITION1 0;POSITION2 0;SELECT CURSOR1. CURSor:HBArs:DELTa? (Query Only) Returns the voltage difference between the two horizontal bar cursors.
Command Descriptions CURSor:HBArs:POSITION Positions or queries the horizontal bar cursor. Group Cursor Syntax CURSor:HBArs:POSITION CURSor:HBArs:POSITION? CURSor : HBArs : POSITION ? Arguments Examples specifies the cursor position relative to ground, in volts. CURSOR:HBARS:POSITION1 25.0E-3 positions one of the horizontal cursors at 25.0 mV. CURSOR:HBARS:POSITION2? might return -64.0E-3, indicating that one of the horizontal bar cursors is at –64.0 mV.
Command Descriptions selects the first horizontal bar cursor. Arguments selects the second horizontal bar cursor. selects the first horizontal bar cursor as the active cursor. Examples returns when the first cursor is the active cursor. CURSor:HBArs:UNIts Sets or queries the units for the horizontal bar cursors. The only units the logic scope provides is base (volts).
Command Descriptions CURSor:MODe Selects whether the two cursors move together in unison or separately from each other. Group Related Commands Syntax Cursor CURSor:FUNCtion Arguments ties the two cursors together as you move the general purpose knob. frees the two cursors to move separately of each other, and is the default mode.
Command Descriptions CURSor Arguments Examples : PAIred SNAp ? SNAp positions the vertical bar cursors at DATa:STARt and DATa:STOP. CURSOR:PAIRED SNAP specifies that the cursors positions are the same as the current DATA:STARt and DATA:STOP values. CURSOR:PAIRED? might return :CURSOR:PAIRED:UNITS SECONDS;POSITION1 1.00E-6;POĆ SITION2 9.00E-6;SELECT CURSOR2.
Command Descriptions Related Commands Syntax CURSor:FUNCtion CURSor:PAIred:HPOS1? CURSor Returns Examples : PAIred : HPOS1 ? CURSOR:PAIRED:HPOS1? might return -64.0E-3, indicating that the first cursor is at –64.0 mV. CURSor:PAIred:HPOS2? (Query Only) Queries the horizontal bar (voltage) position of the second paired cursor.
Command Descriptions CURSor:PAIred:POSITION1 Syntax CURSor:PAIred:POSITION1? CURSor : PAIred : POSITION1 ? specifies the position of the first paired cursor. Arguments CURSOR:PAIRED:POSITION1 9.00E-6 specifies the first paired cursor is at 9 ms after the trigger position. Examples CURSOR:POSITION1? might return 1.00E-6, indicating that the position of the first paired cursor is at 1 ms after the trigger position.
Command Descriptions CURSor:PAIred:SELect Selects the active paired cursor. The active cursor appears as a solid vertical line. The unselected cursor appears as a dashed vertical line. This command is equivalent to pressing the SELECT button on the front panel when the Cursor menu is displayed. Group Cursor Syntax Arguments specifies the first paired cursor.
Command Descriptions Examples CURSOR:PAIRED:UNITS? returns BASE to indicate that only base units (volts) are available with paired cursors. CURSor:PAIred:VDELTA? (Query Only) Queries the Vbar (time) distance between paired cursors. It returns the absolute value of the first cursor horozontal position minus the second cursor horizontal position.
Command Descriptions CURSor Arguments Examples : VBArs SNAp ? SNAp positions the vertical bar cursors at DATa:STARt and DATa:STOP. CURSOR:VBARS SNAP specifies that the cursors positions are the same as the current DATA:STARt and DATA:STOP values. CURSOR:VBARS? might return :CURSOR:VBARS:UNITS SECONDS;POSITION1 1.00E-6;POSIĆ TION2 9.00E-6;SELECT CURSOR2. CURSor:VBArs:BINARY? (Query Only) “x” specifies cursor 1 or 2. A 16 character string is returned.
Command Descriptions Related Commands CURSor:VBArs:UNIts Syntax CURSor:VBArs:DELTa? CURSor : VBArs DELTa : ? Returns CURSOR:VBARS:DELTA? might return 1.064E+00, indicating that the time between the vertical bar cursors is 1.064 seconds. Examples CURSor:VBArs:POSITION Positions a vertical bar cursor for both the vertical bar and paired cursors. Units are specified by the CURSor:VBArs:UNIts command.
Command Descriptions CURSor:VBArs:SELect Selects which vertical bar cursor is active. The active cursor will be displayed as a solid vertical line and can be moved using the front-panel general purpose knob when the cursor menu is active. The unselected cursor will be displayed as a dashed vertical line. This command is equivalent to pressing the SELECT button on the front panel when the Cursor menu is displayed.
Command Descriptions CURSor : VBArs Arguments : UNITS SECOnds HERtz ? SECOnds specifies that the time between cursors is measured in seconds. HERtz specifies that the reciprocal of time between cursors is measured in Hertz. Examples CURSor:VBArs:UNITS SECONDS specifies that the vertical cursors measure time in seconds. CURSor:VBArs:UNITS? might return HERTZ indicating the vertical cursors are set to measure frequency in Hertz.
Command Descriptions CURVe Transfers waveform data to and from the logic scope in binary or ASCII format. Each waveform has an associated waveform preamble that contains information such as data format and scale. Refer to the WFMPre command starting on page 2–322 for information about the waveform preamble. The data format is specified by the DATa:ENCdg and DATa:WIDTH commands. The CURVe? query transfers data from the instrument. The data source is specified by the DATa:SOUrce command.
Command Descriptions is 2 then all bytes on the bus are 2-byte pairs. Use the DATa:WIDth command to set the width. is the curve data. is a single byte new line character at the end of the data. See the GETGRP.C example in the accompanying disk for more information. is the waveform data in ASCII format. The format for ASCII data is [,...] where each represents a data point.
Command Descriptions DATA? might return the string :DATA:ENCDG RPBINARY;DESTINATION REF4; SOURCE REF4;STARt 1;STOP 500;WIDTH 2. DATa:DESTination Sets or queries the reference group memory location and channel identification for storing waveform data transferred into the logic scope by the CURVe command. This command is identical to the DATa:TARget command. NOTE. To transfer a reference to the logic scope, the destination waveform channel must be in an ANALOGALL, ANALOGSEL, BUS, or TIMING display type.
Command Descriptions DATa:ENCdg Sets or queries the format of the waveform data. This command is equivalent to setting WFMPre:ENCdg, WFMPre:BN_Fmt, and WFMPre:BYT_Or as shown in Table 2–23. Setting the DATa:ENCdg value causes the corresponding WFMPre values to be updated and vice versa. Group Related Commands Syntax Waveform WFMPre:ENCdg, WFMPre:BN.
Command Descriptions is the same as except that the byte order is swapped, meaning that the least significant byte is transferred first. This format is useful when transferring data to IBM compatible PC’s. is the same as except that the byte order is swapped, meaning that the least significant byte is transferred first. This format is useful when transferring data to IBM compatible PC’s.
Command Descriptions NOTE. To transfer a reference from the logic scope, the destination waveform channel must be in an ANALOGALL, ANALOGSEL, BUS, or TIMING display type. Group Waveform Syntax DATa:SOUrce []... DATa:SOUrce? DATa : SOUrce Arguments Examples ? is the location of the waveform data to be transferred from the logic scope to the controller.
Command Descriptions Arguments Examples ranges from 1 to the record length and is the first data point the instrument transfers. Data will be transferred from to DATa:STOP or the record length, whichever is less. If is greater than the record length then no data will be transferred. When DATa:STOP is less than DATa:STARt, the values will be swapped internally for the CURVe? query.
Command Descriptions If you wish to transfer complete waveforms only, set DATa:STARt to 1 and DATa:STOP to the maximum record length. Examples DATA:STOP 1500 specifies that the waveform transfer will stop at data point 1500. DATA:STOP? might return 1490 as the last data point to be transferred. DATa:TARget Sets or queries the location for storing waveform data transferred to the instrument using the CURVe command.
Command Descriptions DATa : WIDth ? Arguments = 1 specifies there is 1 byte (8 bits) per point. This format is useful when the acquisition mode is set to SAMple on ENVelope. If used for AVErage, the low order byte is not transmitted. = 2 specifies there are 2 bytes (16 bits) per point. This format is useful with AVErage waveforms. If used for ENVelope or SAMple, the least significant byte is always zero.
Command Descriptions *DDT Allows the user to specify a command or a list of commands that the instrument will execute when it receives a *TRG command or the GET GPIB interface message. *DDT is a special alias *TRG uses. Group Related Commands Syntax Miscellaneous ALIAS:DEFINE, *TRG, Get GPIB interface message *DDT { | } *DDT? *DDT Arguments Examples ? or is a complete sequence of program messages.
Command Descriptions Related Commands Syntax *RCL, RECAll:SETUp, *RST, *SAV, SAVe:SETUp, TEKSecure Arguments is a value from 1 to 10 specifying a setup storage location. Using an out-of-range value causes an execution error. specifies all stored setups. Examples removes all stored setups. The instrument initializes all ten storage locations to the factory default setup.
Command Descriptions Examples DELETE:GROUP REF2 removes the group stored at REF2. DELETE:GROUP ALL removes all groups stored in reference memory. DESE Sets and queries the bits in the Device Event Status Enable Register (DESER). The DESER is the mask that determines whether events are reported to the Standard Event Status Register (SESR) and entered into the Event Queue. For a more detailed discussion of the use of these registers, see page 3–1.
Command Descriptions might return the string , indicating the DESER contains the binary value 10111010. DIAg:RESUlt:FLAg? (Query Only) Returns the pass/fail status of the last diagnostic test sequence. Use the DIAg:RESUlt:LOG? query to determine which test(s) have failed. Group Calibration and Diagnostic Related Commands DIAg:RESUlt:LOG? Syntax Returns indicates all the selected diagnostic tests have passed.
Command Descriptions DIAg : RESUlt : LOG ? in the following format: Returns ,[,,...] DIAG:RESULT:LOG? might return :DIAG:RESULT:LOG "pass--Processor,pass--Display, pass--FP/Proc Interface,FAIL--Front Panel". Examples DIAg:SELect:ACQUISition (No Query Form) Selects the acquisition system test sequence to run when the DIAg:STATE EXECUte command is sent. This command is equivalent to setting Area in the Utility menu when System is set to Diag/Err.
Command Descriptions Arguments selects functional, memory, and register tests for the acquisition, processor, and display systems, and self diagnostics for the front panel. Examples selects all functional, memory, and register tests for the acquisition, processor, and display systems test, and self diagnostics for the front panel test.
Command Descriptions DIAg : SELect Arguments Examples : DISplay ALL ALL selects functional, memory, and register tests. DIAG:SELECT:DISPLAY ALL specified that all functional, memory, and register tests be included in the display system test. DIAg:SELect:FPAnel (No Query Form) Selects the front-panel test sequence that will run when the DIAg:STATE EXECUte command is sent. This command is equivalent to setting Area in the Utility menu when System is set to Diag/Err.
Command Descriptions NOTE. The DIAg:STATE EXECute command may take 30 seconds or longer to respond. This command performs a warm boot and does not return control to the instrument controller until diagnostics are complete. Group Calibration and Diagnostic Syntax Arguments runs the diagnostic test sequences specified by the DIAg:SELect commands. When complete, the logic scope will return to its pretest state.
Command Descriptions Syntax DISplay? DISplay Examples ? DISPLAY? might return :DISPLAY:FORMAT YT;STYLE VECTORS;FILTER SINX;PERĆ SISTENCE 500.0E-3;GRATICULE FULL;TRIGT 1;INTENSITY:OVERALL 85;WAVEFORM 70;TEXT 60;CONTRAST 150. DISplay:CLOCk Controls the display of the date and time. Using this command is equivalent to setting the Display Date/Time in the Readout Options side menu. The query form returns an ON (1) or an OFF (0).
Command Descriptions DISplay:COLOr? (Query Only) Returns the display color settings.
Command Descriptions OFF ON DISplay : Arguments COLOr : CONTRast ? OFF or = 0 turns off collision contrast. ON or 0 turns on collision contrast. Examples DISPLAY:COLOR:CONTRAST ON turns on the contrast option. DISPLAY:COLOR:CONTRAST? might return 1, indicating the color contrast is on. DISplay:COLOr:MAP? (Query Only) Returns the current color mappings for group and reference waveforms.
Command Descriptions DISplay:COLOr:MAP:- ? (Query Only) Returns the color index representing the color currently assigned to the item (group or reference waveform) specified. Sending this query is similar to pressing Map Group Colors or Map Reference Colors in the Color main menu, selecting a group in the side menu, and then reading the color index number under the label Color in the side menu.
Command Descriptions Syntax DISplay:COLOr:MAP: { Group1 | Group2 | Group3 | Group4 | Group5 | Group6 | Group7 | Group8 | Ref1 | Ref2 | Ref3 | Ref4 }:TO { CI1 | CI2 | CI3 | CI4 | CI5 | CI6 } DISplay:COLOr:MAP:Group:TO? GROUP1 GROUP2 GROUP3 GROUP4 GROUP5 GROUP6 CI1 GROUP7 CI2 GROUP8 REF1 DISplay CI4 REF2 COLOr : CI5 REF3 : MAP Arguments : REF4 CI3 CI6 : TO ? GROUP1 through GROUP8 are the eight user-definable groups for acquiring waveforms.
Command Descriptions Syntax DISplay:COLOr:PALEtte? DISplay Examples : COLOr : PALEtte ? DISPLAY:COLOR:PALETTE? might return :DISPLAY:COLOR:PALETTE:REGULAR NORMAL;PERSISTENCE TEMPERATURE;NORMAL:BACKGROUND 0,0,0;CI1 0,65,0;CI2 252,48,48; CI3 167,48,75;CI4 306,35,100;CI5 44,39,72;CI6 75,33,74;TEXT 165,50,35;SCROLLTEXT 180,80,75;ZONE 145,62,99;COLLISION 132,54,80;GRATICULE 165,50,15;SCROLLBAR 130,40,45;:DISPLAY: COLOR:PALETTE:BOLD:BACKGROUND 0,0,0;CI1 250,39,100;CI2 0,50,100;CI3 108,45,100;CI4 180,48,1
Command Descriptions TEMPErature DISplay : COLOr : PALEtte : SPECTral GRAYscale PERSistence Arguments ? TEMPErature displays variable persistence style waveforms with their more frequently occurring (more persistent) waveform elements in warmer colors (red shades). Less persistent elements appear in cooler colors (blue shades). SPECTral displays variable persistence style waveforms with their more persistent elements in blue shades. Less persistent elements appear in red shades.
Command Descriptions DISplay : COLOr : PALEtte : NORMal REGular MONo BOLd HARDCopy ? Arguments NORMal sets the color of the display elements to those hues and lightness levels best for overall viewing. MONo sets waveforms to monochromic levels while setting other display elements to colors. BOLd sets the color of the display elements for brighter, more vivid hues.
Command Descriptions DISplay:COLOr:PALEtte::RESET (No Query Form) Restores the given palette to its factory defaults. Using this command is useful if you have edited the colors in a palette and is equivalent to selecting Restore Colors from the main Color menu and Reset Current Palette to Factory from the resulting side menu.
Command Descriptions DISplay:COLOr:PALEtte:{ NORMal | MONo | BOLd | HARDCopy }: { BACKGround | CI1 | CI2 | CI3 | CI4 | CI5 | CI6 | TEXT | SCROLLText | ZONe | COLLision | GRAticule | SCROLLBar }? BACKGround DISplay COLOr : : CI1 CI2 , CI3 PALEtte : NORMal CI4 MONo CI5 BOLd HARDCopy : , CI6 ? TEXt SCROLLText ZONe COLLision GRAticule SCROLLBar Arguments BACKGround specifies the display background color.
Command Descriptions Hue is the wavelength of light reflected from the surface. It varies continuously along the color spectrum as produced by a rainbow. Values range from 0 to 359. Sample values are: 0 = blue, 60 = magenta, 120 = red, 180 = yellow, 240 = green, 360 = cyan. Lightness refers to the amount of light reflected from the surface. It varies from black, to the nominal color, to white. Values range from 0 to 100. A value of 0 results in black. A value of 50 provides the nominal color.
Command Descriptions SINX specifies sin(x)/x interpolation where the instrument fits acquired points to a curve. Examples DISPLAY:FILTER LINEAR sets the interpolation filter type to linear. DISPLAY:FILTER? returns either LINEAR or SINX, indicating the interpolation filter type. DISplay:FORMat? (Query Only) Queries the display format. The logic scope always returns YT.
Command Descriptions CROSSHair FRAme FULl GRId DISplay Arguments : GRAticule ? CROSSHair specifies a frame and cross hairs. FRAme specifies a frame. FULl specifies a frame, a grid, and a cross hairs. GRId specifies a frame and a grid. Examples DISPLAY:GRATICULE GRID sets the display frame and grid graticule type. DISPLAY:GRATICULE? returns FULL when all graticule elements (grid, frame, and cross hairs) are selected.
Command Descriptions Syntax " % % $ " % % $ " " % % $ Arguments Examples ranges from 20 to 100 percent. sets the intensity of the text to the brightest level. DISplay:INTENSITy:WAVEform Sets waveform intensity. This command is equivalent to setting Waveform in the Display Intensity side menu.
Command Descriptions DISplay:PERSistence Sets the length of time that data points are displayed when DISplay:STYle is set to VARpersist. This affects the display only and is equivalent to setting Variable Persistence in the Display Style side menu.
Command Descriptions DOTs INFPersist INTENSIFied VARpersist VECtors DISplay Arguments : STYle ? DOTs displays individual data points. INFPersist accumulates data points on the display indefinitely. The display is reset when the style or acquisition is reset. INTENSIFied causes the display to show acquired (noninterpolated) samples with brighter dots than the rest of the waveform. VARpersist leaves acquired data points on the display for a period of time specified by DISplay:PERSistence.
Command Descriptions ON OFF DISplay Arguments : TRIGT ? OFF or = 0 removes the trigger indicator from the display. ON or 0 displays a trigger indicator on each of the displayed waveforms. The trigger indicator is in reverse video for the selected waveform. Examples DISPLAY:TRIGT ON sets the display to show trigger indicators. DISPLAY:TRIGT? might return 1 indicating that the display shows trigger indicators.
Command Descriptions displays a horizontal line in the center of the graticule for each displayed trigger signal. Examples sets the display to show a long trigger bar indicator (or indicators). might return , indicating the trigger bar is not displayed. *ESE Sets and queries the bits in the Event Status Enable Register (ESER). The ESER prevents events from being reported to the Status Byte Register (STB).
Command Descriptions Examples sets the ESER to binary 11010001, which enables the PON, URQ, EXE, and OPC bits. might return the string , showing that the ESER contains the binary value 10111010. *ESR? (Query Only) Returns the contents of the Standard Event Status Register (SESR). *ESR? also clears the SESR (since reading the SESR clears it). For a more detailed discussion of the use of these registers, see page 3–1.
Command Descriptions EVENT Examples ? EVENT? might return the response :EVENT 110, indicating there was an error in a command header. EVMsg? (Query Only) Removes from the Event Queue a single event code associated with the results of the last *ESR? read, and returns the event code along with an explanatory message. A more detailed discussion of event handling begins on page 3–1.
Command Descriptions EVQty? (Query Only) Returns the number of event codes in the Event Queue. Using this command is useful when using the ALLEv? query since it lets you know exactly how many events will be returned. Group Related Commands Syntax Status and Error ALLEv?, EVENT?, EVMsg? Returns Examples might return as the number of event codes in the Event Queue. FACtory (No Query Form) Resets the logic scope to its factory default settings.
Command Descriptions H sets the Power On Status Clear Flag to TRUE H purges all defined aliases. H enables all Command Headers (HEADer ON). H set the macro defined by *DDT to a “zero-length field.” H clear the pending operation flag and associated operations. The FACtory command does not alter: H the state of the GPIB (IEEE Std 488.1-1987) interface. H the selected GPIB address. H calibration data that affects device specifications. H protected user data. H stored settings.
Command Descriptions Syntax FILESystem : Arguments FILESystem:Copy { , | , | , } COPy , , , is a quoted string that defines the file name and path.
Command Descriptions Syntax FILESystem:CWD FILESystem:CWD? FILESystem : CWD ? Arguments Examples is a quoted string defining the complete path to a valid directory, residing on the file system disk. FILESYSTEM:CWD fd0:/MYDIR" will define FD0:/MYDIR as the current directory. FILESYSTEM:CWD? might return FD0:/MYDIR", if that was the current directory. FILESystem:DELEte (No Query Form) Deletes a named file.
Command Descriptions FILESystem:DELWarn Turns on or off the front panel file delete warning. No warning is returned by way of GPIB. Group File System Syntax ! " # # $ ! ? ! Arguments or turns on the front panel delete warning. turns off the front panel delete warning. Examples disables the front panel delete warning.
Command Descriptions FILESystem:FORMat (No Query Form) Formats a named drive. Group File System Syntax " ! " Arguments ! ! is a quoted string that defines the disk drive to format. : refers to the floppy-disk drive built into the logic scope. Examples # formats the media on drive fdo:. FILESystem:FREESpace? (Query Only) Returns the amount of free space (in bytes) on the current drive.
Command Descriptions Syntax FILESystem:MKDir FILESystem Arguments Examples : MKDir is a quoted string that defines the directory. Input the directory using the form //. and one or more ’s are optional. If you do not specify them, the logic scope will create the directory in the current directory. stands for a directory name of up to 8 characters.
Command Descriptions FILESystem:PRInt (No Query Form) Prints a named file to the named port. Group File System Syntax FILESystem:PRInt ,{ GPIb | CENtronics | RS232 } GPIb : FILESystem PRInt , CENtronics RS232 Arguments is a quoted string that defines the file name and path. Input the file path using the form //. and one or more ’s are optional.
Command Descriptions
’s are optional. If you do not specify them, the logic scope will look for the filename in the current directory. is a quoted string defining the new name of the file. Input the file path using the form //. and one or more ’s are optional. If you do not specify them, the logic scope will place the newly named file in the current directory. Examples FILESYSTEM:RENAME TEK00000.SET",MYSETTING.SET" gives the file named TEK00000.Command Descriptions GROUPSET Arguments is used to assign channels to groups. A string must be from 1 to 16 characters in length containing the characters 1 through 8 and “–” (dashes). Each character position in the string is interpreted as a channel number. The right most character maps to channel 1, the second right-most character to channel 2, etc. In a 16 character string, the left-most character maps to channel 16.
Command Descriptions GROUP:BANdwidth Sets or queries the bandwidth setting of the specified group. Using this command is equivalent to setting Bandwidth in the Vertical menu. Group Vertical Syntax & % $ ( "$' ) ! * & % $ # Arguments & % $ "$' ! "$' sets the group bandwidth to 20 MHz. ! sets the group bandwidth to the full bandwidth of the logic scope.
Command Descriptions GROUP:DISplay Sets or queries the display mode for the group. Group Vertical Syntax ! " " " " # Arguments displays each waveform in the group as the analog of its input signal. Use Analog All mode to measure the actual response of a group of waveforms.
Command Descriptions GROUP:FIRst Sets or queries the first channel in the group. Every group includes the first channel (lowest numbered in the group), the last channel (highest numbered), and every channel in between. A channel can only belong to one group at a time. Group Related Commands Syntax Vertical GROUP:LAST, GROUP:SELect GROUP:FIRst GROUP:FIRst? GROUP : FIRst ? Arguments Examples specifies the first channel in the group from 1 to 16.
Command Descriptions GROUP : HEIght ? Arguments Examples is the height setting from 200E–3 to 8.0E+0. GROUP2:HEIGHT 5 displays the HIGH and LOW levels for waveforms displayed in group 2 five vertical divisions apart. GROUP7:HEIGHT? might return 2.0E+0 indicating the HIGH and LOW levels for waveforms displayed in group 7 are spaced two vertical divisions apart. GROUP:LAST Sets or queries the last channel in the group.
Command Descriptions GROUP:OFFSet Sets or queries the offset in volts, that is subtracted from the specified input group before it is acquired. The greater the offset, the lower on the display the waveform appears. Using this command is equivalent to setting Offset in the Vertical menu. Group Related Commands Syntax Vertical GROUP:POSition GROUP:OFFSet GROUP:OFFSet? GROUP : OFFSet ? Arguments Examples is the desired offset in volts.
Command Descriptions GROUP:POSition? GROUP : POSition ? Arguments Examples is the desired position in divisions from the center graticule. The range is ±5 divisions. GROUP2:POSITION 1.3E+0 positions the group 2 input signal 1.3 divisions above the center of the display. GROUP1:POSITION? might return -1.3E+0, indicating that the current position of group 1 is at –1.3 divisions. GROUP:SCAle Sets or queries the vertical gain of the specified group.
Command Descriptions Examples GROUP4:SCALE 100E-03 sets the group 4 gain to 100 mV/div. GROUP2:SCALE? might return 1.00E+0, indicating that the current V/div setting of group 2 is 1 V/div. GROUP:SELect Sets or queries the selected channel within the group. Sending this command is equivalent to setting Selected Channel in the Group Definition menu. The logic scope highlights (makes brighter on screen) the selected channel in a group.
Command Descriptions GROUP:VHIgh Sets or queries the upper threshold voltage (Vhigh min) for the specified group. Input signals in the group must cross this threshold going positive to be displayed at a HIGH digital level. This command affects groups set to BusForm or Timing Diagram display mode only, which display HIGH or LOW levels based on comparison to the set threshold levels.
Command Descriptions GROUP:VLOw? GROUP : VLOw ? Arguments Examples is the lower threshold from 12.00E–0 to 14.99E+0 volts. GROUP1:VLOW 5.0E-1 sets the lower threshold voltage of group 1 to –0.5 volts. GROUP2:VLOW? might return 5.0E-1 to indicate the lower threshold voltage is set to –0.5 volts for group 2. GROUP:VOLts Sets or queries the vertical gain of the specified group.
Command Descriptions HARDCopy Sends a copy of the screen display followed by an EOI, to the port specified by HARDCopy:PORT. The format and layout of the output is specified with the HARDCopy:FORMat and HARDCopy:LAYout commands. This command is equivalent to pressing the front panel HARDCOPY button. The HARDCopy? query returns format, layout, and port information. NOTE. This command is NOT IEEE Std 488.2-1987 compatible.
Command Descriptions HARDCOPY? may return :HARDCOPY:FORMAT EPSCOLIMG;PORT GPIB;LAYOUT PORĆ TRAIT;PALETTE HARDCOPY;FILENAME "fd0:/TEK?????.EPS". HARDCopy:FILEName Identifies the file to be sent when the next hardcopy command (i.e. HARDCOPY START command) is issued. Using this command is equivalent to setting the target file name in the Hardcopy menu.
Command Descriptions HARDCOPY:FILENAME TEK??.IBM" selects TEK as the selected file name with a numeric, two-digit suffix. The logic scope would return TEK00.IBM as the first file, TEK01.IBM as the second. HARDCopy:FORMat Selects the output data format for hard copies. Using this command is equivalent to setting Format in the Hardcopy menu.
Command Descriptions !. HP Deskjet inkjet printer compatible format. DPU-411/II portable thermal printer compatible format. DPU-412 portable thermal printer compatible format. *'*, compatible format. ( #! Encapsulated Postscript, color-image, compatible format. *)* Encapsulated Postscript, mono-image, compatible format. *) Epson compatible format. ' HP Graphics Language Color Plotter compatible format.
Command Descriptions LANdscape PORTRait HARDCopy Arguments : LAYout ? LANDscape specifies that the bottom of the hardcopy is along the longest side of the page. PORTRait specifies that the bottom of the hardcopy is along the shortest side of the page. This is the standard format. Examples HARDCOPY:LAYOUT LANDSCAPE sets the printing orientation to landscape mode. HARDCOPY:LAYOUT? might return PORTRAIT as the page layout format of the hardcopy output.
Command Descriptions might return . HARDCopy:PORT Specifies where to send hardcopy data at the next HARDCOPY START command. Using this command is equivalent to setting Port in the Hardcopy menu. Group Related Commands Syntax Hardcopy HARDCopy $ % & & #! " & ' $ $ #! " Arguments specifies that the hardcopy be stored in the file named by the HARDCOPY:FILENAME command.
Command Descriptions HDR This command is identical to HEADer and is included for compatibility with older Tektronix instruments. Group Miscellaneous Syntax HEADer Sets or queries the Response Header Enable State that causes the logic scope to include or omit headers on query responses. This command does not affect IEEE Std 488.2-1987 Common Commands (those starting with an asterisk),which never return headers.
Command Descriptions OFF or = 0 sets the Response Header Enable State to false. This causes the logic scope to omit headers on query responses, only the argument is returned. Examples HEADER OFF causes the logic scope to omit headers from query responses. HEADER? might return the value 1, showing that the Response Header Enable State is true. HORizontal? (Query Only) Returns all settings for the horizontal commands.
Command Descriptions Related Commands Syntax HORizontal?, HORizontal:DELay:MODe?, HORizontal:DELay:SCAle?, HORizontal:DELay:SECdiv?, HORizontal:DELay:TIMe? HORizontal:DELay? HORizontal Returns Examples : ? DELay See “Example” HORIZONTAL:DELAY? might return the delay parameters :HORIZONTAL:DELAY:MODE RUNSAFĆ TER;SCALE 1.0E-6;TIME: 16.0E-9. HORizontal:DELay:MODe Sets the delayed time base mode. Using this command is equivalent to setting Time Base in the Horizontal menu.
Command Descriptions Examples HORIZONTAL:DELAY:MODE RUNSAFTER sets the delayed time base to runs after delay mode HORIZONTAL:DELAY:MODE? might return TRIGAFTER, which indicates the delayed time base is set to trigger on the first valid trigger occurring after the delay time elapses (delay time is from the main trigger event). HORizontal:DELay:SCAle Sets the time per division for the delayed time base. Using this command is equivalent to setting Delayed Scale in the Horizontal Scale side menu.
Command Descriptions HORizontal:DELay:SECdiv This command is identical to the HORizontal:DELay:SCAle command. Group Horizontal Syntax HORizontal:DELay:SECdiv HORizontal:DELay:SECdiv? HORizontal : DELay : SECdiv ? Arguments Examples is the time per division. The range is 5 s to 500 ps in a 1-2.5-5 sequence. Values not set to the specified sequence will be adjusted to the closest valid value.
Command Descriptions HORizontal:DELay:TIMe? HORizontal : : DELay : TIMe ? Arguments Examples is the time in seconds, between the main trigger and the delayed trigger. The delay range is 16 ns to 250 seconds with a resolution of 2 ns. HORIZONTAL:DELAY:TIME 2.0E-3 sets the delay time between the main and delayed time base to 2 ms. HORIZONTAL:DELAY:TIME? might return :HORIZONTAL:DELAY:TIME:16.0E-9 for the delay time.
Command Descriptions HORIZONTAL:DELAY:TIME:RUNSAFTER? might return 6.0E-6, which indicates the delay time is set to 6.0 mS. HORizontal:DELay:TIMe:TRIGAfter Sets the delay time following a trigger before a delayed trigger is accepted. This command is equivalent to setting Delay by Time time in the Delayed Trigger menu.
Command Descriptions Group Horizontal Syntax " ! ! # $ $ % " ! ! " ! ! Arguments turns on waveform compression. turns off waveform compression. 0 indicates waveform compression is OFF; a non-zero value indicates waveform compression is ON. Examples turns on waveform compression. might return , indicating data is not fit to the screen.
Command Descriptions Examples HORIZONTAL:MAIN? might return :HORIZONTAL:MAIN:SCALE 1.0E-6. HORizontal:MAIn:SCAle Sets the time per division for the main time base. This command is equivalent to setting Main Scale in the Horizontal Scale side menu.
Command Descriptions Related Commands Syntax HORizontal:DELay:SCAle, HORizontal:DELay:SECdiv, HORizontal:MAIn:SCAle HORizontal:MAIn:SECdiv HORizontal:MAIn:SECdiv? HORizontal : MAIn : SECdiv ? HORizontal:MODe Selects whether the horizontal display uses the main or delayed time base or both. This command is equivalent to setting Time Base in the Horizontal menu.
Command Descriptions Examples uses the delayed horizontal scale to display the waveform. might return , indicating the waveform is displayed using both the main and delayed time base scale. HORizontal:POSition Positions the waveform horizontally on the display. Used for the both main and delayed time bases, this command is equivalent to adjusting the front panel Horizontal Position knob or setting the position in the Horizontal Position side menu.
Command Descriptions HORizontal:RECOrdlength Sets the number of data points that are acquired for each record. Using this command is equivalent to setting Record Length in the Horizontal menu. Group Horizontal Syntax HORizontal:RECOrdlength HORizontal:RECOrdlength? HORizontal : RECOrdlength ? Arguments Examples is 500, 1000, or 2000. HORIZONTAL:RECORDLENGTH 1000 specifies that 1000 data points will be acquired for each record.
Command Descriptions HORizontal : SCAle ? Arguments Examples is the time per division. The range is 5 s to 500 ps in a 1-2.5-5 sequence. Values not set to the specified sequence will be adjusted to the closest valid value. HORIZONTAL:MAIN 2.5E-6 sets the main scale to 2.5 ms per division. HORIZONTAL:MAIN? might return 5E-9, which indicates the main time base is set to 5 nanoseconds.
Command Descriptions HORizontal:TRIGger? (Query Only) Returns the horizontal trigger parameters. Group Horizontal Syntax HORizontal:TRIGger? HORizontal Examples TLS 216 Programmer Manual : TRIGger ? HORIZONTAL:TRIGGER? might return :HORIZONTAL:TRIGGER:POSITION 50.
Command Descriptions HORizontal:TRIGger:POSition Sets or queries the trigger position. Using this command is equivalent to setting Trigger Position in the Horizontal menu. Group Horizontal Syntax HORizontal:TRIGger:POSition HORizontal:TRIGger:POSition? HORizontal : : TRIGger POSition ? Arguments Examples is the amount of pretrigger information in the waveform from 20 to 80%. HORIZONTAL:TRIGGER:POSITION 40 sets the amount of pretrigger to 40% of the waveform record.
Command Descriptions Examples ID? might return TEK,TLS216,CF:92.1CT,FV:2.0. *IDN? (Query Only) Returns the logic scope’s unique identification code. Group Related Commands Syntax Miscellaneous ID *IDN? *IDN Returns ? The instrument id in the following format: TEKTRONIX,,0,CF:92.1CT FV: Examples *IDN? might return TEK,TLS216,0,CF:92.1CT FV:2.0. LOCk Enables and disables all front panel buttons and knobs. There is no front panel equivalent.
Command Descriptions Arguments disables all front panel controls. enables all front panel controls. Using this argument is equivalent to the UNLock ALL command. NOTE. If the logic scope is in the Remote With Lockout State (RWLS), the LOCk NONe command has no effect. For more information see the ANSI-IEEE Std. 488.1-1987 Standard Digital Interface for Programmable Instrumentation, section 2.8.3 on RL State Descriptions. Examples locks the front panel controls.
Command Descriptions *LRN ? NOTE. The *LRN? query always returns a string including command headers, regardless of the setting of the HEADer command. The returned string is intended to be sent back to the logic scope as a command string. The VERBose command can still be used normally to specify whether the returned headers should be abbreviated.
Command Descriptions :MEASUREMENT:REFLEVEL:PERCENT:HIGH 90.0E+0;LOW 10.0E+0;MID 50.0E+0;MID2 50.0E+0. MEASUrement:CLEARSNapshot (No Query Form) Clears (removes) the measurement snapshot display. Group Measurement Syntax MEASUrement:CLEARSNapshot : MEASUrement CLEARSNapshot MEASUrement:GATing Sets or queries measurement gating.
Command Descriptions might return , indicating gating is turned on. MEASUrement:IMMed? (Query Only) Returns all setup parameters for the immediate measurement. IMMed specifies the immediate measurement that is taken without displaying the measurement results on screen.
Command Descriptions MEASUrement:IMMed:CLOCk:DIREction Sets or queries the starting point and direction of the clock edge when taking a setup or hold immediate measurement. (The immediate measurement is taken without displaying the results on screen.) The clock waveform only affects setup or hold immediate measurement types.
Command Descriptions Group Measurement Syntax MEASUrement:IMMed:CLOCk:EDGE { RISe | FALL } MEASUrement:IMMed:CLOCk:EDGE? MEASUrement : IMMed : CLOCk : EDGE RISe FALL ? Arguments RISe specifies the rising edge. FALL specifies the falling edge. Examples MEASUREMENT:IMMED:CLOCK:EDGE RISE which specifies that the rising edge be used for the clock waveform when taking a Setup or Hold Immediate measurement.
Command Descriptions " # ! $ % & & " $ Arguments $ specifies that channel be used as the waveform for the clock source. % specifies that the channel currently selected in group be used as the waveform for the clock source. The command $ , described on page 2–133, sets the selected channel.
Command Descriptions % ! "' Examples ) might return . MEASUrement:IMMed:DELay:DIREction Sets or queries the starting point and direction of the “delay to” edge when taking a delay immediate measurement. (The immediate measurement is taken without displaying the results on screen.) Use the MEASUrement:IMMed:SOURCE2 command to specify the delay “to” waveform.
Command Descriptions MEASUrement:IMMed:DELay:EDGE1 Sets or queries the slope of the edge used for the delay “from” waveform when taking an delay immediate measurement. (The immediate measurement is taken without displaying the results on screen.) Use the MEASUrement:IMMed:SOURCE1 command to specify the delay “from” waveform. The delay slope parameter only affects immediate measurements of delay.
Command Descriptions Group Related Commands Syntax Measurement MEASUrement:IMMed:SOURCE2 # !$ & ( ) * # !$ & # !$ & " Arguments specifies the falling edge. specifies the rising edge. Examples specifies that the rising edge be used for the immediate delay measurement.
Command Descriptions ! " # $ $ " Arguments " specifies that channel be the waveform source for the immediate measurement. # specifies that the channel currently selected in group be the waveform source for the immediate measurement. The command " ( , described on page 2–133, sets the selected channel.
Command Descriptions -$)$*/ $# ,!"$ 2 3 4 4 2 Arguments 2 specifies that channel be waveform source for the immediate measurement. 3 specifies that the channel currently selected in group be the waveform source for the immediate measurement. The command 2 8 , described on page 2–133, sets the selected channel.
Command Descriptions AMPlitude AREA BURst CARea CMEan CRMs DELay FALL FREQuency HIGH HOLDTime LOW MAXimum MEAN MINImum NDUty NOVershoot NWIdth PDUTy PERIod PHAse PK2pk POVershoot PWIdth RISe RMS SETUp SKEw MEASUrement : Arguments IMMed : TYPe ? AMPlitude is the high value minus the low value. AREA is the area between the curve and ground over the entire waveform. BURst is the time from the first MidRef crossing to the last MidRef crossing.
Command Descriptions is the arithmetic mean over one cycle. # is the true Root Mean Square voltage over one cycle. & is the time between the MidRef crossings of two different waveforms. is the time that it takes for the falling edge of a pulse to fall from a HighRef value to a LowRef value of its final value. % & is the reciprocal of the period measured in Hertz. is the 100% reference level.
Command Descriptions POVershoot + 100 * High) ǒ(Maximum Ǔ Amplitude is the distance (time) between MidRef (usually 50%) amplitude points of a positive pulse. is the time that it takes for the leading edge of a pulse to rise from a low reference value to a high reference value of its final value. is the true Root Mean Square voltage. is the time between the last transition to a legal state for all waveforms in a group and the clocking edge of the waveform specified as the clock.
Command Descriptions MEASUrement Returns Examples : IMMed : UNIts ? returns "V" for volts, "s" for seconds, "HZ" for hertz, "VV" for volts2, or "%" for percent. MEASUREMENT:IMMED:UNITS? might return "s", indicating the units of the Immediate measurement are in seconds. MEASUrement:IMMed:VALue? (Query Only) Executes the Immediate measurement specified by the MEASUrement:IMMed:TYPe command. The measurement is taken on the source(s) specified by the MEASUrement:IMMed:SOURCE command.
Command Descriptions MEASUrement:MEAS? (Query Only) Returns all measurement parameters for the displayed measurement specified by MEAS. MEAS is one of the four measurements available (named Measurement 1 through 4), where specifies 1 through 4.
Command Descriptions MEASUrement:MEAS:CLOCk:DIRection Sets or queries the starting point and direction of the clock edge when taking a setup or hold measurement for MEAS. MEAS is one of the four measurements available (named Measurement 1 through 4) where specifies 1 through 4. The clock waveform only affects setup or hold measurement types. This command is equivalent to setting the direction in the Clock Edges and Direction side menu.
Command Descriptions MEASUrement:MEAS:CLOCk:EDGe Sets the clocking-edge slope of the clock waveform for MEAS. MEAS is one of the four measurements available (named Measurement 1 through Measurement 4), where specifies 1 through 4. The clock waveform only affects setup or hold measurement types. Use the MEASUREMENT:MEAS:CLOCK:SOURCE command to select the clock source. This command is equivalent to setting the clock edge in the Clock Edges and Direction side menu.
Command Descriptions Group Measurement Syntax MEASUrement:MEAS:CLOCk:SOUrce { CH | GROUP | REF | REFCH } MEASUrement:MEAS:CLOCk:SOUrce? MEASUrement : MEAS CLOCk : : CH GROUP REF REF SOUrce CH ? Arguments CH specifies that waveform is the waveform selected as the clock source. If CH is specified, the channel must be included in a group.
Command Descriptions MEASUrement:MEAS:DELay? (Query Only) Returns the Delay measurement parameters for MEAS. MEAS is one of the four measurements available (named Measurement 1 through Measurement 4) where specifies 1 through 4. The delay parameters only affect delay type measurements.
Command Descriptions % ! "' ) * $ Arguments ( % & % & ' #" ( % & means the search starts at the end of the waveform and looks for the last rising or falling edge in the waveform. The slope of the edge is specified by the command MEASUrement:MEAS:DELay:EDGE2. % & means the search starts at the beginning of the waveform and looks for the first rising or falling edge in the waveform.
Command Descriptions Arguments specifies the falling edge. specifies the rising edge. Examples specifies the rising edge be used for measurement 3. returns either or for measurement 1. MEASUrement:MEAS:DELay:EDGE2 Sets or queries the slope of the edge used for the delay “to” waveform when taking a delay measurement for MEAS.
Command Descriptions specifies the rising edge. specifies the rising edge be used for the second delay measurement. Examples might return showing that the falling or negative edge of the waveform is used for the second measurement. MEASUrement:MEAS:SOURCE[1] Sets or queries the source of the waveform to be measured for all types of measurements on a single waveform for MEAS.
Command Descriptions ! specifies that channel in reference group is the waveform source for the measurement. NOTE. If a reference waveform is specified as a source, the waveform must have a display type of ANALOGALL, ANALOGSEL, BUS, or TIMING. specifies channel 1 as the measurement 2 source. Examples might return , indicating channel 3 of reference #1 is the current source waveform for this measurement.
Command Descriptions GROUP specifies that the channel currently selected in group is the waveform source for the measurement. The command GROUP:SELECT, described on page 2–133, sets the selected channel. REF specifies that the currently selected channel in reference group is the waveform source for the measurement. The command REF:SELECT, described on page 2–212, sets the selected channel.
Command Descriptions MEASUREMENT:MEAS4:STATE? returns either 0 or 1, indicating the state of MEAS4. MEASUrement:MEAS:TYPe Sets or queries the measurement type for MEAS. MEAS is one of the four measurements available (named Measurement 1 through Measurement 4) where specifies 1 through 4. Using this command is equivalent to selecting the measurement in the Select Measurement side menu.
Command Descriptions AMPlitude AREA BURst CARea CMEan CRMs DELay FALL FREQuency HIGH HOLDTime LOW MAXimum MEAN MINImum NDUty NOVershoot NWIdth PDUTy PERIod PHAse PK2pk POVershoot PWIdth RISe RMS SETUp SKEw MEASUrement : Arguments MEAS : TYPe ? AMPlitude is the high value minus the low value or HIGH – LOW. AREA is the area between the curve and ground over the entire waveform. BURst is the time from the first MidRef crossing to the last MidRef crossing.
Command Descriptions is the arithmetic mean over one cycle. # is the true Root Mean Square voltage over one cycle. & is the time between the MidRef crossings of two different waveforms. is the time that it takes for the falling edge of a pulse to fall from a HighRef value to a LowRef value of its final value. % & is the reciprocal of the period measured in Hertz. is the 100% reference level.
Command Descriptions POVershoot + 100 * High) ǒ(Maximum Ǔ Amplitude ! is the distance (time) between MidRef (usually 50%) amplitude points of a positive pulse. is the time that it takes for the leading edge of a pulse to rise from a low reference value to a high reference value of its final value. is the true Root Mean Square voltage. is the time between the last transition to a legal state for all waveforms in a group and the clocking edge of the waveform specified as the clock.
Command Descriptions MEASUrement : Returns Examples MEAS UNIts : ? returns "V" for volts, "s" for seconds, "HZ" for hertz, "VV" for volts2, or "%" for percent. MEASUREMENT:MEAS3:UNITS? might return "%", indicating the units for Measurement 3 are percent. MEASUrement:MEAS:VALue? (Query Only) Returns the measurement value calculated for MEAS. MEAS is one of the four measurements available (named Measurement 1 through Measurement 4), where specifies 1 through 4. NOTE.
Command Descriptions MEASUrement Arguments : METHod HIStogram MINMax ? HIStogram sets the high and low waveform levels statistically using a histogram algorithm. MINMax sets the high and low waveform levels to MAX and MIN, respectively. Examples MEASUREMENT:METHOD HISTOGRAM specifies that the high and low reference levels are set statistically. MEASUREMENT:METHOD? returns MINMAX when the reference levels are set to MIN and MAX.
Command Descriptions MEASUrement Examples : REFLevel : ? ABSolute MEASUREMENT:REFLEVEL:ABSOLUTE? might return a string similar to: :MEASUREMENT:REFLEVEL:ABSOLUTE:HIGH 0.0E+0;LOW 0.0E+0;MID 0.0E+0;MID2 0.0E+0. MEASUrement:REFLevel:ABSolute:HIGH Sets or queries the High reference level, and is the 100% reference level when MEASUrement:REFLevel:METHod is set to ABSolute. This command is equivalent to setting the Reference Levels in the Measure menu.
Command Descriptions Syntax MEASUrement:REFLevel:ABSolute:LOW MEASUrement:REFLevel:ABSolute:LOW? MEASUrement : REFLevel : ABSolute : LOW ? Arguments Examples is the low reference level, in volts. The default is 0.0 V. MEASUREMENT:REFLEVEL:ABSOLUTE:LOW 1.0E+0 sets the low reference level value to 1.0 volts MEASUREMENT:REFLEVEL:ABSOLUTE:LOW? might return 0.0E+0, indicating the low reference level value is 0.0 volts.
Command Descriptions MEASUREMENT:REFLEVEL:ABSOLUTE:MID? might return 3.0E+0, indicating the mid reference level value is 3.0 volts. MEASUrement:REFLevel:ABSolute:MID2 Sets or queries the Mid reference level for the “to” waveform when taking a Delay measurement. Comprises the 50% reference level when MEASUrement:REFLevel:METHod is set to ABSolute. This command is equivalent to setting the Reference Levels in the Measure menu.
Command Descriptions ABSolute MEASUrement : Arguments REFLevel : PERCent METHod ? ABSolute specifies that the reference levels are set explicitly using the MEASUrement:REFLevel:ABSolute commands. This method is useful when precise values are required. For instance, when designing to published interface specifications such as RS-232-C. PERCent specifies that the reference levels are calculated as a percent relative to HIGH and LOW.
Command Descriptions MEASUrement:REFLevel:PERCent:HIGH Sets or queries the High reference level (as a percentage of HIGH). Use this command to calculate the high reference level when MEASUrement:REFLevel:METHod is set to PERCent. This command is equivalent to setting the Reference Levels in the Measure menu.
Command Descriptions MEASUrement : REFLevel : PERCent : LOW ? Arguments Examples ranges from 0 to 100%, and is the low reference level. The default is 10%. MEASUREMENT:REFLEVEL:PERCENT:LOW 30 sets the low reference level value to 30% of HIGH. MEASUREMENT:REFLEVEL:PERCENT:LOW? might return 15.0E+0, indicating the low reference level value is set to 15% of HIGH. MEASUrement:REFLevel:PERCent:MID Sets or queries the Mid reference level (as a percentage of HIGH).
Command Descriptions MEASUREMENT:REFLEVEL:PERCENT:MID? might return 80.0E+0 indicating the mid reference level value is set to 80% of HIGH. MEASUrement:REFLevel:PERCent:MID2 Sets or queries the Mid reference level (as a percentage of HIGH). Used to calculate the mid reference level (for the second waveform specified) when taking a delay measurement. This command is equivalent to setting the Reference Levels in the Measure menu.
Command Descriptions MEASUrement Examples : SNAPShot MEASUREMENT:SNAPSHOT invokes the measurement snapshot for the selected channel of the selected group. MESSage Clears the message window. The MESSage? query returns the current message parameters. Group Display Syntax MESSage CLEar MESSage? MESSage Arguments Examples CLEar ? CLEar removes the message from the message window. Using this argument is equivalent to sending MESSage SHOW "".
Command Descriptions Arguments and = 0 to 640, and are pixel positions along the horizontal axis. defines the left and defines the right side of the window. and = 0 to 480, and are pixel positions along the vertical axis. defines the top and defines the bottom of the window. The reserved height of all characters is 15 pixels so the window must be at least that high to fully display characters.
Command Descriptions MESSage:SHOW Clears the contents of the message window and displays the new message. Group Display Syntax Arguments is the message and can include any of the characters shown in the Logic Scope Character Chart in Appendix A. The maximum length of the message is 1000 characters. The message is left-justified and displayed on a single line starting with the top most line in the window.
Command Descriptions Examples displays “Hello world” in the upper left corner of the box (you can define the box size with the MESSAGE BOX command). a a displays “Hello world ... hello” in the upper left corner of the box and the word “world” is displayed in inverse video. In this example, a stands for the escape character. The escape character may appear differently for you depending on your GPIB talker-listener program.
Command Descriptions Syntax NEWpass NEWpass Arguments Examples is the new password. The password can include up to 10 characters. NEWPASS "mypassword" creates a new password for accessing the user protected data. *OPC Generates the operation complete message in the Standard Event Status Register (SESR) when all pending operations finish. The *OPC? query places the ASCII character “1” into the output queue when all pending operations are finished.
Command Descriptions Table 2–24: Commands that Generate an Operation Complete Message (Cont.) Operation Command Single sequence acquisition ACQuire:STATE ON or ACQuire:STATE RUN (when ACQuire:STOPAfter is set to SEQuence) Hardcopy output HARDCopy STARt PASSWord (No Query Form) Enables the *PUD and NEWpass set commands. Sending PASSWord without any arguments disables these same commands.
Command Descriptions *PSC Sets and queries the power on status flag that controls the automatic handling of the DESER, SRER, and ESER registers. When *PSC is true, the DESER register is set to 255 and the SRER and ESER registers are set to 0 at power on. When *PSC is false, the current values in the DESER, SRER, and ESER registers are preserved in nonvolatile memory when power is shut off and are restored at power on. For a complete discussion of the use of these registers, see page 3–1.
Command Descriptions Related Commands Syntax PASSWord *PUD *PUD? *PUD ? Arguments Examples Block is a string containing up to 100 characters. *PUD #229This instrument belongs to me stores the string “This instrument belongs to me” in the user protected data area. *PUD? might return #221Property of Company X. *RCL (No Query Form) Restores the state of the logic scope from a copy of its settings stored in memory. (The settings are stored using the *SAV command.
Command Descriptions RECAll:GROUP (No Query Form) Recalls a stored group into a reference group location. This command is equivalent to selecting Recall File in the Save/Recall Group menu. RECAll Group Save and Recall Syntax RECAll:GROUP ,REF : GROUP Arguments , REF REF is the internal reference memory location where the waveform group is recalled to. is a quoted string that defines the file name and path.
Command Descriptions FACtory RECAll : SETUp Arguments FACtory selects the factory setup. is a value in the range of 1 to 10 and specifies a setup storage location. Using an out-of-range value invokes execution error 222: “Data out of range”. is a quoted string that defines the file name and path. Input the file path using the form //. and one or more ’s are optional.
Command Descriptions REF:BANdwidth? (Query Only) Returns the bandwidth of the specified reference group. Group Vertical Syntax REF:BANdwidth? REF Returns Examples : BANdwidth ? FULL or TWENTY the acquisition bandwidth of the specified reference group. REF2:BANDWIDTH? might return FULL, indicating there is no bandwidth limiting on reference group 1. REF:DISplay Sets or returns the display mode for the specified reference group.
Command Descriptions ANALOGSel displays only the selected waveform in a reference group as the analog input signal. Use Analog Select mode to measure the actual response of the selected waveform in a reference group. BUS displays each waveform in the reference group as one or more of three digital logic levels defined as HIGH, LOW, or MID. The levels of each waveform displayed depends on how the instantaneous level of its input signal compares with two threshold levels you define.
Command Descriptions REF:HEIght Sets or returns the display height setting (in divisions) for a specified reference group when set to BusForm or Timing Diagram modes. BusForm and Timing Diagram modes display waveform levels as logical HIGHS or LOWS. Setting the height sets the number of vertical division between the HIGH and LOW levels.
Command Descriptions Returns Examples the last channel in the group from 1 to 16. might return , indicating that the last channel of group 4 is channel 16. REF:OFFSet? (Query Only) Returns the specified reference group offset in volts. Group Vertical Syntax Returns Examples the offset in effect when the group was acquired. might return 500.0E–3, indicating the current reference group 1 offset is 0.
Command Descriptions REF : POSition ? Arguments Examples the display position in divisions from the center graticule. The range is 5 divisions. REF2:POSITION 1.3E+0 positions the reference group 2 input signal 1.3 divisions above the center of the display. REF1:POSITION? might return -1.3E+0, indicating that the current position of reference group 1 is at –1.3 divisions. REF:SCAle (Query Only) Returns the volts per division scale of the specified reference group.
Command Descriptions REF:SELect Sets or returns the selected channel within the reference group. This command is similar to setting Selected Channel in the Group Definition menu. The logic scope highlights the selected channel in the group. When automated measurements are implemented, the logic scope makes the measurement on the selected channel within the selected group. The selected channel must fall between the first channel and last channel, inclusively.
Command Descriptions REF : VHIgh ? Arguments Examples is the high threshold value from –11.99E+0 to 15.0E+0 volts REF1:VHIGH 3.3E+0 sets the upper threshold voltage of reference group 1 to +3.3 volts. REF2:VHIGH? might return 3.3E+0, indicating the upper threshold voltage is set to +3.3 volts for reference group 2. REF:VLOw Sets or returns the lower threshold voltage (Vlow max) for the specified reference group.
Command Descriptions REF:VOLts? (Query Only) Returns the vertical gain of the specified reference group. Using this command is equivalent to adjusting the front panel Vertical SCALE knob. Group Related Commands Syntax Vertical GROUP:SCAle, GROUP:VOLts REF:VOLts? REF Returns Examples : VOLts ? is the current vertical gain from 50 mV to 2 V/division. REF2:VOLTS? might return 1.00E+0, indicating the current V/div setting of reference group 2 is 1 V/div.
Command Descriptions *RST (No Query Form) Resets the logic scope to a known state; does not purge any aliases or stored settings. Group Related Commands Syntax Status and Error FACtory, *PSC, *RCL, RECAll:SETUp, *SAV, SAVe:SETUp *RST returns the instrument settings to the factory defaults (see Appendix D). The *RST command does not alter the following: TLS 216 Programmer Manual H the state of the IEEE Std 488.1-1987 interface H the selected IEEE Std 488.
Command Descriptions RS232? (Query Only) Queries the RS-232 settings. Group RS232 Syntax RS232? RS232 Examples ? RS232? might return RS232 BAUD: 9600, SOFTFLAGGING: OFF, HARDFLAGGING: ON, PARITY: NONE, STOPBITS: 1. RS232:BAUd Sets or queries RS-232-C interface transmission speed. Group RS232 Syntax RS232:BAUd RS232:BAUd? RS232 Arguments Examples : BAUd ? where can be 300, 600, 1200, 4800, 9600 or 19200.
Command Descriptions RS232:HARDFlagging Sets or queries the input and output hard flagging over the RS-232 port. It uses the RFR (Ready For Receive) and CTS (Clear To Send) lines to control data transmission. On output, the logic scope transmits data only when CTS is asserted. When CTS is not asserted, the logic scope stops transmitting data. On input, it asserts RFR until the receive queue is full. Then it unasserts RFR to stop transmission from an external printer.
Command Descriptions Syntax ! ! " Arguments indicates the parity bit is sent with even parity and bytes received are expected to have even parity. indicates the parity bit is sent with odd parity and bytes received are expected to have odd parity. indicates that no parity bit is sent and none are expected. Examples sets the parity to even.
Command Descriptions ON OFF RS232 Arguments : SOFTFlagging ? ON or 0 turn on softflagging. OFF or = 0 turn off softflagging. Examples RS232:SOFTFLAGGING ON turns on soft flagging. RS232:STOPBits Sets or queries the number of transmission stop bits sent with each character to identify the end of data for that character.
Command Descriptions *SAV (No Query Form) Saves the state of the logic scope to a specified memory location. You can later use the *RCL command to restore the logic scope to this saved state. Using this command is equivalent to selecting the Save Current Setup in the Save/Recall Setup menu.
Command Descriptions Arguments GROUP specifies the group to save. REF specifies the reference group to save. REF specifies the reference memory location. is a quoted string that defines the file name and path. Input the file path using the form //. and one or more ’s are optional. If you do not specify them, the logic scope will write the file to the default directory. stands for a filename of up to 8 characters followed by a period (“.
Command Descriptions characters followed by a period (“.”) and the 3-char extension “SET”. The logic scope will generate an error if you use any other extension for saving a setup. Examples SAVE:SETUP 5 saves the current front panel setup in memory location 5. SAVE:SETUP TEK00000.SET saves the current front panel setup to the file TEK00000.SET in the default directory and on the default drive. SAVe:WAVEform (No Query Form) Saves the designated channel waveform to the file specified.
Command Descriptions SELect? (Query Only) Returns the selected waveform and the display status of all waveforms. Group Vertical Syntax SELect? SELect ? SELECT? might return GROUP1 1;GROUP2 0;GROUP3 0;GROUP4 0;GROUP5 0;GROUP6 0;GROUP7 0;GROUP8 0;REF1 0;REF2 0;REF3 0;REF4 0;CONTROL GROUP1. Examples SELect:GROUP Controls or queries the display of groups. There can be up to eight groups displayed at one time, but only one group can be selected at a time.
Command Descriptions might return , indicating that group 2 is currently being displayed. SELect:CONTROl Sets or queries the group or reference group that is currently affected by the cursor and vertical commands. Group Vertical Syntax Arguments specifies one of the reference groups from 1 to 4. specifies one of the acquisition groups from 1 to 8.
Command Descriptions Arguments or = 1 turns on the display of the specified group. or = 0 turns off the display of the specified group. Examples turns on the display of group 4. might return , indicating that reference group 3 is currently being displayed. SET? (Query Only) Returns a string listing the logic scope settings, except for configuration information for the calibration values.
Command Descriptions Examples SET? a partial return string may look like this: :ACQUIRE:STOPAFTER RUNSTOP; STATE 1;MODE SAMPLE;NUMENV 10;NUMAVG 16;REPET 1;:APPMENU: TITLE "Application Menu";LABEL:BOTTOM1 "";BOTTOM2 "";BOTTOM3 "";BOTTOM4 ""; BOTTOM5 "";BOTTOM6 "";BOTTOM7 "";RIGHT1 ""; RIGHT2 ""; RIGHT3 "";RIGHT4 "";RIGHT5 "";:HEADER 1;:VERBOSE 1; :ALIAS:STATE 0;:DISPLAY:FORMAT YT;STYLE VECTORS;FILTER SINX;PERSISTENCE 500.
Command Descriptions *STB? (Query Only) Reads or queries the contents of the Status Byte Register (SBR) using the Master Summary Status (MSS) bit. For a complete discussion of the use of these registers, see page 3–1. Group Related Commands Syntax Status and Error *CLS, DESE, *ESE, *ESR?, EVENT?, EVMSg?, FACtory, *SRE Returns Examples might return the value , showing that the SBR contains the binary value 01100000.
Command Descriptions TIMe Sets or queries the logic scope time display. Group Related Commands Syntax Miscellaneous DATE, DISplay: CLOCk TIMe TIMe? TIMe Arguments Examples ? is a date in the form hh:mm:ss". hh refers to the hour number from 1 to 24. mm refers to the minute number in the hour from 0 to 59. ss refers to the seconds number in the minute from 0 to 59. There must be a colon after the hh and after the mm. TIME "01:24:00" sets the time to 01:24 AM.
Command Descriptions *TRG Examples *TRG immediately executes all commands defined by *DDT. TRIGger Forces a trigger event to occur, returns the current trigger parameters. Group Trigger Syntax TRIGger FORCe TRIGger? FORCe TRIGger ? Arguments Examples FORCe creates a trigger event. If TRIGger:STATE is REAdy, the acquisition will complete, otherwise this argument will be ignored. Using this argument is equivalent to pressing the front panel FORCE TRIGGER button.
Command Descriptions PULSE:WIDTH:LOWLIMIT 2.0E-9;HIGHLIMIT 2.0E-9;WHEN WITHIN; POLARITY POSITIVE;:TRIGGER:DEL. TRIGger:DELay Sets the delayed trigger level to 50% of the trigger signal or queries the current delayed trigger parameters. Group Trigger Syntax TRIGger:DELay SETLevel TRIGger:DELay? TRIGger : SETLevel DELay ? Arguments Examples SETLevel sets the delayed trigger level to half way between the minimum and maximum amplitudes of the trigger source input.
Command Descriptions TRIGger:DELay:BY Selects whether the delayed trigger occurs after a specified number of events or a specified period of time following the main trigger. Using this command is equivalent to setting Delay by in the Delayed Trig menu.
Command Descriptions TRIGger:DELay:EDGE? (Query Only) Returns the trigger coupling, slope, and source for the delayed edge trigger. Group Trigger Syntax Examples might return . TRIGger:DELay:EDGE:SLOpe Sets or returns the transition edge (rising or falling) that triggers the logic scope. This command is equivalent to setting Slope in the Delayed Trigger menu.
Command Descriptions might return , indicating the delayed trigger occurs on the rising edge of the signal. TRIGger:DELay:EDGE:SOUrce Sets or queries the source for the delayed edge trigger. This command is equivalent to selecting Delayed Trigger Source in the Delayed Pulse Trigger Source side menu.
Command Descriptions Syntax Returns Examples from 2 to 10E+7 indicating the current delayed trigger event parameters. might return TRIGger:DELay:EVENTS:COUNt Sets or queries the number of events that must occur before the delayed trigger occurs when TRIGger:DELay:BY is set to EVENTS. Using this command is equivalent to setting the Delay by Events count in the Delayed Edge Events side menu.
Command Descriptions TRIGger:DELay:PATtern? (Query Only) Returns all delayed pattern trigger parameters. Group Trigger Syntax TRIGger:DELay:PATtern? TRIGger Examples : : DELay PATtern ? TRIGGER:DELAY:PATTERN? might return :TRIGGER:DELAY:PATTERN:QUALIFIER LIMIT;LIMIT:WHEN MORETHAN;WIDTH 2.0E-9;:TRIGGER:DELAY:PATTERN:RANGE:WHEN INSIDE;HIGHLIMIT 2.0E-9;LOWLIMIT 2.0E-9;:TRIGGER:DELAY:PATĆ TERN:INPUT 65537,1;LOGIC AND as the current delayed pattern trigger parameters.
Command Descriptions LOW specifies that the AUX TRIGGER INPUT must be Low relative to the threshold level. X specifies that the AUX TRIGGER INPUT can be either High or Low. Examples TRIGGER:DELAY:PATTERN:AUXILIARY LOW specifies that the AUX TRIGGER INPUT must be Low to meet the Boolean requirements of the defined pattern. TRIGGER:DELAY:PATTERN:AUXILIARY? might return X, indicating the AUX TRIGGER INPUT may be either High or Low relative to the to the threshold level.
Command Descriptions TRIGGER:DELAY:PATTERN:CH14 HIGH specifies that channel 14 must be High to meet the Boolean requirements of the defined pattern for the delayed pattern trigger. Examples TRIGGER:DELAY:PATTERN:CH12? might return X, indicating that channel 12 may be either High or Low relative to the threshold level, to meet the Boolean requirements of the defined pattern for the delayed trigger.
Command Descriptions Examples TRIGGER:DELAY:PATTERN:INPUT 65535, 65535 sets all 16 channels to trigger on High input values and sets the Auxiliary Input to “Don’t Care”. TRIGGER:DELAY:PATTERN:INPUT 1, 1 sets channel 1 High and all other inputs to to “Don’t Care”. TRIGGER:DELAY:PATTERN:INPUT? might return 3,3, indicating channels 1 and 2 will trigger when their input values are High. The other channels and the Auxiliary bits are set to “Don’t Care”.
Command Descriptions TRIGger : DELay : PATtern : LIMIT LESSThan : MOREThan WHEn TIMEOut ? LESSThan specifies that the logic scope will trigger if the trigger inputs cease to meet the Boolean requirements before the specified time. Arguments MOREThan specifies that the logic scope will trigger if the trigger inputs cease to meet the Boolean requirements after the specified time.
Command Descriptions Examples TRIGGER:DELAY:PATTERN:LIMIT:WIDTH 1.0E-3 sets the time limit width to 1.0 ms. TRIGGER:DELAY:PATTERN:LIMITWIDTH? might return 2.0E–9, indicating the time limit width is 2 ns. TRIGger:DELay:PATtern:LOGIc Sets or queries the combinatorial logic pattern applied to the delayed pattern trigger.
Command Descriptions TRIGGER:DELAY:PATTERN:LOGIC AND? might return OR, indicating that the Delayed Pattern Trigger Logic is set to OR. TRIGger:DELay:PATtern:QUAlifier Sets or queries the Time Qualifier used to define when the logic scope triggers. Using this command is equivalent to selecting the time qualifier Limit or Range for the delayed pattern trigger.
Command Descriptions TRIGger : DELay Examples : PATtern : ? RANGe TRIGGER:DELAY:PATTERN:RANGE? might return :TRIGGER:DELAY:PATTERN:RANGE:WHEN INSIDE;HIGHLIMIT 2.0E-9;LOWLIMIT 2.0E-9. TRIGger:DELay:PATtern:RANge:HIGHLimit Sets or queries the upper time limit range for the range-qualified delay trigger. This command is equivalent to selecting the Upper Limit for delayed pattern triggers (range selected) as the time qualifier.
Command Descriptions Group Trigger Syntax TRIGger:DELay:PATtern:RANge:LOWLimit TRIGger:DELay:PATtern:RANge:LOWLimit? TRIGger : DELay : PATtern : : RANge LOWLimit ? is the lower limit of the range in seconds. Arguments TRIGGER:DELAY:PATTERN:RANGE:LOWLIMIT 2.5E-9 sets the lower time limit of the range to 2.5 ns. Examples TRIGGER:DELAY:PATTERN:RANGE:LOWLIMIT? might return 100.0E–9, indicating the lower time limit of the range is 100 ns.
Command Descriptions OUTRange specifies that the trigger inputs must meet the Boolean requirements of the Delayed Trigger pattern definition for a period of time that ends either before or after the user specified time range. The range is 2.0 ns to 1.0 second. Examples TRIGGER:DELAY:PATTERN:RANGE:WHEN INRANGE specifies that the channel inputs must cease to meet the Boolean requirements of the delayed trigger pattern definition within the time range defined.
Command Descriptions TRIGger : DELay : PULse : CLAss : GLItch WIDth ? Arguments GLItch initiates a trigger when a pulse of the specified polarity and width is found; works in conjunction with TRIGger:DELay:PULse:GLItch:POLarity and TRIGger:DELay:PULse:GLItch:WIDth. WIDth initiates a trigger when a pulse of the specified polarity that is either inside or outside the limits specified by TRIGger:DELay:PULse: WIDth:LOWLimit and TRIGger:DELay:PULse:WIDth:HIGHLimit is found.
Command Descriptions TRIGger:DELay:PULse:GLItch:POLarity Sets or returns the transition direction for Glitch triggers. This command is equivalent to setting polarity for delayed pulse triggers.
Command Descriptions TRIGger : DELay : PULse : GLItch LESSThan : WHEn MOREThan TIMEOut ? Arguments MOREThan specifies that triggering occurs when the width of the glitch is more than the specified time. LESSThan specifies that triggering occurs when the width of the glitch is less than the specified time. TIMEOut specifies that triggering occurs when the glitch does not occur within the specified time. Triggering occurs at the point where the specified time elapses.
Command Descriptions TRIGger : DELay : PULse GLItch : : WIDth ? Arguments Examples is the width of the glitch in seconds. TRIGGER:DELAY:PULSE:GLITCH:WIDTH 15E-6 sets the width of the glitch to 15 ms. TRIGGER:DELAY:PULSE:GLITCH:WIDTH? might return 500E-3, indicating the glitch width is 0.5 seconds. TRIGger:DELay:PULse:SOUrce Sets or queries the source for the Delayed Pulse trigger.
Command Descriptions TRIGGER:DELAY:PULSE:SOURCE? might return 8 as the delayed pulse trigger source. TRIGger:DELay:PULse:WIDth? (Query Only) Returns the width parameters for the Delayed Pulse width trigger. TRIGger Group Trigger Syntax TRIGger:DELay:PULse:Width? : DELay : PULse : WIDth ? TRIGGER:DELAY:PULSE:WIDTH? might return :TRIGGER:DELAY:PULSE:WIDTH:LOWLIMIT 2.0E-9;HIGHLIĆ MIT 2.0E-9;WHEN WITHIN;POLARITY POSITIVE as the current delayed pulse trigger parameters.
Command Descriptions Examples TRIGGER:DELAY:PULSE:WIDTH:HIGHLimit 2.0E-3 sets the delayed pulse width to 2 ms. TRIGGER:DELAY:PULSE:WIDTH:HIGHLIMIT? might return 2.0E-9, indicating the delayed pulse width is 2 ns. TRIGger:DELay:PULse:WIDth:LOWLimit Sets or queries the lower limit for the delayed pulse width trigger. Using this command is equivalent to setting the Lower Limit in the Pulse Width Trigger side menu.
Command Descriptions TRIGger:DELay:PULse:WIDth:POLarity? TRIGger : DELay : PULse : WIDth : POLarity NEGAtive POSITIVe ? NEGAtive specifies a negative pulse. Arguments POSITIVe specifies a positive pulse. TRIGGER:DELAY:PULSE:WIDTH:POLARITY POSITIVE specifies positive pulse width polarity. Examples TRIGGER:DELAY:PULSE:WIDTH:POLARITY? might return 2.0E-6, indicating the delayed pulse width is 2 ms.
Command Descriptions specified with the TRIGger:DELay:PULse:WIDth:HIGHLimit and TRIGger:DELay:PULse:WIDth:LOWLimit commands respectively. WIThin specifies a trigger when the duration of the pulse is within the high and low limits. The high and low limits are specified with the TRIGger:DELay:PULse:WIDth:HIGHLimit and TRIGger:DELay:PULse:WIDth:LOWLimit commands respectively.
Command Descriptions TRIGger : : DELay Examples SEQuence END : ? TRIGGER:DELAY:SEQUENCE:END? might return :TRIGGER:DELAY:SEQUENCE:END:LOGIC AND;INPUT 65537,2. TRIGger:DELay:SEQuence:END:AUXiliary Sets or queries the logic level expected at the rear panel connector labeled AUX TRIGGER INPUT as part of the end pattern definition for delayed sequence trigger.
Command Descriptions TRIGger:DELay:SEQuence:END:CH Sets or queries the logic level expected at the channel input as defined by Ch (part of the end pattern definition for the delay sequence trigger). Group Trigger Syntax TRIGger:DELay:SEQuence:END:CH { HIGH | LOW | X } NOTE: defines CH pattern bit to High, Low, or Don’t Care.
Command Descriptions TRIGger:DELay:SEQuence:END:INPut? TRIGger : DELay : SEQuence : : END INPut , ? Arguments is a value from 0 to 131071. The logic pattern input values of all channels and the Auxiliary Trigger input are set according to this value. The parameter is interpreted as a 17-bit binary number. Bits 1 through 16 are used to set the High or Low values of channels 1 through 16. Bit 17 is used to set the High or Low value of the Auxiliary Trigger input.
Command Descriptions Syntax TRIGger:DELay:SEQuence:END:LOGIC { AND | OR | NAND | NOR } TRIGger:DELay:SEQuence:END:LOGIC? TRIGger : DELay : : SEQuence END AND OR NAND NOR : Arguments LOGIC ? AND applies AND logic to the input channels. AND is a logic (Boolean) function in which the output is true when and only when all the inputs are true. OR applies OR logic to the input channels. OR is a logic (Boolean) function in which the output is true if any of the inputs are true.
Command Descriptions TRIGger : DELay : SEQuence : LIMIT ? TRIGGER:DELAY:SEQUENCE:LIMIT? might return :TRIGGER:DELAY:SEQUENCE:LIMIT:WHEN MORETHAN;WIDTH 2.0E-9. Examples TRIGger:DELay:SEQuence:LIMIT:WHEn Sets or queries the definition of when the Boolean requirements must cease to meet the conditions of the defined pattern to trigger the logic scope.
Command Descriptions TRIGger:DELay:SEQuence:LIMIT:WIDTH Sets or queries the time limit for the trigger width definitions of Less Than or More Than. This is equivalent to pressing Time in the delayed pattern time triggers side menu. Group Trigger Syntax TRIGger:DELay:SEQuence:LIMIT:WIDTH TRIGger:DELay:SEQuence:LIMIT:WIDTH? TRIGger : DELay : SEQuence : LIMIT : WIDth ? Arguments is the time limit from 2.0 ns to 1.0 second. Examples TRIGGER:DELAY:PATTERN:LIMIT:WIDTH 1.
Command Descriptions TRIGger : DELay : SEQuence : QUAlifier LIMIT RANge ? LIMIT specifies that there is a maximum time limit for the delayed trigger event to occur. Arguments RANge specifies that there is a range of time for the delayed trigger event to occur. Examples TRIGGER:DELAY:SEQUENCE:QUALIFIER LIMIT specifies that there is a maximum time limit for the delayed trigger event.
Command Descriptions TRIGger:DELay:SEQuence:RANge:HIGHLimit Sets or queries the value for the upper time limit of the range for the range-qualified delayed trigger. Using this command is equivalent to selecting upper limit for delayed sequence triggers with range selected as the time qualifier.
Command Descriptions TRIGger : DELay : SEQuence : RANge : LOWLimit ? is the lower time limit of the range in seconds. Arguments TRIGGER:DELAY:SEQUENCE:RANGE:LOWLIMIT 1.0E+0 sets the range lower time limit to 1 second. Examples TRIGGER:DELAY:SEQUENCE:RANGE:LOWLIMIT? might return 1, indicating the range lower time limit is set to 1 second.
Command Descriptions Examples TRIGGER:DELAY:SEQUENCE:RANGE:WHEN INRANGE specifies that the trigger inputs must meet the Inrange pattern and time definitions for trigger delay. TRIGGER:DELAY:SEQUENCE:RANGE:WHEN? might return OUTRANGE, indicating the trigger inputs are configured for the Outrange pattern and time definitions for trigger delay. TRIGger:DELay:SEQuence:STARt? (Query Only) Returns the pattern definition of the start sequence for the delayed trigger.
Command Descriptions HIGH TRIGger : : DELay SEQuence : STARt LOW X : AUXiliary ? HIGH specifies that the Aux Trigger Input must be High relative to the threshold level. Arguments LOW specifies that the Aux Trigger Input must be Low relative to the threshold level. specifies that the Aux Trigger Input can be either High or Low relative to the threshold level.
Command Descriptions Arguments HIGH specifies that the selected channel must be High relative to the threshold level. LOW specifies that the selected channel must be Low relative to the threshold level. X specifies that the selected channel can be either High or Low relative to the threshold level. Examples TRIGGER:DELAY:SEQUENCE:START:CH14 HIGH specifies that channel 14 must be High to meet the Boolean requirements of the defined start pattern for the delayed sequence trigger.
Command Descriptions as a 17-bit binary number. Bits 1 through 16 are used to set the “Don’t Care” status of channels 1 through 16. Bit 17 sets the “Don’t Care” of the Auxiliary Input. A bit value of zero will set the Boolean value to “Don’t Care” for that channel, regardless of the first parameter bit value. A bit value of 1 for a channel indicates the high or low value set by the previous parameter is used.
Command Descriptions NAND applies NAND logic to the input channels. NAND is a logic (Boolean) function in which the output of the AND function is complemented (true becomes false, and false becomes true).
Command Descriptions TRIGger:DELay:STATE:AUXiliary? HIGH LOW X TRIGger : DELay Arguments : STATE : AUXiliary ? HIGH specifies that the Aux Trigger Input must be High relative to the threshold level. LOW specifies that the Aux Trigger Input must be Low relative to the threshold level. X specifies that the Aux Trigger Input can be either High or Low relative to the threshold level.
Command Descriptions " Arguments ! specifies that the selected channel must be High relative to the threshold level as part of the logic pattern definition that triggers the logic scope. specifies that the selected channel must be Low relative to the threshold level. specifies that the selected channel can be either High or Low relative to the threshold level.
Command Descriptions AUXiliary specifies the rear panel connector labeled AUX TRIGGER INPUT as the clock source. TRIGGER:DELAY:STATE:CLOCK AUXILIARY designates the rear panel connector AUX TRIGGER INPUT as the clock source. Examples TRIGGER:DELAY:STATE:CLOCK? might return CH1 as the clock source for the delayed state trigger. TRIGger:DELay:STATE:INPut Sets or queries the logic pattern input values for all 16 channels and the Auxiliary Trigger input.
Command Descriptions Examples TRIGGER:DELAY:STATE:INPUT 65535, 65535 sets all 16 channels to trigger on High input values and sets the Auxiliary Input to “Don’t Care”. TRIGGER:DELAY:STATE:INPUT 1, 1 sets channel 1 High and all other inputs to to “Don’t Care”. TRIGGER:DELAY:STATE:INPUT? might return 3,3 indicating channels 1 and 2 will trigger when their input values are High. The other channels and the Auxiliary bits are set to “Don’t Care”.
Command Descriptions Examples TRIGGER:DELAY:STATE:LOGIC AND applies AND logic to the delay state trigger input channels. TRIGGER:DELAY:STATE:LOGIC? might return OR, indicating the logic applied to the delay state trigger inputs. TRIGger:DELay:STATE:SLOpe Sets or queries the transition edge (rising or falling) that triggers logic scope.
Command Descriptions When HORizontal:DELay:MODe is set to RUNSAfter, the delay time is set by the HORizontal:DELay:TIMe:RUNSAfter command. Group Trigger Related Commands HORizontal:DELay:MODe, HORizontal:DELay:TIMe:RUNSAfter, HORizontal:DELay:TIMe:TRIGAfter TRIGger:DELay:TIMe Syntax TRIGger:DELay:TIMe? TRIGger : DELay : TIMe ? Arguments Examples is the delay time in seconds. TRIGGER:DELAY:TIME 4E-6 sets the horizontal delay time to 4 ms.
Command Descriptions Arguments is a normal trigger. A trigger event occurs when a signal passes through a specified voltage level in a specified direction and is controlled by the TRIGger:DELay:EDGE commands. specifies that a trigger occurs when a pulse is found meeting specified conditions related to its width.
Command Descriptions ! " Arguments Examples " sets the main trigger level to half way between the minimum and maximum amplitudes of the trigger source input. Using this argument is equivalent to pressing the front panel SET LEVel TO 50% button. sets the main trigger level to 50% of the minimum and maximum values. TRIGger:MAIn:EDGE? (Query Only) Returns the trigger coupling, source, and slope for the main edge trigger.
Command Descriptions TRIGger : : MAIn EDGE : SLOpe RISe FALL ? Arguments RISe instructs the logic scope to trigger on the rising transition (positive) edge of a signal. FALL instructs the logic scope to trigger on the falling transition (negative) edge of a signal. Examples TRIGGER:MAIN:EDGE:SLOPE RISE sets the main edge trigger to occur on the rising slope. TRIGGER:MAIN:EDGE:SLOPE? might return FALL, indicating the logic scope will trigger on the falling edge a signal.
Command Descriptions specifies one of the 16 input channels as the main trigger source. specifies the AC line as the main trigger source. Examples specifies the AC line as the main edge trigger source. might return for the main edge trigger source. TRIGger:MAIn:HOLDOff? (Query Only) Returns the main trigger holdoff value.
Command Descriptions $ % # ' is from 0 to 100, and is a percentage of the holdoff range. Arguments sets the holdoff value to 10% of the holdoff range. Examples might return , indicating the main trigger holdoff value is 0%. TRIGger:MAIn:LEVel Set or queries the main trigger level. This command is equivalent to adjusting the front panel TRIGGER THRESHOLD knob.
Command Descriptions TRIGGER:MAIN:LEVEL CMOS sets the main trigger level to a preset level of 2.5 V. Examples TRIGGER:MAIN:LEVEL? might return 1.4E+0, indicating that the main edge trigger is set to 1.4 V. TRIGger:MAIn:MODe Sets or queries the main trigger mode. This command is equivalent to selecting Mode & Holdoff in the Trigger menu.
Command Descriptions ! ' $ ) '$ might return . as the current main pattern trigger parameters. Examples TRIGger:MAIn:PATtern:AUXiliary Sets or queries the Boolean requirement (a logic level of level of High, Low, or Don’t Care) for the rear panel connector labeled AUX TRIGGER INPUT. The Boolean requirements for all inputs define the logic pattern that triggers the logic scope.
Command Descriptions TRIGger:MAIn:PATtern:CH Sets or queries the Boolean requirement (a logic level of High, Low, or Don’t Care) for the selected channel. The Boolean requirements of all inputs define the logic pattern that triggers the logic scope. This command is equivalent to setting the selected channel’s bit in the Define Pattern menus found in the Pattern Trigger menu for the main trigger.
Command Descriptions TRIGger:MAIn:PATtern:INPut Sets or queries the logic pattern input values for all 16 channels and the Auxiliary Trigger input. Group Trigger Syntax TRIGger:MAIn:PATtern:INPut , NOTE: 1 High, 0 low TRIGger:MAIn:PATtern:INPut? TRIGger : MAIn : PATtern : INPut , ? Arguments is a value from 0 to 131071. The logic pattern input values of all channels and the Auxiliary Trigger input are set according to this value.
Command Descriptions TRIGger:MAIn:PATtern:LIMIT? (Query Only) Returns the main time-qualified trigger pattern parameters. Group Trigger Syntax TRIGger:MAIn:PATtern:LIMIT? TRIGger Examples : : MAIn PATtern : LIMIT ? TRIGGER:MAIN:PATTERN:LIMIT? might return :TRIGGER:MAIN:PATTERN:LIMIT:WHEN MORETHAN;WIDTH 2.0E-9. TRIGger:MAIn:PATtern:LIMIT:WHEn Sets or queries the definition of when the Boolean requirements must cease to meet the conditions of the defined pattern to trigger the logic scope.
Command Descriptions TRIGGER:MAIN:PATTERN:LIMIT:WHEN TIMEOUT instructs the logic scope to trigger, after the specified time lapse, while the trigger inputs still meet the Boolean requirements. Examples TRIGGER:MAIN:PATTERN:LIMIT:WHEN? might return TIMEOUT., indicating the logic scope will trigger following the specified time lapse, if the trigger inputs still meet the Boolean requirements.
Command Descriptions TRIGger:MAIn:PATtern:LOGIC? AND TRIGger : MAIn Arguments : PATtern : OR NAND NOR LOGIc ? AND applies AND logic to the input channels. AND is a logic (Boolean) function in which the output is true when and only when all the inputs are true. OR applies OR logic to the input channels. OR is a logic (Boolean) function in which the output is true if any of the inputs are true. Otherwise the output is false. NAND applies NAND logic to the input channels.
Command Descriptions TRIGger : : MAIn PATtern : QUAlifier LIMIT RANge ? LIMIT defines a maximum time limit for the main trigger event to occur. Arguments RANge defines a range of time for the main trigger event to occur. TRIGGER:MAIN:PATTERN:QUALIFIER RANGE specifies that the main trigger event must occur either within or outside a specified amount of time. Examples TRIGGER:MAIN:PATTERN:QUALIFIER? might return LIMIT, indicating there is a maximum time limit for the main trigger event.
Command Descriptions Group Trigger Syntax TRIGger:MAIn:PATtern:RANge:HIGHLimit TRIGger:MAIn:PATtern:RANge:HIGHLimit? TRIGger : : MAIn PATtern : RANge : HIGHLimit ? Arguments is the upper limit of the range in seconds. TRIGGER:MAIN:PATTERN:RANGE:HIGHLIMIT 6.5E-9 sets the upper limit of the range to 6.5 ns. Examples TRIGger:MAIn:PATtern:RANge:LOWLimit Sets or queries the value for the lower time limit of the range for the range-qualified main trigger.
Command Descriptions TRIGger:MAIn:PATtern:RANge:WHEn Sets or queries when the channel inputs must cease to meet the Boolean requirements of the main pattern definition to trigger the logic scope.
Command Descriptions TRIGger Examples : MAIn : PULse ? TRIGGER:MAIN:PULSE? might return :TRIGGER:MAIN:PULSE:CLASS GLITCH;SOURCE CH1; GLITCH:WIDTH 2.0E-9;WHEN LESSTHAN;POLARITY POSITIVE;:TRIGGER: MAIN:PULSE:WIDTH:LOWLIMIT 2.0E-9;HIGHLIMIT 2.0E-9;WHEN WITHIN;POLARITY POSITIVE. TRIGger:MAIn:PULse:CLAss Sets or queries the class used for main pulse triggering. This command is equivalent to selecting Glitch or Width from the main pulse trigger class menu.
Command Descriptions TRIGger:MAIn:PULse:GLItch? (Query Only) Returns the main trigger parameters for pulse glitch triggers. TRIGger Group Trigger Syntax TRIGger:MAIn:PULse:GLItch? : MAIn : : PULse GLItch ? TRIGGER:MAIN:PULSE:GLITCH? might return :TRIGGER:MAIN:PULSE:CLASS GLITCH;SOURCE CH1; GLITCH:WIDTH 2.0E-9;POLARITY POSITIVE. Examples TRIGger:MAIn:PULse:GLItch:POLarity Sets or queries the transition direction of the glitch that triggers the logic scope.
Command Descriptions TRIGGER:MAIN:PULSE:GLITCH:POLARITY? might return NEGATIVE, specifying that the polarity of the narrower glitch portion of the waveform is negative. TRIGger:MAIn:PULse:GLItch:WHEN Sets or queries the main trigger pulse glitch filter. Glitches are either filtered out or accepted using a greater-than or less-than format.
Command Descriptions Group Trigger Syntax TRIGger:MAIn:PULse:GLItch:WIDth TRIGger:MAIn:PULse:GLItch:WIDth? : TRIGger MAIn : GLItch : PULse : WIDth ? Arguments Examples is the width of the glitch in seconds. TRIGGER:MAIN:PULSE:GLITCH:WIDTH 15E-6 sets the width of the glitch to 15 ms. TRIGger:MAIn:PULse:SOUrce Sets or queries the source for the main pulse trigger. This command is equivalent to selecting the main trigger source in the main pulse Source side menu.
Command Descriptions TRIGGER:MAIN:PULSE:SOURCE CH2 selects Channel 2 as the source for the main pulse trigger. Examples TRIGGER:MAIN:PULSE:SOURCE? might return AUXILIARY, indicating that the rear panel connector labeled AUX TRIGGER INPUT is the main pulse trigger source. TRIGger:MAIn:PULse:WIDth? (Query Only) Returns the width parameters for the main pulse width trigger.
Command Descriptions TRIGger : MAIn : PULse : WIDth : HIGHLimit ? is the upper limit in seconds. Arguments TRIGGER:MAIN:PULSE:WIDTH:HIGHLIMIT 2.0E-6 sets the upper limit for the main pulse width trigger to 2.0 ms. Examples TRIGGER:MAIN:PULSE:WIDTH:HIGHLIMIT? might return 500E-3, indicating the upper limit for the main pulse width trigger is 0.5 seconds. TRIGger:MAIn:PULse:WIDth:LOWLimit Sets or queries the lower limit for the main pulse width trigger.
Command Descriptions TRIGger:MAIn:PULse:WIDth:POLarity Sets or queries the polarity for the main pulse width trigger. Using this command is equivalent to selecting the polarity in the Pulse Width Polarity side menu. Group Trigger Syntax TRIGger:MAIn:PULse:WIDth:POLarity { NEGAtive | POSITIVe } TRIGger:MAIn:PULse:WIDth:POLarity? TRIGger : MAIn : PULse : WIDth : POLarity NEGAtive POSITIVe ? Arguments NEGAtive specifies a negative pulse. POSITIVe specifies a positive pulse.
Command Descriptions TRIGger : MAIn : PULse WIDth : : OUTside WIThin WHEn Arguments ? OUTside specifies a trigger when the duration of the pulse is greater than the high limit or less than the low limit specified. The high and low limits are specified with the TRIGger:MAIn:PULse:WIDth:HIGHLimit and TRIGger:MAIn:PULse:WIDth:LOWLimit commands respectively. WIThin specifies a trigger when the duration of the pulse is within the high and low limits.
Command Descriptions TRIGger:MAIn:SEQuence:END? (Query Only) Returns the pattern definition of the end sequence for the main trigger. Group Trigger Syntax TRIGger:MAIn:SEQuence:END? TRIGger : Examples MAIn : SEQuence END : ? TRIGGER:MAIN:SEQUENCE:END? might return :TRIGGER:MAIN:SEQUENCE:END:LOGIC AND;INPUT 65537,2.
Command Descriptions specifies that the AUX TRIGGER INPUT must be High, relative to the threshold level, as part of the end pattern definition for the main sequence trigger. Examples might return , indicating that the end pattern definition for the main sequence trigger is High.
Command Descriptions TRIGger:MAIn:SEQuence:END:INPut Sets or queries the logic pattern input values for all 16 channels and the Auxiliary Trigger input. Group Trigger Syntax TRIGger:MAIn:SEQuence:END:INPut , NOTE: 1 High, 0 low TRIGger:MAIn:SEQuence:END:INPut? TRIGger : MAIn : SEQuence : INPut : END , ? Arguments is a value from 0 to 131071. The logic pattern input values of all channels and the Auxiliary Trigger input are set according to this value.
Command Descriptions TRIGger:MAIn:SEQuence:END:LOGIC Sets or queries the combinatorial logic pattern applied to the end pattern for the main sequence trigger input. Group Trigger Syntax TRIGger:MAIn:SEQuence:END:LOGIC { AND | OR | NAND | NOR } TRIGger:MAIn:SEQuence:END:LOGIC? TRIGger : MAIn : : SEQuence END AND OR NAND NOR : Arguments LOGIC ? AND applies AND logic to the input channels.
Command Descriptions TRIGger:MAIn:SEQuence:LIMit? (Query Only) Returns the limit parameters of the main sequence trigger. The limit parameters define when the trigger inputs must cease to meet the Boolean requirements to trigger the logic scope. TRIGger Group Trigger Syntax TRIGger:MAIn:SEQuence:LIMit? : MAIn Examples : SEQuence : LIMit ? TRIGGER:MAIN:SEQUENCE:LIMIT? might return :TRIGGER:MAIN:SEQUENCE:LIMIT:WHEN MORETHAN;WIDTH 2.0E-9.
Command Descriptions MOREThan specifies that the logic scope triggers if the trigger inputs cease to meet the Boolean requirements after the specified time. TIMEOut specifies that the logic scope triggers after the specified amount of time elapses and the trigger inputs still meet the Boolean requirements. TRIGGER:MAIN:SEQUENCE:LIMIT:WHEN LESSTHAN the logic scope triggers if the trigger inputs cease to meet the Boolean requirements before the specified time.
Command Descriptions TRIGger:MAIn:SEQuence:QUAlifier Sets or queries the Time Qualifier used to define when the logic scope triggers. Using this command is equivalent to selecting the time qualifier Limit or Range for the main sequence trigger. Group Trigger Syntax TRIGger:MAIn:SEQuence:QUAlifier { LIMit | RANge } TRIGger:MAIn:SEQuence:QUAlifier? TRIGger : MAIn Arguments SEQuence : : QUAlifier LIMit RANge ? LIMIT defines a maximum time limit for the main trigger event to occur.
Command Descriptions TRIGger:MAIn:SEQuence:RANge:HIGHLimit Sets or queries the value for the upper time limit of the range for the range-qualified main trigger. Using this command is equivalent to selecting Upper Limit for main sequence triggers with range selected as the time qualifier.
Command Descriptions TRIGger : : MAIn : SEQuence RANge LOWLimit : ? is the lower limit of the range in seconds. Arguments TRIGGER:MAIN:SEQUENCE:RANGE:LOWLIMIT 1.0 sets the main sequence trigger lower limit range to 2 seconds. Examples TRIGGER:MAIN:SEQUENCE:RANGE:LOWLIMIT? might return 100.0E-9, indicating the main sequence trigger lower limit range is set to 100 ns.
Command Descriptions TRIGGER:MAIN:SEQUENCE:RANGE:WHEN INRANGE specifies that the trigger inputs for the pattern definition of the main sequence trigger must end “within” the user specified time range. Examples TRIGGER:MAIN:SEQUENCE:RANGE:WHEN? might return OUTRANGE, indicating the trigger inputs for the pattern definition of the main sequence trigger must end either before or after the user specified time range.
Command Descriptions TRIGger : MAIn : SEQuence : STARt HIGH LOW X : Arguments AUXiliary ? HIGH specifies that the AUX TRIGGER INPUT must be High relative to the threshold level. LOW specifies that the AUX TRIGGER INPUT must be Low relative to the threshold level. X specifies that the AUX TRIGGER INPUT can be either High or Low relative to the threshold level.
Command Descriptions TRIGger : MAIn : SEQuence : STARt HIGH LOW X : CH ? HIGH specifies that the selected channel must be High relative to the threshold level. Arguments LOW specifies that the selected channel must be Low relative to the threshold level. X specifies that the selected channel can be either High or Low relative to the threshold level.
Command Descriptions Arguments is a value from 0 to 131071. The logic pattern input values of all channels and the Auxiliary Trigger input are set according to this value. The parameter is interpreted as a 17-bit binary number. Bits 1 through 16 are used to set the High or Low values of channels 1 through 16. Bit 17 is used to set the High or Low value of the Auxiliary Trigger input. A bit value of 1 for a channel indicates High, a bit value of zero indicates a Low.
Command Descriptions TRIGger : : MAIn : SEQuence STARt AND OR NAND NOR LOGIC : Arguments ? AND applies AND logic to the input channels. AND is a logic (Boolean) function in which the output is true when and only when all the inputs are true. OR applies OR logic to the input channels. OR is a logic (Boolean) function in which the output is true if any of the inputs are true. Otherwise the output is false. NAND applies NAND logic to the input channels.
Command Descriptions Examples TRIGGER:MAIN:STATE? might return :TRIGGER:MAIN:STATE:INPUT 65537,1;LOGIC AND;CLOCK CH1;SLOPE RISE. TRIGger:MAIn:STATE:AUXiliary Sets or queries the Boolean requirement (logic levels of High, Low, or Don’t Care) for the rear panel connector labeled AUX TRIGGER INPUT. The Boolean requirements set for all the trigger inputs define the logic pattern that triggers the logic scope.
Command Descriptions TRIGger:MAIn:STATE:CH Sets or queries the Boolean requirement (logic levels of High, Low, or Don’t Care) for the selected channel. The Boolean requirements set for all the trigger inputs define the logic pattern that triggers the logic scope.
Command Descriptions TRIGger:MAIn:STATE:CLOCk Sets or queries the channel to be used as the clock source for the main state trigger. Group Trigger Syntax TRIGger:MAIn:STATE:CLOCk { CH | AUXiliary } TRIGger:MAIn:STATE:CLOCk? TRIGger : MAIn : STATE : CLOCk CH AUXiliary ? Arguments CH specifies one of the 16 input channels as the clock source. AUXiliary specifies rear panel connector labeled AUX TRIGGER INPUT as the clock source.
Command Descriptions TRIGger : : MAIn STATE : , INPut ? Arguments is a value from 0 to 131071. The logic pattern input values of all channels and the Auxiliary Trigger input are set according to this value. The parameter is interpreted as a 17-bit binary number. Bits 1 through 16 are used to set the High or Low values of channels 1 through 16. Bit 17 is used to set the High or Low value of the Auxiliary Trigger input.
Command Descriptions AND OR NAND NOR TRIGger : MAIn Arguments : STATE : LOGIC ? AND applies AND logic to the input channels. AND is a logic (Boolean) function in which the output is true when and only when all the inputs are true. OR applies OR logic to the input channels. OR is a logic (Boolean) function in which the output is true if any of the inputs are true. Otherwise the output is false. NAND applies NAND logic to the input channels.
Command Descriptions TRIGger : MAIn STATE : : SLOpe RISing FALLing ? RISing specifies to trigger on the rising transition (positive) edge of a signal. Arguments FALLing specifies to trigger on the falling transition (negative) edge of a signal. TRIGGER:MAIN:STATE:SLOPE RISING instructs the logic scope to trigger on the rising transition edge of the signal.
Command Descriptions specifies that triggers occur when a specified pattern at the input channels meet specified Boolean and time qualifications. specifies that a trigger occurs when specified patterns at the input channels meet specified Boolean conditions at the time the clock input changes state. specifies that a trigger occurs when a sequence of two patterns exist at the input channels meeting specified Boolean and time qualifications.
Command Descriptions Examples TRIGGER:STATE? might return ARMED, indicating that pretrigger data is being acquired. TRIGger:THREShold? (Query Only) Returns the trigger thresholds for all channels; not effective for edge triggering. Group Trigger Syntax TRIGger:THREShold? TRIGger Examples : THREShold ? TRIGGER:THRESHOLD? might return :TRIGGER:THRESHOLD:CH1 0.0E+0;CH2 0.0E+0;CH3 0.0E+0;CH4 0.0E+0;CH5 0.0E+0;CH6 0.0E+0;CH7 0.0E+0;CH8 0.0E+0;CH9 0.0E+0;CH10 0.0E+0;CH11 0.0E+0;CH12 0.0E+0;CH13 0.
Command Descriptions TTL ECLPlus ECLMinus CMOS TRIGger : THREShold Arguments : CH ? TTL specifies a preset TTL level of 1.4 V. ECLPlus specifies a preset level of 3.7 V. ECLMinus specifies a preset ECL level of –1.3 V. CMOS specifies a preset level of 2.5 V. specify a new threshold in volts. Examples TRIGGER:THRESHOLD:CH4 TTL specifies TTL as the preset trigger threshold for channel 4. TRIGGER:THRESHOLD:CH7? might return 2.
Command Descriptions ECLPlus specifies a preset level of 3.7 V. ECLMinus specifies a preset ECL level of –1.3 V. CMOS specifies a preset level of 2.5 V. specify a new threshold in volts. Examples TRIGGER:THRESHOLD:GROUP3 TTL specifies TTL as the preset trigger threshold for group 3. TRIGger:THREShold:ALL (No Query Form) Sets all nonedge trigger thresholds.
Command Descriptions *TST? (Query Only) Performs a GPIB interface self-test. Group Miscellaneous Syntax Returns and is always 0. UNLock (No Query Form) Unlocks the front panel. This command is equivalent to LOCk NONe. NOTE. If the logic scope is in the Remote With Lockout State (RWLS), the UNLOCk command has no effect. For more information see the ANSI-IEEE Std. 488.1-1987 Standard Digital Interface for Programmable Instrumentation, section 2.8.3 on RL State Descriptions.
Command Descriptions VERBose Sets and queries the Verbose State controlling the length of keywords for query responses. Keywords may be both headers and arguments. This command does not affect IEEE Std 488.2-1987 Common Commands (those starting with an asterisk).
Command Descriptions Related Commands Syntax BUSY?, *OPC WAVFrm? (Query Only) Returns WFMPre? and CURVe? data for waveform(s) as specified by the DATa:SOUrce command. This command is equivalent to sending WFMPre?; CURVe?. Group Related Commands Syntax Waveform CURVe?, DATa:SOUrce, WFMPre? WFMPre? (Query Only) Returns the waveform formatting data for the first ordered waveform as specified by the DATa:SOUrce command. All channel and reference waveforms must be displayed.
Command Descriptions :WFID ;NR_PT ;PT_FMT { ENV | Y }; XUNit ;XINcr ;PT_Off ;YUNit ;YMUlt ; YOFf ;YZEro[;: WFID ;NR_PT ;PT_FMT{ ENV | Y }; XUNit;XINcr ;PT_Off ;YUNit ; YMUlt ; YOFf ;YZEro ...]. WFMPre:BIT_Nr Sets or returns the number of bits per binary waveform point (as specified by the DATa:SOUrce command) for the first ordered waveform.
Command Descriptions Related Commands Syntax DATa:ENCdg, WFMPre:BYT_Or, WFMPre:ENCdg WFMPre:BN_Fmt { RI | RP } WFMPre:BN_Fmt? RI WFMPre Arguments : RP BN_Fmt ? RI specifies signed integer data-point representation. RP specifies positive integer data-point representation. Examples WFMPRE:BN_FMT RP specifies that the binary waveform data are positive integer data-points. WFMPRE:BN_FMT? returns either RI or RP as the current waveform data format.
Command Descriptions Examples specifies there are 2 bytes per waveform data point. might return , indicating there is one byte per waveform data point. WFMPre:BYT_Or Selects or queries which byte of the binary waveform data is transmitted first during a waveform data transfer, when DATa:WIDth (or WFMPre:BYT_Nr) is set to 2.
Command Descriptions WFMPre:ENCdg Sets or queries the type of waveform encoding used when transferring data with the CURVe command. Group Related Commands Syntax Waveform DATa:ENCdg, WFMPre:BYT_Or, WFMPre:BN_Fmt WFMPre:ENCdg { ASC | BIN } WFMPre:ENCdg? ASC WFMPre Arguments : BIN ENCdg ? ASC specifies ASCII encoded curve data. BIN specifies binary encoded curve data. Examples WFMPRE:ENCDG ASC specifies that waveform data is in ASCII format.
Command Descriptions WFMPre Arguments : PT_Fmt Y ENV Y specifies a normal waveform, where one ASCII or binary data point is transmitted for each point in the waveform record. Only y values are explicitly transmitted. Absolute coordinates are given by: X n + 0 ) XINcr (n * PT_Off) Y n + YZEro ) YMUlt (y n * YOFf) ENV specifies that the waveform is transmitted as maximum and minimum point pairs. Only y values are explicitly transmitted.
Command Descriptions Examples WFMPRE:PT_OFF 1 specifies that the trigger point is the first point in the waveform record. WFMPre:YMUlt (No Query Form) Specifies the vertical scale factor for the reference waveform specified by the DATa:DESTination command. Group Waveform Syntax WFMPre:YMUlt WFMPre Arguments Examples : YMUlt is the reference waveform vertical scale factor in YUNits (usually volts), per binary data point. WFMPRE:YMULT 80.
Command Descriptions WFMPre:YZEro (No Query Form) Specifies the offset voltage for the reference waveform specified by the DATa:DESTination command. Group Waveform Syntax WFMPre:YZEro WFMPre Arguments Examples : YZEro is the offset in YUNits (usually volts). WFMPRE:YZEro 1.0 specifies that the vertical offset is 1.0 volts. Table 2–25 lists additional WFMPre arguments included for compatibility purposes. NOTE.
Command Descriptions NOTE. When returning WFMPRE: information from the logic scope, specifies the waveform source (CH or REF). The source must also be set using the DAta:SOUrce command. When sending WFMPRE: information to the scope, the specification is ignored and the reference location specified by DATa:DESTination is used instead. WFMPre:? (Query Only) Returns the waveform formatting data for first ordered waveform as specified by the DATa:SOUrce command.
Command Descriptions WFMPre::NR_Pt Sets or queries the number of points in the transmitted waveform record. This value is ignored on input. Group Waveform Related Commands DATa:DESTination Syntax Mnemonics = CH REF GROUP REFCH GROUP works on the selected channel value. Arguments Examples = 0 to the waveform record length.
Command Descriptions Syntax ! GROUP works on selected channel value. Mnemonics = CH REF GROUP REFCH Arguments specifies that the waveform is transmitted as maximum and minimum point pairs. Only y values are explicitly transmitted.
Command Descriptions WFMPre::PT_Off Selects or returns the trigger point within the waveform record. On input always defaults to the reference location specified by DATa:DESTination regardless of what is sent. Group Waveform Syntax WFMPre::PT_Off WFMPre::PT_Off? WFMPre : : PT_Off ? Mnemonics = CH REF GROUP REFCH GROUP works on the selected channel value.
Command Descriptions WFMPre::WFId? WFMPre : : WFId ? = CH REF GROUP REFCH Mnemonics GROUP works on the selected channel value. is the waveform identifier string. Arguments WFMPRE:GROUP1:WFID? might return WFMPRE:GROUP1:WFID GRP1, DC COUPLING, 1.000 VOLTS/DIV, 250.0 mS/DIV, 500 POINTS, SAMPLEMODE" , the parameters for selected channel one. Examples WFMPre::XINcr Sets or queries the horizontal sampling interval.
Command Descriptions is the horizontal sampling interval in seconds per division. Arguments WFMPRE:CH9:XINCR 50.0E-6 sets the horizontal sampling interval of channel 9 to 2.5 msec/div. Examples WFMPRE:GROUP4:XINCR? might return 5.0E-6, indicating the horizontal sampling interval of group 4 is 250.0 ms/div. WFMPre::XUNit Sets or returns the horizontal (X-axis) units of the waveform data at the time of creation. The WFMPre::XUNit command is ignored on input.
Command Descriptions WFMPre::YMUlt Sets or queries the vertical scale factor, in YUNit per unscaled data point value. On input always defaults to the reference location specified by DATa:DESTination regardless of what is sent. Group Waveform Syntax WFMPre::YMUlt WFMPre::YMUlt? WFMPre : : YMUlt ? Mnemonics = CH REF y> GROUP REFCH GROUP works on the selected channel value.
Command Descriptions WFMPre::YOFf? WFMPre : : YOFf ? = CH REF GROUP REFCH Mnemonics GROUP works on the selected channel value. is the vertical position of the waveform in digitizing levels. Arguments WFMPRE:CH2:YOFF sets the channel 2 waveform vertical offset position to 0.0. Examples WFMPRE:GROUP2:YOFF? might return 127, indicating the vertical offset position of group 2.
Command Descriptions GROUP works on the selected channel value. is "V" for volts or "VV" for volts2, and specifies the vertical units. Arguments WFMPRE:GROUP3:YUNIT V" sets the vertical units of group 3 to volts. Examples WFMPRE:CH2:YUNIT? might return "V", indicating the units for the vertical component of the channel 2 waveform data are volts. WFMPre::YZEro Sets or queries the vertical (Y-axis) offset voltage.
Command Descriptions ZOOm Resets the display to its normal state and all Zoom parameters to their factory default settings. The ZOOm query returns the current vertical and horizontal positioning and scaling of the display. This command is equivalent to selecting Reset Zoom Factors in the Zoom menu. Group Zoom Syntax ZOOm RESet ZOOm? RESet ZOOm ? Arguments Examples RESet sets the horizontal and vertical positions to zero, and the horizontal and vertical scale to one.
Command Descriptions ZOOm:HORizontal:LOCk Specifies the waveforms that the horizontal zoom parameters affect. This is equivalent to setting Horizontal Lock in the Zoom side menu. Group Zoom Syntax ZOOm:HORizontal:LOCk { ALL | LIVe | GROUP } ZOOm:HORizontal:LOCk? ALL ZOOm : HORizontal Arguments : LOCk LIVe GROUP ? ALL specifies that all live (GROUP) and Reference (Ref) waveform groups will be horizontally positioned and scaled together.
Command Descriptions ZOOm:HORizontal:POSition Syntax ZOOm:HORizontal:POSition? ZOOm : HORizontal : POSition ? is from 0 to 100, and is the percent of the waveform to the left of screen center. Arguments ZOOM:HORIZONTAL:POSITION 50 centers the waveform on the display. Examples ZOOM:HORIZONTAL:POSITION? might return 100, indicating 100% of the waveform is left of center. ZOOm:HORizontal:SCAle Sets or queries the horizontal expansion factor.
Command Descriptions ZOOm:STATE Turns Zoom mode on and off. When Zoom mode is on, the horizontal and vertical position and scale commands affect the waveform display not the acquisition. This is the only way to position and scale reference waveforms. This command is equivalent to turning Zoom on and off in the Zoom side menu. Group Zoom Syntax ZOOm:STATE { OFF | ON | } ZOOm:STATE? OFF ON ZOOm Arguments : STATE ? OFF or = 0 turns Zoom mode off.
Command Descriptions ZOOm:VERTical:POSition Sets or queries the vertical position of waveforms. Group Zoom Syntax ZOOm:VERTical:POSition ZOOm:VERTical:POSition? ZOOm : VERTical : POSition ? is the vertical position in divisions. Arguments ZOOM:VERTICAL:POSITION 1.0 sets the vertical position of waveforms to one division above the current vertical position.
Command Descriptions Examples sets the vertical expansion to two times the vertical scale. might return , indicating the vertical scale factor is one.
Status and Events
Status and Events The TLS 216 Logic Scope provides a status and event reporting system for the General Purpose Interface Bus (GPIB). This system informs you of certain significant events that occur within the logic scope. The logic scope status handling system consists of five 8-bit registers and two queues. This section describes these registers and components. It also explains how the event handling system operates and the program requests information from the logic scope.
Status and Events 7 6 5 4 3 2 1 0 PON URQ CME EXE DDE QYE RQC OPC Figure 3–1: The Standard Event Status Register (SESR) Table 3–1: SESR Bit Functions Bit Function 7 (MSB) PON (Power On). Shows that the logic scope was powered on. The completion of the diagnostic tests also sets this bit. 6 URQ (User Request). Shows that an Application menu button was pressed. 5 CME (Command Error). Shows that an error occurred while the logic scope was parsing a command or query.
Status and Events Table 3–2: SBR Bit Functions Enable Registers Bit Function 7 (MSB) Not used. 6 RQS (Request Service), obtained from a serial poll. Shows that the logic scope requests service from the GPIB controller. 6 MSS (Master Status Summary), obtained from *STB? query. Summarizes the ESB and MAV bits in the SBR. 5 ESB (Event Status Bit). Shows that status is enabled and present in the SESR. 4 MAV (Message Available). Shows that output is available in the Output Queue. 3–0 Not used.
Status and Events The Event Status Enable Register (ESER) is shown in Figure 3–4. It controls which types of events are summarized by the Event Status Bit (ESB) in the SBR. Use the *ESE command to set the bits in the ESER. Use the *ESE? query to read it. 7 6 5 4 3 2 1 0 PON URQ CME EXE DDE QYE RQC OPC Figure 3–4: The Event Status Enable Register (ESER) The Service Request Enable Register (SRER) is shown in Figure 3–5.
Status and Events Queues The logic scope status and event reporting system contains two queues: the Output Queue and the Event Queue. The Output Queue The logic scope stores query responses in the Output Queue. It empties this queue each time it receives a new command or query message after an End Of Message (EOM). The controller must read a query response before it sends the next command (or query) or it will lose responses to earlier queries. WARNING.
Status and Events Event Handling Sequence Figure 3–6 shows how to use the status and event handling system. In the explanation that follows, numbers in parentheses refer to numbers in Figure 3–6.
Status and Events When output is sent to the Output Queue, the MAV bit in the SBR is set to one (5). When a bit in the SBR is set to one and the corresponding bit in the SRER is enabled (6), the MSS bit in the SBR is set to one and a service request is generated (7). Synchronization Methods Although most GPIB commands are completed almost immediately after being received by the logic scope, some commands initiate processes requiring additional time.
Status and Events To ensure the logic scope completes waveform acquisition before taking the measurement on the acquired data, you can synchronize the program. Figure 3–8 shows the desired processing sequence. ACQUIRE:STATE ON Acquiring Waveform Data MEASUREMENT:IMMED:VALUE? Processing Time Figure 3–8: Processing Sequence With Synchronization You can use four commands to synchronize the operation of the logic scope with your application program: *WAI, BUSY?, *OPC, and *OPC?.
Status and Events processing a single command at a time. This time could be spent doing other tasks. The controller can continue to write commands to the logic scope input buffer, but the commands will not be processed by the logic scope until all operations in process are complete. If the input buffer becomes full, the controller will be unable to write more commands to the buffer. This can cause a time-out.
Status and Events *ESE commands. When the operation is complete, the OPC bit in the Standard Event Status Register (SESR) will be enabled and the Event Status Bit (ESB) in the Status Byte Register will be enabled.
Status and Events ACQUIRE:MODE NORMAL SAMPLE ACQUIRE:STOPAFTER SEQUENCE /* Enable the status registers */ DESE 1 *ESE 1 *SRE 32 /* Acquire waveform data */ ACQUIRE:STATE ON /* Set up the measurement parameters */ MEASUREMENT:IMMED:TYPE AMPLITUDE MEASUREMENT:IMMED:SOURCE CH1 /* Wait until the acquisition is complete before taking the measurement */ *OPC The Controller can now do different tasks such as talk to other devices. The SRQ, when it comes, interrupts those tasks and returns control to this task.
Status and Events Using the *OPC? Query The *OPC? query places a 1 in the Output Queue once an operation is complete. A time-out could occur if you try to read the output queue before there is any data in it.
Status and Events Messages Tables 3–3 through 3–9 list all the programming interface messages the logic scope generates in response to commands and queries. For most messages, a secondary message from the logic scope gives more detail about the cause of the error or the meaning of the message. This message is part of the message string, and is separated from the main message by a semicolon. Each message is the result of an event.
Status and Events Table 3–4: Command Error Messages — CME Bit 5 (Cont.
Status and Events Table 3–5: Execution Error Messages — EXE Bit 4 TLS 216 Programmer Manual Code Message 200 Execution error 201 Invalid while in local 202 Settings lost due to rtl 210 Trigger error 211 Trigger ignored 212 Arm ignored 220 Parameter error 221 Settings conflict 222 Data out of range 223 Too much data 224 Illegal parameter value 230 Data corrupt or stale 240 Hardware error 241 Hardware missing 242 Hardware configuration error 243 Hardware I/O device error 2
Status and Events Table 3–5: Execution Error Messages — EXE Bit 4 (Cont.
Status and Events Table 3–5: Execution Error Messages — EXE Bit 4 (Cont.
Status and Events Table 3–6 lists the device errors that can occur during logic scope operation. These errors may indicate the logic scope needs repair. Table 3–6: Device Error Messages — DDE Bit 3 Code Message 300 Device-specific error 310 System error 311 Memory error 312 PUD memory lost 313 Calibration memory lost 314 Save/recall memory lost 315 Configuration memory lost 350 Queue overflow (does not set DDE bit) Table 3–7 lists the system event messages.
Status and Events Table 3–7: System Event Messages (Cont.) Code Message 461 Bottom menu button #2 pushed (URQ bit 6 set) 462 Bottom menu button #3 pushed (URQ bit 6 set) 463 Bottom menu button #4 pushed (URQ bit 6 set) 464 Bottom menu button #5 pushed (URQ bit 6 set) 465 Bottom menu button #6 pushed (URQ bit 6 set) 466 Bottom menu button #7 pushed (URQ bit 6 set) Table 3–8 lists warning messages that do not interrupt the flow of command execution.
Status and Events Table 3–9 shows internal errors that indicate an internal fault in the logic scope.
Examples
Programming Examples The example programs illustrate methods you can use to control the logic scope from the GPIB interface. The disks that come with this manual contain listings for these programs written in Microsoft QuickC 2.5. The programs run on a PC-compatible system equipped with a Tektronix (National Instruments) GPIB board and associated drivers. For example, the programs will work with a Tektronix S3FG210 (National Instruments GPIBPCII/IIA) GPIB package. (See Figure 4–1.
Programming Examples H CURSOR — uses cursors to measure waveform parameters. H TL — a talker-listener program. Compiling and Executing the Example Programs The example programs disk contains programs written in Microsoft QuickC 2.5. The disk contains the following files. H Executable files of the programs, which are stored in the directory Programs. H Source files of the programs, which are in the directory Sources. H A Readme file in each directory, which explains how to proceed.
Programming Examples 4. Run the program by typing the program name. Compiling And Linking Your Example QuickC Programs H To run meas.exe, type: meas H To run comm.exe, type: comm H To run getgrp.exe, type: getgrp H To run cursor.exe, type: cursor H To run tl.exe, type: tl To make an executable for any example from the Sources directory, perform the following steps: 1. Install QuickC. Select the LARGE memory model. Be sure to set up your path so DOS can access the QuickC directory. 2.
Programming Examples H To compile and link tl.c, type: 7. Run the program by typing the program name.
Appendices
Appendix A: Character Charts These characters are available for the logic scope. Numbers in the lower left corners are character widths in pixels.
Appendix A: Character Charts Table A–1: Logic Scope Character Set 0 0 NUL 1 2 space 1 3 4 ? 2 Ç BW 5 6 8 9 A ` ! 7 HT LF B C D CR E F A–2 D ESC x ~ 3 ! " # $ % & ' ( ) * + , Ċ .
Appendix A: Character Charts Table A–2: ASCII & GPIB Code Chart 0 0 NUL 1 3 9 A B C D E F BS HT BEL 8 ACK 7 ENQ 6 EOT 5 ETX 4 STX SOH 2 1 LF VT FF CR SO SI KEY 2 DLE
Appendix A: Character Charts A–4 TLS 216 Programmer Manual
Appendix B: Reserved Words The following is a list of the reserved words of the digitizing oscilloscope. Do not use these words for aliases.
Appendix B: Reserved Words LABel LANdscape LASERJet LAYout LESSLimit LESSThan LEVel LFRej LIMit LINE LINES LINEAr LIVe LOCk LOG LONG LOGIc LONG LOW LOWLimit LSB MAIn MATH1 MATH2 MATH3 MAXimum MEAN MEAS1 MEAS2 MEAS3 MEAS4 MEASUrement MEG MESSage METHod MID MID2 MINImum MINMax MKDir MODe MONo MORELimit MOREThan MSB NAMe NANd B–2 NDUty NEGAtive NEGSynchwidth NEWpass NOISErej NONe NOR NORMal NOVershoot NR_Pt NTSc NUMACq NUMAVg NUMEnv NUMERic NWIdth ODD OFF OFFSet ON OR OPTion OVERAll OVERWrite PAIred PAL PAL
Appendix C: Internal Specifications This appendix describes details of the GPIB remote interface of the logic scope. Normally, you will not need this information to use the logic scope, but the information is useful when connecting to controllers of unusual configuration. GPIB Function Subsets The logic scope supports many GPIB function subsets, as listed below. Some of the listings describe subsets that the logic scope does not support. TLS 216 Programmer Manual H SH1 (Source Handshake).
Appendix C: Interface Specifications H E2 (Electrical). The logic scope uses tristate buffers to provide optimal high-speed data transfer. Interface Messages Table C–1 shows the standard interface messages that are supported by the logic scope.
Appendix D: Factory Initialization Settings Recalling the factory setup establishes the initialization settings shown in Table D–1 to provide you with a known default setup for the logic scope. Table D–1: Factory Initialization Defaults TLS 216 Programmer Manual Control Changed by Factory Init to Acquire mode Sample Acquire stop after RUN/STOP button only Acquire # of averages 16 Acquire # of envelopes 10 Cursor H Bar 1 position 10% of graticule height (–3.
Appendix D: Factory Initialization Settings Table D–1: Factory Initialization Defaults (Cont.
Appendix D: Factory Initialization Settings Table D–1: Factory Initialization Defaults (Cont.
Appendix D: Factory Initialization Settings Table D–1: Factory Initialization Defaults (Cont.) D–4 Control Changed by Factory Init to Saved setups No change Saved waveforms No change Vertical bandwidth (all groups) Full Vertical offset (all groups) 0V Vertical position (all groups) 0 divs. Vertical volts/div. (all groups) 100 mV/div. Zoom horizontal (all groups) 1.0X Zoom horizontal lock All Zoom horizontal position (all groups) 50% = 0.
Glossary and Index
Glossary ASCII Acronym for the American Standard Code for Information Interchange. Controllers transmit commands to the logic scope using ASCII character encoding. Address A 7-bit code that identifies an instrument on the communication bus. The logic scope must have a unique address for the controller to recognize and transmit commands to it. Backus-Naur Form (BNF) A standard notation system for command syntax diagrams. The syntax diagrams in this manual use BNF notation.
Glossary Glossary–2 TLS 216 Programmer Manual
Index A Abbreviating, Command, 2–4 ACQUIRE?, 2–41 ACQUIRE:MODE, 2–41 ACQUIRE:NUMACQ?, 2–42 ACQUIRE:NUMAVG, 2–43 ACQUIRE:NUMENV, 2–44 ACQUIRE:STATE, 2–45 ACQUIRE:STOPAFTER, 2–46 Acquisition command group, 2–13 Acquisition commands ACQUIRE?, 2–41 ACQUIRE:MODE, 2–41 ACQUIRE:NUMACQ?, 2–42 ACQUIRE:NUMAVG, 2–43 ACQUIRE:NUMENV, 2–44 ACQUIRE:STATE, 2–45 ACQUIRE:STOPAFTER, 2–46 Address Definition of, Glossary–1 GPIB, 4–1, 4–2, 4–3 ALIAS, 2–47 Alias command group, 2–14 Alias commands ALIAS, 2–47 ALIAS:CATALOG?, 2–47
Index CLEARMENU, 2–64 *CLS, 2–65 Command Abbreviating, 2–4 Argument, 2–2 Block argument, 2–9 Common, 2–23 Common GPIB, 2–25 Concatenating, 2–4 Header, 2–2 Message, 2–2 Mnemonic, 2–2 Query, 2–1 Separator, 2–2 Set, 2–1 Syntax, 2–1 BNF (Backus-Naur form), 2–1 Command argument Numeric, 2–8 Quoted string, 2–8 Command Descriptions, vii Command Group, 2–13 Command group Acquisition, 2–13 Alias, 2–14 Application menu, 2–14 Calibration and diagnostic, 2–15 Cursor, 2–16 Display, 2–17 File system, 2–18 Hardcopy, 2–19
Index CURSOR:PAIRED:UNITS?, 2–74 CURSOR:PAIRED:VDELTA?, 2–75 CURSOR:VBARS, 2–75 CURSOR:VBARS:BINARY?, 2–76 CURSOR:VBARS:DELTA?, 2–76 CURSOR:VBARS:POSITION, 2–77 CURSOR:VBARS:SELECT, 2–78 CURSOR:VBARS:UNITS, 2–78 Cursor position, Command mnemonic, 2–6 CURSOR?, 2–65 CURSOR:FUNCTION, 2–66 CURSOR:HBARS?, 2–67 CURSOR:HBARS:DELTA?, 2–67 CURSOR:HBARS:POSITION, 2–68 CURSOR:HBARS:SELECT, 2–68 CURSOR:HBARS:UNITS, 2–69 CURSOR:MODE, 2–70 CURSOR:PAIRED, 2–70 CURSOR:PAIRED:HDELTA?, 2–71 CURSOR:PAIRED:HPOS1?, 2–
Index DISPLAY:COLOR:PALETTE?, 2–101 DISPLAY:COLOR:PALETTE::- , 2–105 DISPLAY:COLOR:PALETTE::RESET, 2–105 DISPLAY:COLOR:PALETTE:PERSISTENCE, 2–102 DISPLAY:COLOR:PALETTE:REGULAR, 2–103 DISPLAY:COLOR:PALETTE:RESETALL, 2–104 DISPLAY:FILTER, 2–107 DISPLAY:FORMAT, 2–108 DISPLAY:GRATICULE, 2–108 DISPLAY:INTENSITY?, 2–109 DISPLAY:INTENSITY:TEXT, 2–109 DISPLAY:INTENSITY:WAVEFORM, 2–110 DISPLAY:PERSISTENCE, 2–111 DISPLAY:STYLE, 2–111 DISPLAY:TRIGBAR, 2–113 DISPLAY:TRIGT, 2–112 E
Index GRP, Command mnemonic, 2–7 GTL, C–2 H HARDCOPY, 2–136 Hardcopy command group, 2–19 Hardcopy commands HARDCOPY, 2–136 HARDCOPY:FILENAME, 2–137 HARDCOPY:FORMAT, 2–138 HARDCOPY:LAYOUT, 2–139 HARDCOPY:PALETTE, 2–140 HARDCOPY:PORT, 2–141 HARDCOPY:FILENAME, 2–137 HARDCOPY:FORMAT, 2–138 HARDCOPY:LAYOUT, 2–139 HARDCOPY:PALETTE, 2–140 HARDCOPY:PORT, 2–141 HDR, 2–142 HEADER, 2–142 Header Command, 2–2, 2–142 Included in query response, 2–142, 2–321 Horizontal command group, 2–19 Horizontal commands HORIZONT
Index MEASUREMENT:IMMED:SOURCE2, 2–168 MEASUREMENT:IMMED:TYPE, 2–169 MEASUREMENT:IMMED:UNITS?, 2–172 MEASUREMENT:IMMED:VALUE?, 2–173 MEASUREMENT:MEAS?, 2–174 MEASUREMENT:MEAS:CLOCK?, 2–174 MEASUREMENT:MEAS:CLOCK:DIRECTION, 2–175 MEASUREMENT:MEAS:CLOCK:EDGE, 2–176 MEASUREMENT:MEAS:CLOCK:SOURCE, 2–176 MEASUREMENT:MEAS:DELAY?, 2–178 MEASUREMENT:MEAS:DELAY:DIRECTION, 2–178 MEASUREMENT:MEAS:DELAY:EDGE1, 2–179 MEASUREMENT:MEAS:DELAY:EDGE2, 2–180 MEASUREMENT:MEAS:SOURCE1, 2–181 MEASU
Index MEASUREMENT:REFLEVEL:PERCENT:MID, 2–195 MEASUREMENT:REFLEVEL:PERCENT:MID2, 2–196 MEASUREMENT:SNAPSHOT, 2–196 MEAS, Command mnemonic, 2–7 MESSAGE, 2–197 Message Command, 2–2 Command terminator, 2–6 Handling, 3–1 Table of program messages, 3–13 MESSAGE:BOX, 2–197 MESSAGE:SHOW, 2–199 MESSAGE:STATE, 2–200 Messages, Status and error, vii Miscellaneous command group, 2–23 Miscellaneous commands AUTOSET, 2–58 BELL, 2–59 DATE, 2–88 *DDT, 2–89 FACTORY, 2–117 HDR, 2–142 HEADER, 2–142 *IDN?, 2–157 LOCK, 2–15
Index REF:OFFSET?, 2–210 REF:POSITION, 2–210 REF:SCALE, 2–211 REF:SELECT, 2–212 REF:VHIGH, 2–212 REF:VLOW, 2–213 REF:VOLTS?, 2–214 Reference waveform, Command mnemonic, 2–7 REF, Command mnemonic, 2–7 Register DESER, 2–91, 2–203, 3–3 ESER, 2–114, 2–203, 3–4 SBR, 2–227, 3–2 SESR, 2–65, 2–115, 2–201, 3–1 SRER, 2–203, 2–226, 3–4 Related manuals, vii REM, 2–214 Remote interface, GPIB, C–1 Reserved words, B–1 Reset Command, 2–215 Factory, 2–117 RS232 command group, 2–24 RS232 commands RS2
Index EVMSG?, 2–116 EVQTY?, 2–117 ID?, 2–156 *OPC, 2–201 *PSC, 2–203, 3–4 *RST, 2–215 *SRE, 2–226, 3–4 *STB?, 2–227, 3–2 *WAI, 2–321 Status and event handling, 3–6 Status and Events, vii *STB?, 2–227 *STB? query, 3–2 Synchronizing GPIB commands, 3–7 *OPC, 3–9 *OPC?, 3–12 *WAI, 3–8 BUSY?, 3–9 Syntax BNF (Backus-Naur form), 2–1 Command, 2–1 Diagram, 2–10 Syntax and Commands, vii T Table, programming message, 3–13 TCT, C–2 Tek Standard Codes and Formats 1989, 2–25 TEKSECURE, 2–227 TEKSecure, Glossary–1 Termi
Index TRIGGER:DELAY:SEQUENCE:RANGE:LOWLIMIT, 2–260 TRIGGER:DELAY:SEQUENCE:RANGE:WHEN, 2–261 TRIGGER:DELAY:SEQUENCE:START?, 2–262 TRIGGER:DELAY:SEQUENCE:START:AUXILIARY, 2–262 TRIGGER:DELAY:SEQUENCE:START:CH, 2–263 TRIGGER:DELAY:SEQUENCE:START:INPUT, 2–264 TRIGGER:DELAY:SEQUENCE:START:LOGIC, 2–265 TRIGGER:DELAY:STATE?, 2–266 TRIGGER:DELAY:STATE:AUXILIARY?, 2–266 TRIGGER:DELAY:STATE:CH, 2–267 TRIGGER:DELAY:STATE:CLOCK, 2–268 TRIGGER:DELAY:STATE:INPUT, 2–269 TRIGGER:DELAY:STATE:LOGIC, 2–270 TRIGGER:DELA
Index TRIGGER:DELAY:BY, 2–231 TRIGGER:DELAY:EDGE?, 2–232 TRIGGER:DELAY:EDGE:SLOPE, 2–232 TRIGGER:DELAY:EDGE:SOURCE, 2–233 TRIGGER:DELAY:EVENTS?, 2–233 TRIGGER:DELAY:EVENTS:COUNT, 2–234 TRIGGER:DELAY:PATTERN?, 2–235 TRIGGER:DELAY:PATTERN:AUXILIARY, 2–235 TRIGGER:DELAY:PATTERN:CH, 2–236 TRIGGER:DELAY:PATTERN:INPUT, 2–237 TRIGGER:DELAY:PATTERN:LIMIT?, 2–238 TRIGGER:DELAY:PATTERN:LIMIT:WHEN, 2–238 TRIGGER:DELAY:PATTERN:LIMIT:WIDTH, 2–239 TRIGGER:DELAY:PATTERN:LOGIC, 2–240 TRIGGER:DELAY:PATTERN:QUALIFIER, 2–
Index TRIGGER:MAIN:PULSE:GLITCH:POLARITY, 2–289 TRIGGER:MAIN:PULSE:GLITCH:WHEN, 2–290 TRIGGER:MAIN:PULSE:GLITCH:WIDTH, 2–290 TRIGGER:MAIN:PULSE:SOURCE, 2–291 TRIGGER:MAIN:PULSE:WIDTH?, 2–292 TRIGGER:MAIN:PULSE:WIDTH:HIGHLIMIT, 2–292 TRIGGER:MAIN:PULSE:WIDTH:LOWLIMIT, 2–293 TRIGGER:MAIN:PULSE:WIDTH:POLARITY, 2–294 TRIGGER:MAIN:PULSE:WIDTH:WHEN, 2–294 TRIGGER:MAIN:SEQUENCE?, 2–295 TRIGGER:MAIN:SEQUENCE:END?, 2–296 TRIGGER:MAIN:SEQUENCE:END:AUXILIARY, 2–296 TRIGGER:MAIN:SEQUENCE:END:CH, 2–297 TRIGGER:MAIN:
Index SELECT?, 2–223 SELECT:CONTROL, 2–224 SELECT:GROUP, 2–223 SELECT:REF, 2–224 W *WAI, 2–321 *WAI command, 3–8 Wait for operation complete, 2–321 Waveform Command mnemonic, 2–7 Data location, 2–37 Memory location, 2–37 Preamble, 2–37 Scaling, 2–38 Transferring, 2–38 Waveform command group, 2–36 Waveform commands CURVE, 2–80 DATA, 2–81 DATA:DESTINATION, 2–82 DATA:ENCDG, 2–83 DATA:SOURCE, 2–84 DATA:START, 2–85 DATA:STOP, 2–86 DATA:TARGET, 2–87 DATA:WIDTH, 2–87 WAVFRM?, 2–322 WFMPRE?, 2–322 WFMPRE:
Index WFMPRE:ZZERO, 2–329 Words, Reserved, B–1 Z ZOOM, 2–339 Zoom command group, 2–40 Zoom commands ZOOM, 2–339 ZOOM:HORIZONTAL?, 2–339 ZOOM:HORIZONTAL:LOCK, 2–340 ZOOM:HORIZONTAL:POSITION, 2–340 ZOOM:HORIZONTAL:SCALE, 2–341 Index–14 ZOOM:STATE, 2–342 ZOOM:VERTICAL?, 2–342 ZOOM:VERTICAL:POSITION, 2–343 ZOOM:VERTICAL:SCALE, 2–343 ZOOM:HORIZONTAL?, 2–339 ZOOM:HORIZONTAL:LOCK, 2–340 ZOOM:HORIZONTAL:POSITION, 2–340 ZOOM:HORIZONTAL:SCALE, 2–341 ZOOM:STATE, 2–342 ZOOM:VERTICAL?, 2–342 ZOOM:VERTICAL:POSITION,