Tektronix TLS 216 - Manuals
Tektronix TLS 216 – Manual in PDF format online.
Manuals:
Manual Tektronix TLS 216
Summary
TLS 216 Programmer Manual i Table of Contents List of Figures iii . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . List of Tables v . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Preface vii . . . . . . . . . . . ....
Table of Contents ii TLS 216 Programmer Manual Synchronization Methods 3–7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Messages 3–13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Examples Progra...
Table of Contents TLS 216 Programmer Manual iii List of Figures Figure 1–1: Interaction between the Controller and the Logic Scope 1–1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Figure 1–2: GPIB Connector Location 1–2 . . . . . . . . . . . . . . . . . . ....
Table of Contents TLS 216 Programmer Manual v List of Tables Table 2–1: BNF Symbols and Meanings 2–1 . . . . . . . . . . . . . . . . . . . . . . . . Table 2–2: Command Message Elements 2–2 . . . . . . . . . . . . . . . . . . . . . . . Table 2–3: Comparison of Header Off and On Responses 2–3 . . . . ...
Table of Contents vi TLS 216 Programmer Manual Table A–1: Logic Scope Character Set A–2 . . . . . . . . . . . . . . . . . . . . . . . . . Table A–2: ASCII & GPIB Code Chart A–3 . . . . . . . . . . . . . . . . . . . . . . . . Table C–1: Logic Scope Standard Interface Messages C–2 . . . . . . . . ...
TLS 216 Programmer Manual vii Preface This programmer manual covers the TLS 216 Logic Scope. It provides informa-tion 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 acontroller. Section 2 Sy...
TLS 216 Programmer Manual 1–1 Getting Started You can write computer programs that remotely set the TLS 216 Logic Scopefront panel controls or take measurements and read those measurements forfurther analysis or storage. Your program sends commands and queries to operate the TLSand receive measureme...
Getting Started 1–2 TLS 216 Programmer Manual GPIB Connector Port Figure 1–2: GPIB Connector Location If needed, you can stack GPIB connectors as shown in Figure 1–3. Figure 1–3: How to Stack GPIB Connectors
Getting Started TLS 216 Programmer Manual 1–3 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 devicescan share the same device address. H Do not connect more than 15 devices to any one bus. H Connect one device...
Getting Started 1–4 TLS 216 Programmer Manual You need to set the GPIB parameters of the logic scope to match the configura-tion of the bus. Once you have set these parameters, you can control the logicscope through the GPIB interface. 1. Press the UTILITY (SHIFT DISPLAY) button to display the Utili...
Getting Started TLS 216 Programmer Manual 1–5 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 Configura- tion side menu. (See Figure 1–6.) Other Communication Setups The procedure just listed configures the...
TLS 216 Programmer Manual 2–1 Command Syntax You can control the TLS 216 Logic Scope through the GPIB and RS-232-Cinterfaces using commands and queries. This section describes the syntax thesecommands and queries use. It also describes the conventions the logic scope usesto process them. The next se...
Command Syntax 2–2 TLS 216 Programmer Manual A command message is a command or query name followed by any informationthe logic scope needs to execute the command or query. Command messagesmay contain five element types, defined in Table 2–2 and shown in the examplein Figure 2–1. Table 2–2: Command M...
Command Syntax TLS 216 Programmer Manual 2–3 Commands cause the logic scope to perform a specific function or change one ofits settings. Commands have the structure: H [:]<Header>[<Space><Argument>[<Comma><Argument>]...] A command header consists of one or more mnemonic...
Command Syntax 2–4 TLS 216 Programmer Manual Clearing the Logic Scope You can clear the Output Queue and reset the logic scope to accept a newcommand or query by using the Device Clear (DCL) GPIB command. Command Entry H You can enter commands in upper or lower case. H You can precede any command wi...
Command Syntax 2–6 TLS 216 Programmer Manual This manual uses <EOM> (End of message) to represent a message terminator. Symbol Meaning <EOM> Message terminator The end-of-message terminator may be the END message (EOI assertedconcurrently with the last data byte), the ASCII code for line...
Command Syntax 2–8 TLS 216 Programmer Manual Argument Types The argument of a command may be in one of several forms. The individualdescriptions of each command tell which argument types to use with thatcommand. Many logic scope commands require numeric arguments. The syntax shows theformat that the...
Command Syntax TLS 216 Programmer Manual 2–9 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 wit...
Command Syntax 2–10 TLS 216 Programmer Manual ALIas:DEFINE SETUp1",#231AUTOSet EXECute;:SELect:REF1 ON Block Header Specifies Number of Length Digits that Follow Specifies Data Length Block Argument Figure 2–2: Block Argument Example Syntax Diagrams The syntax diagrams in this manual use the fo...
Command Syntax TLS 216 Programmer Manual 2–11 Figure 2–3: Typical Syntax Diagrams
TLS 216 Programmer Manual 2–13 Command Groups This section lists the TLS 216 Logic Scope commands in two ways. It first listscommands by functional groups. It then lists them alphabetically. (See Fig-ure 2–4.) The functional group list, with brief command descriptions, startsbelow. The alphabetical ...
Command Groups 2–14 TLS 216 Programmer Manual 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 standardcommands. This is useful when you use the same command...
Command Groups TLS 216 Programmer Manual 2–15 Table 2–6: Application Menu Commands Header Description APPMenu Display the application menu APPMenu:LABel Return or remove all application menu buttonlabels APPMenu:LABel:BOTTOM<x> Label for a bottom menu button APPMenu:LABel:RIGHT<x> Label ...
Command Groups 2–16 TLS 216 Programmer Manual Cursor Commands Cursor commands provide control over cursor (caliper) display and readout. Table 2–8: Cursor Commands Header Description CURSor? Return cursor settings CURSor:FUNCtion Cursors on or off; select cursor type CURSor:HBArs? Return H bar setti...
Command Groups TLS 216 Programmer Manual 2–17 Display Commands Display commands let you change the graticule style, change the displayedintensities, turn off waveform display, display messages, and clear the menu.When you turn off waveform display, the instrument acquires and transmitswaveforms but ...
Command Groups 2–18 TLS 216 Programmer Manual Table 2–9: Display Commands (Cont.) Header Description DISplay:STYle Set waveform dots, vector, infinite or variablepersistence DISplay:TRIGT Control display of the trigger indicator onscreen DISplay:TRIGBar Control display of the trigger bars on screen ...
Command Groups TLS 216 Programmer Manual 2–19 Hardcopy Commands Hardcopy commands let you control the format of hard copy output and theinitiation and termination of hard copies. Table 2–11: Hardcopy Commands Header Description % Start or terminate hardcopy % Select file to send hard copy data to %&...
Command Groups 2–20 TLS 216 Programmer Manual Table 2–12: Horizontal Commands (Cont.) Header Description & " Return main time/division & " Set main time base time/division & " $ Same as HORizontal:MAIn:SCAle & " Turn delay time base on or off & "" Set port...
Command Groups TLS 216 Programmer Manual 2–21 Table 2–13: Measurement Commands Header Description MEASUrement? Return all measurement parameters MEASUrement:CLEARSNapshot Remove measurement snapshot MEASUrement:GATING Set or query measurement gating MEASUrement:IMMed? Return immediate measurement pa...
Command Groups TLS 216 Programmer Manual 2–23 Miscellaneous Commands Miscellaneous commands do not fit into other categories. Several commands and queries are common to all 488.2-1987 devices on theGPIB bus. The 488.2-1987 standard defines them. They begin with a star ( * ) character. Table 2–14: Mi...
Command Groups 2–24 TLS 216 Programmer Manual 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 ...
Command Groups TLS 216 Programmer Manual 2–25 Table 2–16: Save and Recall Commands Header Description & Return number of allocated and nonallocateddata points & Return number of allocated data points:Length, First Channel, Last Channel & Return number of nonallocated data points &( !...
Command Groups 2–26 TLS 216 Programmer Manual 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 ...
Command Groups TLS 216 Programmer Manual 2–27 Table 2–18: Trigger Commands 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 ...
Command Groups 2–34 TLS 216 Programmer Manual Vertical Commands Vertical commands control the display of groups, of their channels and wave-forms, and or reference waveforms. The logic scope stores and displays waveforms in groups, which contain one ormore channels each of which can contain one wave...
Command Groups 2–36 TLS 216 Programmer Manual Waveform Group Commands Waveform commands let you transfer waveform data points to and from thelogic scope. Waveform data points are a collection of values that define awaveform. One data value usually represents one data point in the waveformrecord. Whe...
Command Groups TLS 216 Programmer Manual 2–37 The defined binary formats also specify the order in which the bytes aretransferred. The four binary formats are RIBinary, RPBinary, SRIbinary, andSRPbinary. RIBinary is signed integer where the most significant byte is transferred first,and RPBinary is ...
Command Groups 2–38 TLS 216 Programmer Manual commands starting on page 2–322 for more information about the waveformpreamble. Once you transfer the waveform data to the controller, you can convert the datapoints into voltage values for analysis using information from the waveformpreamble. The progr...
Command Groups TLS 216 Programmer Manual 2–39 Table 2–20: Waveform Commands 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 o...
Command Groups 2–40 TLS 216 Programmer Manual Table 2–20: Waveform Commands (Cont.) Header Description %%$ Set Z-axis origin offset %'" Set number of points in the curve %'"& Set number of points in the curve %'""& Set format of curve points %'" Set trigger position %'...
TLS 216 Programmer Manual 2–41 Command Descriptions You can use commands to either set instrument features or query instrumentvalues. You can use some commands to do both, some to only set and some toonly query. This manual marks set only commands with the words “No QueryForm” included with the comm...
Command Descriptions 2–44 TLS 216 Programmer Manual ACQuire:NUMEnv Sets or queries the number of waveform acquisitions comprising an envelopewaveform. Using this command is equivalent to setting the Envelope count inthe Acquisition Mode side menu. Acquisition ACQuire:MODe 0 is the number of waveform...
Command Descriptions TLS 216 Programmer Manual 2–47 ALIas Turns command aliases on or off. This command is identical to theALIas:STATE command. Alias 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 us...
Command Descriptions 2–54 TLS 216 Programmer Manual ALLOCATE:GROUP:REF2 1000 reserves 1,000 data points for REF2, specifying CH1 for first and lastchannels. ALLOCATE:GROUP:REF4 2000, 10, 14 reserves 2000 data points for reference group 4. The first channel is 10, thelast channel is 14. ALLOCATE:GROU...
Command Descriptions TLS 216 Programmer Manual 2–55 APPMenu:LABel Removes all user-defined Application menu button labels from the display. TheAPPMenu:LABel? query returns all current label settings. Application Menu APPMenu:LABel CLEar APPMenu:LABel? CLEar APPMenu : LABel ? <Space> CLEar remo...
Command Descriptions 2–56 TLS 216 Programmer Manual 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 thelabel is 1000 characters. The label is displayed in the area above the specifiedmain menu button. The la...
Command Descriptions 2–58 TLS 216 Programmer Manual ! ! ! 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 titleis 1000 characters. The APPMenu:LABel:BOTTOM<x> command on page2–56 provides information...
Command Descriptions 2–60 TLS 216 Programmer Manual Table 2–22: Commands that Affect BUSY? Response Operation Command Single sequence acquisition ACQuire:STATE ON orACQuire:STATE RUN (when ACQuire:STOPAfter is set to SEQuence) Hardcopy output HARDCopy STARt might return , indicating that the instrum...
Command Descriptions TLS 216 Programmer Manual 2–61 CH<x>? (Query Only) Returns all the vertical parameters for the specified channel. This query is onlymade available to maintain compatibility with Tektronix TDS model instru-ments. The logic scope only displays channels in user-defined groups...
Command Descriptions 2–64 TLS 216 Programmer Manual CH1:POSITION? might return -1.3E+0 , indicating that the current position of channel 1 is –1.3 divisions. CH<x>:SCAle? (Query Only) Returns the specified channel scale. This is equivalent to adjusting the front-pan-el Vertical SCALE knob. Thi...
Command Descriptions TLS 216 Programmer Manual 2–67 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. Cursor CURSor:HBArs? CURSor : HBArs ? CURSOR:HB...
Command Descriptions TLS 216 Programmer Manual 2–71 CURSor : PAIred <Space> ? 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:STARtand DATA:STOP values. CURSOR:PAIRED? might retur...
Command Descriptions TLS 216 Programmer Manual 2–75 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 absolutevalue of the first curs...
Command Descriptions TLS 216 Programmer Manual 2–79 CURSor : VBArs : UNITS ? <Space> HERtz SECOnds SECOnds specifies that the time between cursors is measured in seconds. HERtz specifies that the reciprocal of time between cursors is measured in Hertz. CURSor:VBArs:UNITS SECONDS specifies that...
Command Descriptions TLS 216 Programmer Manual 2–81 is 2 then all bytes on the bus are 2-byte pairs. Use the DATa:WIDth command to set the width. <data> is the curve data. <newline> is a single byte new linecharacter at the end of the data. See the GETGRP.C example in the accompanying di...
Command Descriptions 2–82 TLS 216 Programmer Manual 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 identificationfor storing waveform data transferred into th...
Command Descriptions 2–84 TLS 216 Programmer Manual is the same as except that the byte order is swapped, meaning that the least significant byte is transferred first. This format is usefulwhen transferring data to IBM compatible PC’s. is the same as except that the byte order is swapped, meaning th...
Command Descriptions 2–88 TLS 216 Programmer Manual DATa : WIDth ? <Space> <NR1> <NR1> = 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, thelow order byte is not transmitted. <NR1&...
Command Descriptions TLS 216 Programmer Manual 2–93 : DIAg : ? LOG RESUlt <QString> in the following format: <Status>,<Module name>[,<Status>,<Module name>...] DIAG:RESULT:LOG? might return :DIAG:RESULT:LOG "pass--Processor,pass--Display, pass--FP/Proc Interface,FAI...
Command Descriptions 2–102 TLS 216 Programmer Manual DISplay:COLOr:PALEtte? DISplay : 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...
Command Descriptions TLS 216 Programmer Manual 2–107 Hue is the wavelength of light reflected from the surface. It varies continuouslyalong 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 = cy...
Command Descriptions TLS 216 Programmer Manual 2–111 DISplay:PERSistence Sets the length of time that data points are displayed when DISplay:STYle is setto VARpersist. This affects the display only and is equivalent to setting VariablePersistence in the Display Style side menu. Display DISplay:STYle...
Command Descriptions TLS 216 Programmer Manual 2–119 FILESystem:Copy { <source file path>,<destination file path> | <source file path>,<destination directory path> | <source directory path>,<destination directory path> } <destination file path> <source fi...
Command Descriptions TLS 216 Programmer Manual 2–125 <dir> ’s are optional. If you do not specify them, the logic scope will look for the filename in the current directory. <new file path> is a quoted string defining the new name of the file. Input the file path using the form <drive&...
Command Descriptions 2–130 TLS 216 Programmer Manual GROUP <x> : HEIght ? <Space> <NR3> <NR3> 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 fivevertical divisions apart. GROUP7:HEIGHT? might re...
Command Descriptions 2–136 TLS 216 Programmer Manual HARDCopy Sends a copy of the screen display followed by an EOI, to the port specified byHARDCopy:PORT. The format and layout of the output is specified with theHARDCopy:FORMat and HARDCopy:LAYout commands. This command isequivalent to pressing the...
Command Descriptions 2–138 TLS 216 Programmer Manual 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 co...
Command Descriptions TLS 216 Programmer Manual 2–145 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 e...
Command Descriptions 2–148 TLS 216 Programmer Manual HORIZONTAL:DELAY:TIME:RUNSAFTER? might return 6.0E-6 , which indicates the delay time is set to 6.0 m S. HORizontal:DELay:TIMe:TRIGAfter Sets the delay time following a trigger before a delayed trigger is accepted. Thiscommand is equivalent to set...
Command Descriptions TLS 216 Programmer Manual 2–153 HORizontal:RECOrdlength Sets the number of data points that are acquired for each record. Using thiscommand is equivalent to setting Record Length in the Horizontal menu. Horizontal HORizontal:RECOrdlength <NR1> HORizontal:RECOrdlength? : RE...
Command Descriptions TLS 216 Programmer Manual 2–157 ID? might return TEK,TLS216,CF:92.1CT,FV:2.0 . *IDN? (Query Only) Returns the logic scope’s unique identification code. Miscellaneous ID *IDN? *IDN ? The instrument id in the following format: TEKTRONIX,<model number>,0,CF:92.1CT FV:<firm...
Command Descriptions 2–166 TLS 216 Programmer Manual MEASUrement:IMMed:DELay:EDGE1 Sets or queries the slope of the edge used for the delay “from” waveform whentaking an delay immediate measurement. (The immediate measurement is takenwithout displaying the results on screen.) Use the MEASUrement:IMM...
Command Descriptions 2–174 TLS 216 Programmer Manual MEASUrement:MEAS<x>? (Query Only) Returns all measurement parameters for the displayed measurement specified byMEAS<x>. MEAS<x> is one of the four measurements available (namedMeasurement 1 through 4), where <x> specifies 1...
Command Descriptions TLS 216 Programmer Manual 2–183 GROUP<y> specifies that the channel currently selected in group <y> is the waveform source for the measurement. The command GROUP<x>:SELECT , described on page 2–133, sets the selected channel. REF<z> specifies that the cur...
Command Descriptions TLS 216 Programmer Manual 2–197 SNAPShot MEASUrement : MEASUREMENT:SNAPSHOT invokes the measurement snapshot for the selected channel of the selectedgroup. MESSage Clears the message window. The MESSage? query returns the current messageparameters. Display MESSage CLEar MESSage?...
Command Descriptions 2–198 TLS 216 Programmer Manual 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. Th...
Command Descriptions TLS 216 Programmer Manual 2–201 NEWpass <QString> NEWpass <Space> <QString> <QString> 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 Genera...
Command Descriptions 2–202 TLS 216 Programmer Manual Table 2–24: Commands that Generate an Operation Complete Message (Cont.) Operation Command Single sequence acquisition ACQuire:STATE ON orACQuire:STATE RUN (when ACQuire:STOPAfter is set toSEQuence) Hardcopy output HARDCopy STARt PASSWord (No Quer...
Command Descriptions 2–206 TLS 216 Programmer Manual <file path> FACtory <NR1> <Space> RECAll : SETUp FACtory selects the factory setup. <NR1> 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: “...
Command Descriptions TLS 216 Programmer Manual 2–209 REF<x>:HEIght Sets or returns the display height setting (in divisions) for a specified referencegroup when set to BusForm or Timing Diagram modes. BusForm and TimingDiagram modes display waveform levels as logical HIGHS or LOWS. Settingthe ...
Command Descriptions TLS 216 Programmer Manual 2–217 RS232:HARDFlagging Sets or queries the input and output hard flagging over the RS-232 port. It usesthe RFR (Ready For Receive) and CTS (Clear To Send) lines to control datatransmission. On output, the logic scope transmits data only when CTS isass...
Command Descriptions TLS 216 Programmer Manual 2–219 : RS232 SOFTFlagging <Space> ON ? OFF <NR1> ON or<NR1> 0 turn on softflagging. OFF or<NR1> = 0 turn off softflagging. RS232:SOFTFLAGGING ON turns on soft flagging. RS232:STOPBits Sets or queries the number of transmission s...
Command Descriptions 2–222 TLS 216 Programmer Manual 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. SAVE:SETUP 5 saves the current front panel setup in memory location 5. SAVE:SETUP TE...
Command Descriptions TLS 216 Programmer Manual 2–223 SELect? (Query Only) Returns the selected waveform and the display status of all waveforms. Vertical 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 ...
Command Descriptions 2–228 TLS 216 Programmer Manual TIMe Sets or queries the logic scope time display. Miscellaneous DATE, DISplay: CLOCk TIMe <QString> TIMe? <QString> TIMe <Space> ? <QString> is a date in the form hh:mm:ss" . hh refers to the hour number from 1 to 24....
Command Descriptions TLS 216 Programmer Manual 2–229 *TRG *TRG immediately executes all commands defined by *DDT. TRIGger Forces a trigger event to occur, returns the current trigger parameters. Trigger TRIGger FORCe TRIGger? TRIGger FORCe ? <Space> FORCe creates a trigger event. If TRIGger:ST...
Command Descriptions 2–230 TLS 216 Programmer Manual 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 currentdelayed trigger parameters. Trigger TRIGger:DELay SETLevel TR...
Command Descriptions TLS 216 Programmer Manual 2–235 TRIGger:DELay:PATtern? (Query Only) Returns all delayed pattern trigger parameters. Trigger TRIGger:DELay:PATtern? : TRIGger : PATtern ? DELay TRIGGER:DELAY:PATTERN? might return :TRIGGER:DELAY:PATTERN:QUALIFIER LIMIT;LIMIT:WHEN MORETHAN;WIDTH 2.0...
Command Descriptions TLS 216 Programmer Manual 2–243 Trigger TRIGger:DELay:PATtern:RANge:LOWLimit <NR3> TRIGger:DELay:PATtern:RANge:LOWLimit? TRIGger : DELay PATtern : : RANge LOWLimit : ? <Space> <NR3> <NR3> is the lower limit of the range in seconds. TRIGGER:DELAY:PATTERN:R...
Command Descriptions 2–248 TLS 216 Programmer Manual ? <Space> <NR3> TRIGger : : PULse DELay GLItch : : WIDth <NR3> is the width of the glitch in seconds. TRIGGER:DELAY:PULSE:GLITCH:WIDTH 15E-6 sets the width of the glitch to 15 m s. TRIGGER:DELAY:PULSE:GLITCH:WIDTH? might return 5...
Command Descriptions 2–262 TLS 216 Programmer Manual TRIGGER:DELAY:SEQUENCE:RANGE:WHEN INRANGE specifies that the trigger inputs must meet the Inrange pattern and timedefinitions for trigger delay. TRIGGER:DELAY:SEQUENCE:RANGE:WHEN? might return OUTRANGE , indicating the trigger inputs are configure...
Command Descriptions 2–278 TLS 216 Programmer Manual TRIGGER:MAIN:LEVEL CMOS sets the main trigger level to a preset level of 2.5 V. 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 ...
Command Descriptions TLS 216 Programmer Manual 2–283 TRIGGER:MAIN:PATTERN:LIMIT:WHEN TIMEOUT instructs the logic scope to trigger, after the specified time lapse, while thetrigger inputs still meet the Boolean requirements. TRIGGER:MAIN:PATTERN:LIMIT:WHEN? might return TIMEOUT ., indicating the logi...
Command Descriptions 2–292 TLS 216 Programmer Manual TRIGGER:MAIN:PULSE:SOURCE CH2 selects Channel 2 as the source for the main pulse trigger. TRIGGER:MAIN:PULSE:SOURCE? might return AUXILIARY , indicating that the rear panel connector labeled AUX TRIGGER INPUT is the main pulse trigger source. TRIG...
Command Descriptions 2–300 TLS 216 Programmer Manual TRIGger:MAIn:SEQuence:LIMit? (Query Only) Returns the limit parameters of the main sequence trigger. The limit parametersdefine when the trigger inputs must cease to meet the Boolean requirements totrigger the logic scope. Trigger TRIGger:MAIn:SEQ...
Command Descriptions TLS 216 Programmer Manual 2–317 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. Trigger TRIGger:THREShold? THREShold TRIGger...
Command Descriptions TLS 216 Programmer Manual 2–321 VERBose Sets and queries the Verbose State controlling the length of keywords for queryresponses. Keywords may be both headers and arguments. This command doesnot affect IEEE Std 488.2-1987 Common Commands (those starting with anasterisk). Miscell...
Command Descriptions 2–324 TLS 216 Programmer Manual DATa:ENCdg, WFMPre:BYT_Or, WFMPre:ENCdg WFMPre:BN_Fmt { RI | RP } WFMPre:BN_Fmt? WFMPre <Space> ? RI : BN_Fmt RP RI specifies signed integer data-point representation. RP specifies positive integer data-point representation. WFMPRE:BN_FMT RP...
Command Descriptions 2–326 TLS 216 Programmer Manual WFMPre:ENCdg Sets or queries the type of waveform encoding used when transferring data withthe CURVe command. Waveform DATa:ENCdg, WFMPre:BYT_Or, WFMPre:BN_Fmt WFMPre:ENCdg { ASC | BIN } WFMPre:ENCdg? WFMPre <Space> ? ASC : ENCdg BIN ASC spe...
Command Descriptions TLS 216 Programmer Manual 2–327 ENV WFMPre <Space> : PT_Fmt Y 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 explicitlytransmitted. Absolute coordinates are given by: X n + 0 ) XIN...
Command Descriptions TLS 216 Programmer Manual 2–329 WFMPre:YZEro (No Query Form) Specifies the offset voltage for the reference waveform specified by theDATa:DESTination command. Waveform WFMPre:YZEro <NR3> WFMPre : YZEro <Space> <NR3> <NR3> is the offset in YUNits (usually ...
Command Descriptions TLS 216 Programmer Manual 2–339 ZOOm Resets the display to its normal state and all Zoom parameters to their factorydefault settings. The ZOOm query returns the current vertical and horizontalpositioning and scaling of the display. This command is equivalent to selectingReset Zo...
TLS 216 Programmer Manual 3–1 Status and Events The TLS 216 Logic Scope provides a status and event reporting system for theGeneral Purpose Interface Bus (GPIB). This system informs you of certainsignificant events that occur within the logic scope. The logic scope status handling system consists of...
Status and Events 3–2 TLS 216 Programmer Manual PON URQ CME EXE DDE QYE RQC OPC 7 6 5 4 3 2 1 0 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. Thecompletion of the diagnostic tests al...
Status and Events TLS 216 Programmer Manual 3–3 Table 3–2: SBR Bit Functions Bit Function 7 (MSB) Not used. 6 RQS (Request Service), obtained from a serial poll. Shows that the logicscope requests service from the GPIB controller. 6 MSS (Master Status Summary), obtained from *STB? query. Summarizest...
Status and Events 3–4 TLS 216 Programmer Manual 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 toread it. PON URQ CME EXE ...
Status and Events TLS 216 Programmer Manual 3–5 Queues The logic scope status and event reporting system contains two queues: theOutput Queue and the Event Queue. The logic scope stores query responses in the Output Queue. It empties thisqueue each time it receives a new command or query message aft...
Status and Events 3–6 TLS 216 Programmer Manual Event Handling Sequence Figure 3–6 shows how to use the status and event handling system. In theexplanation that follows, numbers in parentheses refer to numbers in Figure 3–6. Device Event Status Enable Register (DESER) Read using DESE?Write using DES...
Status and Events TLS 216 Programmer Manual 3–7 When output is sent to the Output Queue, the MAV bit in the SBR is set toone (5). When a bit in the SBR is set to one and the corresponding bit in the SRER isenabled (6), the MSS bit in the SBR is set to one and a service request isgenerated (7). Synch...
Status and Events 3–8 TLS 216 Programmer Manual To ensure the logic scope completes waveform acquisition before taking themeasurement on the acquired data, you can synchronize the program. Figure 3–8shows the desired processing sequence. MEASUREMENT:IMMED:VALUE? Processing Time Acquiring Waveform Da...
Status and Events TLS 216 Programmer Manual 3–9 processing a single command at a time. This time could be spent doing othertasks. 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 inprocess are...
Status and Events 3–10 TLS 216 Programmer Manual *ESE commands. When the operation is complete, the OPC bit in the StandardEvent Status Register (SESR) will be enabled and the Event Status Bit (ESB) inthe Status Byte Register will be enabled. The same command sequence using the *OPC command for sync...
Status and Events TLS 216 Programmer Manual 3–13 Messages Tables 3–3 through 3–9 list all the programming interface messages the logicscope generates in response to commands and queries. For most messages, a secondary message from the logic scope gives more detailabout the cause of the error or the ...
Status and Events TLS 216 Programmer Manual 3–15 Table 3–5: Execution Error Messages — EXE Bit 4 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 ra...
Status and Events 3–18 TLS 216 Programmer Manual 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 ...
Status and Events 3–20 TLS 216 Programmer Manual Table 3–9 shows internal errors that indicate an internal fault in the logic scope. Table 3–9: Internal Warning Messages Code Message 600 Internal warning 620 Internal warning, Bad thermistor 630 Internal warning, 50 W overload
TLS 216 Programmer Manual 4–1 Programming Examples The example programs illustrate methods you can use to control the logic scopefrom the GPIB interface. The disks that come with this manual contain listingsfor these programs written in Microsoft QuickC 2.5. The programs run on a PC-compatible syste...
Programming Examples 4–2 TLS 216 Programmer Manual 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....
Programming Examples TLS 216 Programmer Manual 4–3 4. Run the program by typing the program name. 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 ...
Programming Examples 4–4 TLS 216 Programmer Manual H To compile and link tl.c, type: 7. Run the program by typing the program name. H To run meas, type: H To run comm, type: H To run getgrp, type: H To run cursor, type: H To run tl, type:
Appendix A: Character Charts TLS 216 Programmer Manual A–3 Table A–2: ASCII & GPIB Code Chart 0 1 2 3 4 5 6 7 0 NUL DLE SP 0 @ P ` p 1 SOH DC1 ! 1 A Q a q 2 STX DC2 " 2 B R b r 3 ETX DC3 # 3 C S c s 4 EOT DC4 $ 4 D T d t 5 ENQ NAK % 5 E U e u 6 ACK SYN & 6 F V f v 7 BEL ETB ' 7 G W g w 8...
TLS 216 Programmer Manual B–1 Appendix B: Reserved Words The following is a list of the reserved words of the digitizing oscilloscope. Donot use these words for aliases. *CAL*CLS*DDT*ESE*ESR*IDN*LRN*OPC*PSC*PUD*RCL*RST*SAV*SRE*STB*TRG*TST*WAIABOrtABSoluteACACCeptACQuireACQUISitionACTivateALIasALLALL...
TLS 216 Programmer Manual C–1 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 theinformation is useful when connecting to controllers of unusual configuration....
Appendix C: Interface Specifications C–2 TLS 216 Programmer Manual H E2 (Electrical). The logic scope uses tristate buffers to provide optimalhigh-speed data transfer. Interface Messages Table C–1 shows the standard interface messages that are supported by the logicscope. Table C–1: Logic Scope Stan...
TLS 216 Programmer Manual D–1 Appendix D: Factory Initialization Settings Recalling the factory setup establishes the initialization settings shown inTable D–1 to provide you with a known default setup for the logic scope. Table D–1: Factory Initialization Defaults Control Changed by Factory Init to...
TLS 216 Programmer Manual Glossary–1 Glossary ASCII Acronym for the American Standard Code for Information Interchange.Controllers transmit commands to the logic scope using ASCII characterencoding. Address A 7-bit code that identifies an instrument on the communication bus. Thelogic scope must have...
TLS 216 Programmer Manual Index–1 Index A Abbreviating, Command, 2–4ACQUIRE?, 2–41ACQUIRE:MODE, 2–41ACQUIRE:NUMACQ?, 2–42ACQUIRE:NUMAVG, 2–43ACQUIRE:NUMENV, 2–44ACQUIRE:STATE, 2–45ACQUIRE:STOPAFTER, 2–46Acquisition command group, 2–13Acquisition commands ACQUIRE?, 2–41ACQUIRE:MODE, 2–41ACQUIRE:NUMAC...
Index Index–2 TLS 216 Programmer Manual CLEARMENU, 2–64*CLS, 2–65Command Abbreviating, 2–4Argument, 2–2Block argument, 2–9Common, 2–23Common GPIB, 2–25Concatenating, 2–4Header, 2–2Message, 2–2Mnemonic, 2–2Query, 2–1Separator, 2–2Set, 2–1Syntax, 2–1 BNF (Backus-Naur form), 2–1 Command argument Numeri...
Index TLS 216 Programmer Manual Index–3 CURSOR:PAIRED:UNITS?, 2–74CURSOR:PAIRED:VDELTA?, 2–75CURSOR:VBARS, 2–75CURSOR:VBARS:BINARY<x>?, 2–76CURSOR:VBARS:DELTA?, 2–76CURSOR:VBARS:POSITION<x>, 2–77CURSOR:VBARS:SELECT, 2–78CURSOR:VBARS:UNITS, 2–78 Cursor position, Command mnemonic, 2–6CURSO...
Index Index–4 TLS 216 Programmer Manual DISPLAY:COLOR:PALETTE?, 2–101DISPLAY:COLOR:PALETTE:<palette name>:<item name>, 2–105 DISPLAY:COLOR:PALETTE:<palette name>:RESET, 2–105 DISPLAY:COLOR:PALETTE:PERSISTENCE, 2–102DISPLAY:COLOR:PALETTE:REGULAR, 2–103DISPLAY:COLOR:PALETTE:RESETALL,...
Index TLS 216 Programmer Manual Index–5 GRP<x>, Command mnemonic, 2–7GTL, C–2 H HARDCOPY, 2–136Hardcopy command group, 2–19Hardcopy commands HARDCOPY, 2–136HARDCOPY:FILENAME, 2–137HARDCOPY:FORMAT, 2–138HARDCOPY:LAYOUT, 2–139HARDCOPY:PALETTE, 2–140HARDCOPY:PORT, 2–141 HARDCOPY:FILENAME, 2–137HA...
Index Index–6 TLS 216 Programmer Manual MEASUREMENT:IMMED:SOURCE2, 2–168MEASUREMENT:IMMED:TYPE, 2–169MEASUREMENT:IMMED:UNITS?, 2–172MEASUREMENT:IMMED:VALUE?, 2–173MEASUREMENT:MEAS<x>?, 2–174MEASUREMENT:MEAS<x>:CLOCK?, 2–174MEASUREMENT:MEAS<x>:CLOCK:DIREC- TION, 2–175 MEASUREMENT:ME...
Index TLS 216 Programmer Manual Index–7 MEASUREMENT:REFLEVEL:PERCENT:MID, 2–195 MEASUREMENT:REFLEVEL:PERCENT:MID2, 2–196 MEASUREMENT:SNAPSHOT, 2–196MEAS<x>, Command mnemonic, 2–7MESSAGE, 2–197Message Command, 2–2Command terminator, 2–6Handling, 3–1Table of program messages, 3–13 MESSAGE:BOX, 2...
Index Index–8 TLS 216 Programmer Manual REF<x>:OFFSET?, 2–210REF<x>:POSITION, 2–210REF<x>:SCALE, 2–211REF<x>:SELECT, 2–212REF<x>:VHIGH, 2–212REF<x>:VLOW, 2–213REF<x>:VOLTS?, 2–214Reference waveform, Command mnemonic, 2–7REF<x>, Command mnemonic, 2–7Reg...
Index TLS 216 Programmer Manual Index–9 EVMSG?, 2–116EVQTY?, 2–117ID?, 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–6Status and Events, vii*STB?, 2–227*STB? query, 3–2Synchronizing GPIB commands, 3–7 *OPC, 3–9*OPC?, 3–12*WAI, 3–...
Tektronix Manuals
-
Tektronix SG 5010
Manual
-
Tektronix Z340LTA
Manual
-
Tektronix 7834
Manual
-
Tektronix 070-9180-01
Manual
-
Tektronix 11403A
Manual
-
Tektronix 550
Manual
-
Tektronix ps 501
Manual
-
Tektronix CSA 803A
Manual
-
Tektronix P6015
Manual
-
Tektronix 016-1249-00
Manual
-
Tektronix SG 505
Manual
-
Tektronix 016-1414-00
Manual
-
Tektronix AM700
Manual
-
Tektronix 016-1335-00
Manual
-
Tektronix 1705A
Manual
-
Tektronix 784A
Manual
-
Tektronix 2445
Manual
-
Tektronix TLA7XXX
Manual
-
Tektronix 524A
Manual
-
Tektronix 016-1341-00
Manual