You are on page 1of 304
Autoranging CombiScope” Instrument PM33704-PM3380A-PM3390A, PM3382A-PM3384A-PM33924-PM3394A, SCPI Users Manual 950601 FLUKE. TRADEMARKS Microsot, and Microsoft QuickBASIC are trademarks of Microsott Corporation, IBM isa registered trademark of Intemational Business Machines Corporation. CombiScope™is a trademark of Fluke Corporation POI isa trademark o National Instruments Corporation HPGL is a trademark of Hewlett-Packard Company. © 1894, 1995 Fiuke Corporation All rights reserved. No part ofthis publication may be reproduced by any means or in any form without walten permission of the copyright owner. Printed in The Netheriands CONTENTS 4 ABOUT THIS MANUAL 1.1 What this Manual Contains 2 GETTING STARTED WITH SCPi PROGRAMMING 24. Preparations for SCPI Programming 24.1 System setup 2.1.2 Programming environment 2.2 Initializing the CombiScope instrument 2.2.1 How to reset the CombiScope instrument 2.2.2 How to identily the CombiScope instrurment 22.3 How to switch between digital and analog mode 2.8. Error Reporting 2.4 Acquiring Traces 2.4.1 How to acquire a single shot trace 24.2 How to acquire repetitive traces 28 Meesuring Signal Characteristics 2.5.1 How to make a single shot measurement 2.52 How to make repeated measurements 3 USING THE COMBISCOPE INSTRUMENTS 3.1 Introduction 3.2 Fundamental Programming Concepts 3.2.1 Measurement instructions 5.22 Single function programming using the Instrument mode 323. Instrument setup 3.2.4 Frontpane! simulation in Page 4 29 210 210 a4 33 34 35 36 37 38 Measuring Signal Characte 3.1. The MEASure? query 332 Benelits of using parameters 333. Waveform measurements 3.34 Customizing settings 335 Multiple measurements 3.36 Multiple characteristics from a single acauisiton, 3.37 Trigger control via GPIB - 33.8 Felching characierstis trom memory traces ios Acquisition 3.41 Acquisition contro! 3414 Tiggering S412 Video triggering 3.413 The trigger modes 34.14 Pree and post-tiggering 34.1.5 Extemal iiggering 3.42. Reading trace acquisitions 3421 — Single-shot acquisition 3422 — Repetitive acquisitions 8.43 Conversion of trace data 343.1 Conversion of &-bit sarmples to integer 3432 Conversion of 16-bit samples to integer 3.433 Conversion fo voltage values Averaging Acquisition Data Channel Selection Signal Conditioning 87-1 AC/DC/ground coupling 3.72 Input itering 8.78 Input impedance 37.4 Input polarity 37.5 Vertical range and offset, 87.6 Autoranging attenuators Time Base Control 3.8.1 Number of samples 3.82 Time base speed 383 Real time acquisition 384 Autoranging time base 38 38 20 sat 313 ata 245 316 B17 a8 318 3.23 3.25 327 328 3.29 3-90 3-90 33t 392 3-33 3-86 3-38 3-39 3-39 3-40 3-40 3-40 Bat 3-42 342 342 B43 aaa 3.9 Post Processing 3.9.1 How to do post processing 3.95.1 Select the source far the post processing function 3.9.1.2 Specify the settings ofthe post processing function. 3.9.1.3 Enable the post processing function. 3.9.1.4 Check the result of the post processing function. 382. Mathematical calculations 3.9.3. Differentiating and integrating traces 3.9.4 Frequency domain transformations: 3.9.5. Histogram functions 2.96 Frequency fitering 3.40 Trace Memory 3.10.1 Trace formatting 3.10.2 Copying races to memory 3.10.3 Writing data to trace memory 3.10.4 Reading data rom trace memory 3.11 Sereen/Display Functions 3.11.1 Brightness contro! 3.11.2 Display functions 11.2.1 Readout of measurement data 3.1122. Display of user-defined text 3.1123. Selection of softkey menus 2.12 PrintPIot Functions 3.13 Real-Time Clock 8.14 Auto Calibration 3.18 Status Reporting 3.18.1 Status data for the CombiScope instruments 3.18.11 Operation status dala 3.15.1.2 Questionable status data 3.15.2 How to reset the status data 3.15.3 How to enable status reporting 3.15.3.1 Program example using the status byte (STB) 3.15.32 Program example using a service request (SRQ) 3.15.4 How to ceport errors 3.15.41 Errorreporting routine 3.15.42. Erorreporting using the SRQ mechanism 345 348 345 346 246 347 348 348. 249 358 355 356 357 358 358 3-60 361 368 268 370 370 S71 372 373 37a 374 378 3-76 3-76 377 3.16 Saving/Restoring Instrument Setups 378 3.16.1 How to restore iil settings 276 3.16.2 How to save/restore a setup via inetument memory |... 378 3.16.3 How to saveirestore a setup via the GPIB contoler 3.17 Front Pane! Simulation 279 3.17.1 How to simulate the pressing of front panel key 379 3.17.2 How to simulate the operation ofa sotkey mens 380 3.18 Functions not Direetly Programmable 381 4 COMMAND REFERENCE a 4.1 Notation Conventions 4 4.4.1 Syntax specication notations al 442 Data iypes 43 42, Command Summary 4s 4.3 Command Deseri 419 A APPLICATION PROGRAM EXAMPLES At Aa Measuring Signal Characteristics a2 All. Making automatic measuremenis ..... 0... 2 AT2 Making programmed measurements a A119. Reading measurement values a 2 Acquiring Wavetorm Traces aS A. Saving/Recalling instrument Setups As [3.1 Savairecall settings torom internal mamory va 832. Savoirecall setngstorom compuler isk memory -- AL? ‘AA Making a Hardcopy ofthe Sereen ag AS Pass/Fail Testing Ato AS.1. Saving a passa test setup Ato 52. Restoring a passa fest setup at ASS. Running a passial est Anz B CROSS REFERENCES B.1 Cross Reference Front Panel Keys / Commands B.2 Cross Reterence Sottkey Menus / Commands 8.2.1 ACQUIRE menu B22 CURSORS menu B25 DISPLAY menu... B24 MATHPLUS MATH menu B25 MEASURE menu B26 DTS (DEU'D TB) menu B27 SAVE/RECALL menu B28 SETUPS menu 8.29 TBMODE menu 82.10 TRIGGER menu 82.11 UTILITY mens 52.12 VERTICAL menu B.3_Cross Reference Functions / Commands © MANUAL CONVENTIONS ©.1 Abbreviations Used €.2 Glossary of Symbols Used ©. Listof Tables C4. List of Figures 5 Documents Referenced D STANDARDS INFORMATION D.1_ SCPI Conformance Information D.2_ List of Implemented IEEE-488.2 Syntactical Elements — SUMMARY OF SYSTEM SETTINGS 83 BS Ba BS 86 Bo Bs B10 B10 Bat B12 Bag B16 Ba Dt D2 Et CONTENTS vil 1 ABOUT THIS MANUAL ‘The SCPI Programming Manual for the CombiScope™ instruments deserves: how to program your CombiScope"™ instrument via the IEEE bus using SCPI commands. 1.1. What this Manual Contains A-complete table of contents is given at the beginning of the manual Chapter 1 ABOUT THIS MANUAL Explains what the SCP! programming manual for the CombiScopes instruments contains. Chapter 2 GETTING STARTED WITH SCPI PROGRAMMING. ‘Tels you howe got stared quicky with your CombiScape instrument. ‘You can execute the prograin examples per (subsection or trom the boginning untl the end. Chapter USING THE COMBISCOPE INSTRUMENTS Explains how SCPI works for your CombiScope instrument trom ‘the functional point of view. Section 3.1 is an introduction and section 3.2 explains the fundamental programming concepts. The ‘ther sections and subsections represent the functional use of your ‘CombiScope instiument. Chapter 4 COMMAND REFERENCE Is @ completo alphabetical reference of ali implemented SCP! commands. In the Beginning a command summary is given to provide you with a quick reterence, Appendix A Appendix B ‘Appendix C ‘Appendix D Appendix E ABOUT THIS MANUAL APPLICATION PROGRAM EXAMPLES Appendix A describes some application program examples. The application programs ere supplied on floppy. CROSS REFERENCES Appendix 8 gives cross references between SCPI commands and front panel keys, softkey menu options, and instrument functions. MANUAL CONVENTIONS. ‘Appendix C explains which abbreviations and symbols are used in the manual. it also gives a ist ofthe tables, figures, and documents rolerenced STANDARDS INFORMATION Appenclx D gives information regarding SCP! and IEEE-488.2 standards, SUMMARY OF SYSTEM SETTINGS. Appendix E lists the system sattings per functional group (nada), plus the applicable instrument settings per node, A {ull alphabetical index is given at tho ond of the manual GETTING -ARTED WITH SCP] PROGRAMMIN¢ 2 GETTING STARTED WITH SCPI PROGRAMMING 24. Preparations for SCPI Programming ‘To program your CombiScope instrument, you need a system setup and a programming environment. Various program examples (refer to PROGRAM EXAMPLE!) aro given in the folowing sections, These program exampies can be ‘executed one at a time or chained together for a compete tutorial. The program examples are based on the system and programming environment as described below. Note: All PROGRAM EXAMPLE’s in this chapter are supplied on floppy under the fle name EXGETSTA BAS. They are chained logether in order of appearance. 244 System setup (© Tho CombiScope instrument contains @ factory-installed JEEE option. © APC is used as controller. In the PC an IEEE-488.2 interface (GPIB) board must be installed to tur the PC into a GPIB controler, The GPIB controller ‘must be connected to the CombiScope instrument via an IEEE cable. Note: The program examples throughout this manual have been executed ‘on an IBM-compatible PC with the GPIB interface board and ‘software ofthe product PM2201/03 installed. The PM2201 board is equivalent fo the PCIIA board from National instruments 2.1.2 Programming environment (© MS-QuickBASIC is used 2s the programming language. © Aqumber cf standard IEEE~288.2 drivers are used to control the CombiScope instrument vie the GPIB. These drivers must be included in the application program. Therefore, the fist statement of an application program must bs as follows: REM SINCLUDE: ' QBDECL.BAS’ Note: The program examples throughout this manual hava been executed using the /EEE-488,2 orivers and the device handler GPIB.COM of the product PM2201/03. 2-2 GETTING STARTED WITH SCPI PROGRAMMING. ‘The parameters of those drivers are defined by the device handler GPIB.COM ‘and by the QuickBASIC program code. The following drivers and parameters ate used in tho program examples: (© The IEEE-488.2 driver "Send!" is used to send @ command or query to en instrument. CALL Send (, caddrese>, , ) (© The JEEE-488.2 crivor “SondSotup* is used to prepare one or more devices to receive date bytes. The controller becomes taiker and the device becomes ‘stoner. CALL Sendsetup (, ) (© The IEEE-488.2 diver “SendDataBytes' is used 10 send data bytes from a talking controlir to a istening deve. CALL Sendbatanytes (cboard>, , ) (© The IEEE-488.2 driver "ReceWve' is used to read a response string from an instrument ALU Receive (,
, , ) © The IEEE-488.2 driver Intortace board. ‘CALL IbINO (, } yTMO" is used to specity a time out period for the Explanation of the parameters used in the IEEE-488.2 drivers: © boards IEEE board identiication inside the PC (default board address = 0), © caddress> IEEE instrument address (default CombiScope instrument address = 8), © Array containing GPIB device addresses, terminated by the constant -f (FFFF hex.) © command or query string to be gent tothe insttument. The “short form’ commands are specitied in UPPER CASE. The ‘aditional characters in lower case complete tha "ong form” ‘commands. © ‘One or more data characters to be sent to the listener device, GETTING STARTED WITH SPI PROGRAMMING 2-38 (© A response string sent by the Instrument as a response to aquery. © ‘An ‘end ot text inlcation: (0 = program message to be continued (no action} += end of program message (sends End-message + EO! true) © aterm ‘A terminate indication: (= response message to be continued (no detection of EOL characte £256 ~ end of response message (slops reading after EOL, charactor) © timeouts A time out indication, e.g. 1 14 10 seconds, 1 second, 4 8 seconds, PROGRAM EXAMPLE ogram statanence \pe-apibUURadriviQEDECL. BAS’ ecwee GPIB Arve arse ron PC scor ears na OI eos ey Ses ie outa 10 scons PROGRAMMING NOTE: ‘Tho variable IBGNT%2 contains the number of response bytes (including NL) after reading a responee massage using the Recewve driver 2:4 GETTING STARTED WITH SCPI PROGRAMMING. 2.2 Initializing the CombiScope Instrument 22.1 How to reset the CombiScope instrument ‘The instrument itself can be reset by sending the *RST command. This sets the Instrument to a feed Setup optimized for remote operation. The status and etror {datz of the instrument can be cleared by sanding the *CLS command. PROGRAM EXAMPLE: vReaet the Snetrment and closr the Gata: L Seaato 1) Besos tbe mstunent sol Send! 2) ‘Gaara sas aaa 222 How to identity the CombiScope instrument ‘The identity of the instrument can be queried by sending the *IDN? query, followed by reading the instrument response message. The options of the Instrument can be queried by sending the «OPT? query, followed by reading the Instrument response message. PROGRAM EXAMPLE: CALL Send ques dentiiecton CAL Receive (0 ends ne cet sting dae Pins eid ting. Send 10 Requests for ontons Receive (0, 3, resp "Reads te ops sing ‘options: ";" BBFTSixesponses, TBCNT3) Piste opto sing 223 How to switch between digital and analog mode After power on, a CombiScope instrument can be either in the digital or analog mode. Afiara *RST command the digital mode Is selected. The INSTrument sub- system allows you to switch between the two modes. This can be done by speci- ‘ying @ predefined name (DIGital, ANALogi or the corresponding number (1 = digital, 2 = analog) PROGRAM EXAMPLE: 1) Suthesto arlog made sot 1, a) “Suleesteck edits mods GETTING STARTED WITH SCP] PROGRAMMING 2.3 Error Reporting Instrument errors are usually caused by programrning oF setting errors. They are reported by the instrument curing the execution of each command. To make sure that @ program is running properly, you must quory tho instrument for possible et- rors atier every functional command. This is done by sending the ‘SYSTem:ERRor? quory or the STATus:QUEUe? query to the instrument; folowad by reading the response message. However, through this practice tho samo “er- ror reporting" statements must De repeated after sending aach SCPI command Tris is not always practical. Therefore, one of the following aporoaches is ad- vised 41), Sond the S¥STemERRor? or STATUS QUEue? query and read the instrument response message after every group of commarids that functionally balong to each other, 2) Program an error-reporting routine and call this routine after each command ‘group of commands, For an example of an error-reporting routine, refer to section 3.14.4.1 3) Program an errorreporting routine and use the “Service Request (SRQ) Ganaration’ mechanism to interrupt the execution of the program and to execute the error-reporting routine, Therefore, reter to section 3.14.4.2. PROGRAM EXAMPLE: vhead error nessege! CALL send, ees fer enor Reader massge Displays aver asians 2-6 GETTING STARTED WITH SCP! PROGRAMMING 2.4 Acquiring Traces ‘Trace acquisitions aro started via the INITiate commands. A single acquistion is ‘done by sending a single INITiate command, Continuous acquistions.are done by ‘sending the INITiate:CONTinuous ON command. ‘The TRACe? quory allows you to acquite a trace of signal samples from ane of the following sources: ‘© An input channel, ¢.9,, CH2 (input channel 2) © A trace area in a memory register, 6.g,, M2_3 (Memory register 2, trace 3), The number of trace samples (aoquistton length) can be specified using the TRAGe:POINts command, If your instrument has standard memory, you can speaity $12, 2048, 4096, oF 8192 trace sampies. It your instrument has extended memory, you can spaciy 812, 8182, 16384, or 32768 trace samples. A ‘TRACe:POINts command specifies the acquisition fength for all channels and memory registers. Example: Sond-> TRACe:POINte CHi, 8192 ‘Selects 8192 sample points for all races “The number of trace eample bits can be speciied using the FORMat command. This gives you the possibilty to define samples of 8 bits (1 byte) or 16 bits (2 byles). A FORMat command specifies the number of sample Sits for all channels and memory registers, Example: Send —> PORMat INT, 16 Formats 16-bits samples ‘The format ofthe trace response data is 26 follows: fox. xb... Ds <> | Taino cose (10 decir) (_ chasis over al ace bytes L_ trave samo data bytes (soe Nete) trae sata tormat byte (502 Note) umber of race eyes (b..b) umber of dgts of x. Note: 1f 28 decimal, each race sample is one byte (6b). If16 decimal each race same is ho byes (16 bis), Le, mast signiicant byte (tb) + fost signiican bya (52). Example: #41026 <1G> clap 1»... <10> feet | | Trace campo 512 — trace sample 1 cial 08 amor of race tts (N) fe rrumber of cgi of N GETTING STARTED WITH SCP! PROGRAMMING 2.4.1 How to acquire a single shot trace Inthe program example, a single shot trace acquistion of 8192 B-bit samples is done with a probe connected to input channel 1. The trace sample bytes are read from the GPIB as string characters. The number of response bytes and the ‘umber of samples are printed. The TRIGger:SOURCe command is used to specify input channel 1 as a tigger source. The TRIGgerLEVel command is used to resel the trigger level to @.9, 0.1 volts PREPARATIONS © Connect a probe to channel 1. After start up ofthe program you will be asked to trigger the acquisition with the open end of the probe, .e., ouch the probe Cr strike the probe on the table. PROGRAM EXAMPLE: awe + 16500 FORMAL INTeses.6°, Formats is sample ee Cll, 8192", 2) "Femats 012 sample pons URce TWTeznaii*, 1} "Tiggersouoe enamel 1 eaGgeriLvel 0.1", “roger = 04 "Shale sot ion CALL sendt0, 8, "WAZ", 1 Wats oe pews commands voinish CALL Senate, @, "RACE? CHI", 1 *Quenestor chanel tee cAI Receiver 256) “ead chamal 1 rae “Tho coments lh tet ting 8 oo. #8104 8 capa cope B18 mo nr.of i aL Wy nriefsbytes = VALI: ne.of.digita)) — Semple. Leng + rr.of.digits, 1)) / 8 che? *Hunber of bytes re CINE hunber of tesee san! 'S_IBONTS: =auber of ttes samples Note: Reter to section 3.4.9 "Conversion of trace data* about how to convart this string data, GETTING STARTED WITH SCPI PROGRAMMING 24.2 How to acquire repetitive traces In the program example, § trace acquisitions of 512 16-blt samples are done via ‘ prabe connected to channel 2. The trace sample bytes are read trom the GPIB, {a8 string characters and wtten to the file TRACES.DAT on the hard disk. PREPARATIONS: © Connect a probe from the Probe Adjust signal to channel 2, PROGRAM EXAMPLE: side TRACES. DAT: ‘noguire S sequential traces and ators “Roser theinsrurert 2 eampioe of 18 b: fe acquisition is defined at “Configures shannl2 v3) Sutenes chamezon Opis he TRACES DAT Sj inion "Quanes fo carr 28 Nts eV ber TRACe?, The WAL conan aks car atthe TRACH? CHO command it ‘veut hen the Nit comeare fish. Raceivell, 8, tracehats, 256 Fads carne 2 ace PRINT 43, "Trace buffers': i Ws ace nese fe PRINT #2, LEFTS (cracebufs, TECHTE Wels eon cus Close le TRACES OAT Note: Refer to section 9.4.3 "Conversion of race data" about how to convert this string date. GETTING STARTED WITH SCPI PROGRAMMING 2.5 Measuring Signal Characteristics ‘The measurement instructions allow you to make a compiete measurement. This includes the configuration ofthe instrument, the initiation of the tigger system, ‘and the fetching of the acquisition dats. The measurement insiructions can be Used at cifferent levels, varying in processing ime. The highest level is the most easy to use, bul takes more ime to complete than the lowest level. The following levels of measurement instructions can be used: Tho highest level: MEASure? (easy to use) “The middle level CONFigure «READ? (equivalent to MEASure?) (gives more programming flexibility) ‘The lowest level INITiate + FETCH? (equivalent to READ?) (to acquire more signal characteritios) The following table shows which measurement tasks are executed by the measurement instructions: WMeASute? | CONFigue| READ? | INiTate Lon Cenfguestheinsiunent| YES | YES [ese | Initiates the tigger systems] YES ves | Yes Feiches the acquired data| YES YES Yes 2-10 GETTING STARTED WITH SCP! PROGRAMMING 2.5.1 How to make a single shot measurement ‘The MEASure? query allows you to make a single-shot measurement, and the FETCh? quory allows you to fetch mora signal characteristics, PROGRAM EXAMPLE: gEAuresAch (81), Measures AC-AMS lve Receive 10, 8, respon "Reads AOS value id. Fees he Pes To Peck value ive 10) 8, respcr “ads the PTP lve PRINT *Peak-Wo-laak valve: zene - 1) CALE Send (0, 8, “FPIChsAMPLitude?™, 1) Fees tre amauge vee CALL Receive (0, 8, responses, 25 Read eagle vie PRINT "Amplitude value"; LEPIGiveopenseS, TBCHME ~ 1) 2.5.2 How to make repeated measurements ‘The measurement instructions allow you to make repeated measurements. The CONFigure command aliows you to configure tne instrument, the READ? query allows you to make 2 measurement, and the FETCn? query allows you to fetch ‘mote signal characteristics. PROGRAM EXAMPLE “eagure and print AC-EMS, peak to peak, and ne signal on channe! on “Coniguee er CAVE + Peron § eae. nor nites RC-RMS reading (0, 8, responses, Fleas be ADAMS value *Feohes the Pelco Peale Reads the PTP wae *Fenes ine ames vl _ Reads be ample vue USING THE COMBISCOPE INSTRUMENTS. 3 USING THE COMBISCOPE INSTRUMENTS 3.1. Introduction ‘This chapter explains now to access the functions of the Combi Scope instruments ‘amily in a remote programming environment, For that purpose, the CombiScope ingtrument ts equipped with an IEEE-488 compatinle GPIB interfaco and implements a full SCP! compatible command set which provides an oxtansive range of remote contro! facies, ‘Traditionally, there was na standard for the remote operation of instruments. wide range of different command seis existed, Each set had its own terminology and trade-offs, based upon the implementations and corresponding limitations of the instrument. Similar functions in different instruments were contralied by different commands. And, vica versa, identical commands could easily ex'st in tsnother instrument to conitel @ diferent function. With new technologies and Increasing complexity, other programming concepts were introduced, This, caused programs with identical functions to look diferent when writen for another instrument. The remote control of insttuments became a cumbersome process, which required @ high learning curve for each new instrument and each additional instrument, The time and costs to create and mainiain application programs were unnecessarily high due to the lack of standardization, With the introduction of the Standara Commands for Programmable Instruments, commonly called SCPi, a lot of progress has been made In this area. The davelapment time of an application program for SCPI-compatiole instruments, ‘ke the CombiScope instrument, is considerably reduced. This is mainly achieved by the consistent programming environment for instrument control and data lusage across all types of instruments that, regardless of the manutacture, is provided by SCPI ‘The standardized commands allow the same functions in diferent types of instruments to be controlled by the same commands. For example, the query MEASure:FREQuency? acauites the frequency characteristic ofthe input signa, regatdless of whether the instrument is a frequency counter, an oscilloscope, or any other measuring instrument USING THE COMBISCOPE INSTRUMENTS, As the example alteady shows, the commands are easy to leam and sell- explanatory to both novice and expert users. The learning curve is considerably Gecreased for _new instruments or instrument functions with which the programmer is not fama. Efficiency is not only gainod when creating or debugging new application programs. The easily understandable programs greatly simply mainteriance and modification of existing application programs that have been writen by other persons oF for other instrumant functions. ‘All major CombiScope instrument functions are controlled by standard SCPI ‘comands. Although the functionality provided is the same, the way the ‘oscilloscope is controled via the remote interface differs in some aspects trom the front panel operation. This is because the local front panel operation is designed to allow you to take maximum advantage of the interactive communication possibilies offered by the cisplay screen. This allows for additional information ‘and guidance during the process of local operation. ‘The remote command set is based upon an instrument model that Is easy 10 understand. This model provides a structuted survey of the implemented instrument functions and sorves as a guide towards the commands that control these functions. This other view allows for optimal and oasy access of the instrument functions when operated from the remote interface. Additionally, a measurement instruction set allows for easy programming of measurement tasks for a wide variety of signal characterstcs. USING THE COMBISCOPE INSTRUMENTS. 3-3 3.2 Fundamental Programming Concepts ‘The temote operation of your CombiScope instrument can be accessed using different programming concepts, The concept to be chosen depends upon the application of the instrument in the remote programming environment, Each of the four concepts has it own benofits and trade-off, 1) Using measurement instructions Advantage: Easy to program, No instrument knowledge required to make measurements, So, you can start programming quickly and get measurement resuts rightaway. ‘Trade-off| A measurement takes some time to complete, because the Instrument automatically searches for optimal settings. Example: MEASure:FREQuency? Measufes the frequency of the signal at channel 2) Single function programming using the instrument mode! Advantage: Allows you to program individual functions separately through single commands, The instrument model glves the relation, between the commands and the functions of tno CombiScope instrument. Trade-cft: requires understanding ofthe remote operation ofthe instrument functions, Example: TRACe? CHY Footuns the acquisition trace of the signal at channe! 1 '3) Programming the complete instrument setup ‘Advantage: Simple to program, No worry about individual settings. Tnis mathod can also be used to save and recall settings, which are not individually programmable. Trade-off, Processes complete instrument sstups, Individual settings ‘must be set or programmed separatoly. Example SAV3 Saves actual instrument settings 12 intemal memory 3, ARCL3 Recalls instrument settings trom internal memory 3. 4), Programming through front pane! simulation Agvantage: Gives the possibilty to program settings tor which no remote commands are avalabio, .e., to match a front panel setup. USING THE COMBISCOPE INSTRUMENTS Trade-off: This way of programming is cumbersome and tricky, because _adcitional information on the front panel display is not always, avaliable remotely Example: DISPlay:MENUTRIGger Activates the TRIGGER softkey menu. ‘SYSTem:KEY 4 Simulates the prossing of softkey 4 “The effect is that TRIGGER menu option “noise” is switched on or oft 3.2.1 Measurement instructions This is a completely new approach in the remote operation of programmable instruments, which provides & eet of task-orionted measuroment instnicions Rather than programming every instrument setting soparatoly with starting the acquisition and calculating the result, just specity the desired signal characteristic, and the CombiScope instrument retums the requested resull, Depending upon the actual available signal, your CombiScope instrument automatically determines the optimal settings to acquire and calculate the requested result. ‘An example of such a command is the MEASure:FREQuency? query, which not ‘only works on oscilloscopes, but also on different types of SCPI-compatible instruments, such 2s counters and multimeter. ‘With traditional oscilloscopes you had to do the folowing: st up all functions of the osciloscope separately, = start the acquisition of the data = positon the cursor markers, = calculate the frequency trom the acquired data. = read the calculated frequency from the instrument ‘A single, simple SCPI query replaces al of the above, namely the MEASure:FREQuency? query which does the following} ‘auto contiguras tho osclloscope tothe best possibie setting forthe requested measurement task. Note: This process is liferent from the traditional AUTOSET process in that the autoset function determines the instrument settings based (on the input signal only, whereas, the auto configure algorithm also takes the desired measurement lask into account. starts tne acauisiton process, ~ takes care that the measurement is tiggorod. = caleulates the dosied characterise from the acquired data, = retums the calculated value. USING THE COMBISCOPE INSTRUMENTS a5 “The measurement instructions are easy to use and do not require any special knowiedge of the instrument. The programming concept reduces simple measurement tasks with complex instruments to simple insituctions. leaving the ‘setuo complexily to the instrument. The measurement instructions are extreme'y Useful when the application does not require the precise setting of instrument functions. The concept is extencible with separate control of parameters that are vital to the application. 3.2.2 Single function programming using the instrument mode! |All maior instrument functions such as time base, input impadanee, etc. are ‘separately programmable using ‘single parameter” commands. The easy to Understand command set is comparable withthe way instruments are traditionally controlled. This concept gives you full control over all functions and power of a modern oscilloscope, However, for maximum benefit ofall the advanced features cof your CombiScope instrument, you nead some understanding of their remote operation Functions of the CombiScope instrument that belong together are grouped into subsystems. There are several subsystems, each representing a particular function. The instrument mada! in the following figure gives an overview of the ‘most important subsystems. [seas | Tea = Figure 3.1 The Instrument Modo! for CombiScope instruments EXPLANATION OF THE INSTRUMENT MODEL: ‘© -Alifunctions that deal with signal conditioning are part ofthe INPut subsystem. © Ina similar wey the SENSe subsystem contains the data acquisition part where the analog signal is converted into digital value. © The results of the acquisition are stored in a TRACe subsystem memory © Post-processing functions on the acquired data are available in the CALCulate subsystem. ‘© The TRIGger subsystem deals with the contro ofthe acquisition process ‘© The DISPlay subsystem handles the front panel display functions, 2-6 USING THE COMBISCOPE INSTRUMENTS Functions in a particular subsystem are always controled by commands that begin with the name of that subsystem. For example, a command that programs the input coupling is INPu COUPIing DC. {All programmable settings can be queried easily. The query form is obtained from the command by simply removing the parameter and adding a question mark. For example, the command to program the input impedance of your oscilloscope is INPutiMPedanca 50. This impedance value can be queried by sending INPutIMPedance? which returns 50. 32.3 Instrument setup ‘This concept allows you to program instrument settings with a single command. Several instrument setups can be saved, either created by remote programming fr by front panel control. This concept can also be used to program Instrument functions that cannot be ditectly accassed using individual program instructions. Complete instrument seiups can be saved either in tne internal memory of the ceciloscope or extemaly in the remote controller. A part of the Instrument eetup can also be saved externally The oscilloscope is equipped with @ number of internal memories in which the complete instrument set up can be saved and from which itcan be restored, Send > *SAV3_ Saves the current set up into memory 3. Send ACLS Recalls the instrument set up that was saved in memory 3. Instead of using an internal osciloscope memory, the instrument setup can be queried using the SYSTem:SET? query. The result of this query is that the ‘sciloscope sends a part or the complete setup in @ compact block data format Sending this data back as a parameter with the SYSTem:SET command reprograms the oscilloscope to the same settings. Example for the complete instrument settings: Send > SYSTem:SET? Quories the oscilloscope for the complete instrument setup, Read < reads the Sends the previously read instrument setup back to the oscilloscope in the ssame formal. USING THE COMBISCOPE INSTRUMENTS: 3-7 Example for the instrument cursor settings: ‘Send + SYSTem:SET? 32 Queries the oscilloscope for the instrument settings of node 32, wnich are the cursor settings Road «- Reads the cursor seitings Send > SYSTem:SET Restores the cursor settings, 3.24 Front panel simulation ‘Tris concep! allows you to send commands that simulate the pressing of a front panel kay. This methad allows the remote operation to precisely match a front panel selup. In paricular, this method can be used to access instrument functions that cannot be programed directly by remote commands. ‘As described in the beginning of this section, there is a difference between the front pane! cperation and the remote control of an instrument. f you use the front ‘panel simulation commands vie the remote interlace, be aviare that no use can ‘be mace of the additional information that is presented on the screen of the ‘sciloscope. As this causes the front panel simulation method to be a tedious process, itis certainly not recommended as a common programming practice. For example, the SYSTem:KEY 507 command switches the AVERAGE function fon when it was Switched of before. When this function was switched on before, the AVERAGE function s switched off. The effec of the SYSTem:KEY command ‘completely depends upon the state ofthe instrumental the moment the command is received. In a remote programming environment it's not immediately clear ‘whether a state ison or off For thal reason the command SENSe:AVERage ON |s much better. ‘To select functions that cannot be programmed directly. you might use the front panel simulation commands. For example, the command SYSTem:KEY 4 ‘snitches the *noise suppression’ option in the TRIGGER menu of the front panel ‘ON or OFF, USING THE COMBISCOPE INSTRUMENTS 3.3. Measuring Signal Characteristics ‘As explained in section 9.2.1 "Measurement instructions’, the measurement instruction set is @ new approach in the remote operation of programmable instruments. This instruction set allows you to request a particular characteristic, of the input signal. The CombiScope instrument then chooses the best possible settings, executes the requested task, and relurns the desired result, Within the measurement instruction set, diferent progranvning levels can be distinguished, The highest level is the easiest to use, but the trade-off is loss flexibility, Lower levels provide more flexibly by offering more control over the instrument functionally. This requiras more knowledge about the remote ‘operation of your instrument. ‘The measurement instructions specify @ particular task in terms of the expected signal and the desired result, The instructions refer tothe signal characteristics of the signal being measured, This makes them independent from the Implementation of the instrument functions. For example, when the instruction MEASute:FREQuency? is executed, itis not important whether this frequency is, measured by precisely counting the signal period, or it itis calculated from a sampled waveform. For this reason, the measurement instructions provide the best compatibilty among different types of instruments. But, as a trade-off, the compatibility decreases when more flexibly is needed and lower measurement insirucion levels are used. 33.1 The MEASure? query This isthe easiest instruction to use and provides the best compallblly However, Idoes not offer access to the full capabilty of the CombiScope instrument. The MEASure? query configures the instrument for optimal settings, stats the data _acquistion, and retums the result in one operation. The signal characteristics that ‘can be acquired in this way are shown in igure 3.2 Example: ‘This query measures the RMS voltage of the AC component al the default Input channel 1. After the acquisition, the result is sent fo the controller. The Instrument itself selects an optimal setting for this purposo and carries out the requested measuroment as “wall” as possible. Moreover, it automatically stars the moasurement USING THE COMBISCOPE INSTRUMENTS. 3-9 3.3.2 Benefits of using parameters “The generic form of a measurement instruction is as follows: MEASure[:VOLTage]:? [[,}][,} ‘The :VOLTage keyword is a default nade, which specifies the signal cheracteristic to be measured, relates to the voltage component of the signal. The measure. function» specifies the desired signal characteristic. ‘The parameters can be used fo provide adultional information to the instrument about the expected signal and the desired result. The oscilloscope uses this information to determine the best settings for the requested task. As the eyntax show's, the parameters can be left out (defaulted). In that case, the oscilloscope ‘chooses it awn settings based upon the actual available inout signal end its own ‘wade-otfs. The result of defaulting parameters is that the measurement needs ‘more time to complete ‘The VOLTage parameters relate to the :VOLTage rode in the header. These parameters specity the expacted voltage and the desired resolution - = [[.]] “The expected voltage in the parameter specification is assumed to be the value at the BNC input of the osciloscope. When a delectable probe is attached, itis ‘assumed to be the value atthe probe tp. When the parameter is defaulted, the osciloscope performs: ‘an autorange, which needs some adsitional time. When a particular value was. ‘specified instead, the oscilloscope immediately selects the range next higher to the specified voltage, omitting the relative time-consuming autoranging Notice that when voltage parameters are used, the VOLtage node must be sent fexoliitly in the command header. Or, in other words, when the :VOLTage node is dofauited, the voltage parameters must also be defaulted. 9-10 USING THE COMBISCOPE INSTRUMENTS Examples: MEASure:AMPLitude? This quory moasures the amplitude of a waveform at the default input channel 1. After the acquisition, the resulting amplitude is returned, MEASure:VOLTage:AMPLitude? 10, (@2) This query measures the amplitude ofa signal at channel 2 (@2). But, since it specifies the expected voltage value (10 volts), it wil complete the measurement faster Ina similar way the moasure function parameters provide the oscilloscope wrth information about the signal characteristic to be measured. The parameters that {are allowed depend upon the requested signal characteristic (measure function). ‘The measure function parameters that specify a voltage characteristic, such as. AC, “AMPLitude, “HIGH, :MINimum, etc, use the voltage parameters for that purpose. Measure functions, such as fall and r'se time, frequency and period, use ‘ime units. Their expecied value and desired resolution are specified in seconds or Heriz as separate measure parameters Examples: MEASure:VOLTage:FREQuency? 10E6, (@3) This query measures the frequency of the signal al input channel 3. The expected trequency is 10 MHz, whereas, the expected voltage is defaulted, "Notice that this command is equivalent to the MEASure:FREQuency? 1066, (@3) command. MEASure:VOLTege:FREQuency? 5, 1086, (@) ‘This query does the same es the previous example, except that the expacted voltage is § volts. USING THE COMBISCOPE INSTRUMENTS. aon 3.3.3 Waveform measurements “The following fgure shows the terms used for pulse measurements and the key ‘words that aro used as header nodes in the measurement instructions, HoH, Low Figure 8.2 Pulse charactorstics ‘The reference high and low parameters datermine the desired interval for tise ‘ume and fall time measurements. The datault iow and high relerences are 10% ‘and 902% of the pulse amplitude (= HIGH - LOW). Default REFerence LOW =LOW + 0.1 » (HIGH - LOW) (Default AEFarance HIGH =LOW + 0,9» (HIGH - LOW) Ina similar way, the reference middle parameter determines the desired interval for pulse width (PWIDtR, NWIDIN) and duty cycle (PDUTycyo!e, NOUTycyc!e} measurements, When defaulted, the reference middle valus is assumed to be at 80% of the amplitude. Default REFerence MIDDIe =LOW + 0.5 » (HIGH - LOW) 3-12 USING THE COMBISCOPE INSTRUMENTS. Examples: MEASure:FALL:TIME? (@3) Measures the time interval during which the pulse at channel 3 decreases from 90% to 10% of tts amplitude MEASure:RISE:TIME? 20,80 “Measures the time intorval during which the pulse at the default channel + increases irom 20% to 80% of Its amplitude. “The following measure functions and parameters can be programmed - AC "AMPLitude fc} FALL OVERsnoot PREShoot TIME [etetorence. lows [. (expected. tme> [vetime resolution} FFREQuency _[] HIGH LOW ‘MAXimur MiNimum NDUTycyole NWIDE “telerence.middle> PDUTycyele PERioa {sexpected_poriod> | ]} PTPeak PWIDth ‘TMAXimum “TMINimum RISE OVERshoot :PREShoot TIME [ereference. low [,telerence_high> [. [-ctime_resolution- I) Notes: -:DCYCie «ales for:POUTIEye!@ =F TIMe = alias for “FALL:TIME “TIME = alias (or RISE-TIME USING THE COMBISCOPE INSTRUMENTS. 3.13 3.3.4 Customizing settings ten, you nese more precise control of the measurements than possibie withthe MEASure? quory. The combination of CONFigure and READ? is provided to allow you to program one or more sattings that aro vital to your application, Executing this sequence of instructions is equivalent to sending MEASure? For setting up the instrument, CONFigure uses the same measure functions anc parameters as MEASure?. The CONFigure command does the instrument sstup Portion of MEASure. The READ? quory initiates the acquisition, performs the ‘needed caloulations, and returns the desired result. Since READ? no longer changes instrument settings, commands that are executed alter CONFigure, but before READ?, are taken into effect by the acquisition. This concept allows you to perform @ generic configuration through CCONFigure and then customize the measurement by programming the settings that are vital to your application. Next the READ? completes the measurement process. Example CONFigure:AC Configures the instrument to perfoom an RMS measurement of te AC component atthe default input channel 4 SENSC:AVERage ON Sets averaging on SENSe:AVERage:COUNT 4 Sets averaging factor at four. REA ZAC? Star's the measurement and returns the averaged AC-RMS valve. READ? uses the same measure functions and parameters as CONFigure. After the instrument has been set up for 2 particular measure function by the ‘CONFigure command, the sama measure function kay wards can be repeated by the READ? query header. Moreover, i is allowed to request for another signal characteristic by specitying a measure function other than that for which the instrument was configured. However, keep in mind thatthe instrument was set up by CONFigure for anothor task. As those sottings are not affected by READ?, it Is not guaranteed thatthe instrument is able to acquire the signal characteristic that is requested by READ? Example: CONFigure:ac Sets up the instrument to perform an AMS ‘measuroment of the AC component. git4 USING THE COMBISCOPE INSTRUMENTS. READ? Requests to exeute the default DC measurement. Since this is not possible wit the chosen configuration, an execution error Is generated and no resut is retuned Configures the CambiScope instrument to perform a rise time measurement READ:RISE:OVERshoot? Requests to read the rise time overshoot. Because the ComblScope instrument is able to celeulate the rise overshost value whon it set up for arise time measurement, the desired result is calculated and rotured, A READ? algo allows the same parameter sets as tha corresponding CONFigure. instructions, But, thase sets only serve fo specify the desired result. They are Ignored as far as they affect instrument settings. The parameters can be sent for ‘compatibility with the prececing CONFigure command, Example: CONFigure:RIS! Contigures the oscilloscope to perform a default rise time measurement (10% to 90% increase of the signal amplitude} READ:RISE:TIME? 20,80 Requests forthe rise time of the 20 to 80% increase ‘of the signal amplitude, As the CombiSeope Instrument is able to respond to this request, the desired nse time is calculated and retumed, 3.3.5 Multiple measurements ‘Somatimes itis necessary to perform multiple measurements of the same signal characteristic. This can be realized by executing multiple MEASure? queries. However, this implies that the relative time-consuming configuration portion of MEASura? is unnecessariy repeated. This can be easily avoided by using the CONFigure and READ? concept as descrived in the preceding chaptet. This concept allows you To do tha configuration only once by sending the CONFigure ‘command one time. Sending multipie READ? queries next, causes the instrument to repeatadly execute the desired measurement. Example: CONFigure:FREQuency Conligures the instrument to perform a frequency measurement, USING THE COMBISCOPE INSTRUMENTS 18 READ:FREQuency? Starts the acquisiion and retumns the measured ‘frequency. READ:FREQuency? Starts 2 next acquisition and returns the now frequency result. READ:FREQuency? Ei. 3.8.6 Multiple characteristics trom a single acquisition. Itis often necessary to determine several signal characteristics from the last, ‘acquired waveform. Starling a new acquisition, as READ? and MEASute? do, is tundesired. For that purpose, READ? 's broken down into two addtional instructions, which are the INMTiatol:IMMediate] command and the FETCH? ‘query. Executing this sequence of instructions is oqulvaiont to READ?. The INTiatefIMMediate] command starts the acquisition. FETCH? determines tho requested signal characteristic and returns the result, This concept allows you to porform several diferent FETCh? querios on a single set of acquisltion data Example MEASure:AC? Configures the instrument to measure the RMS vai- uo of tha AC component of the signal at input chan nel 1, stars the acquisition, and returns the desired result FETCH:FREQUency? Determines and retums the frequency of the signal that is acquired by the preceding MEASure? query FETCH:RISE:TIME? Uses default parameters to determine and return the rise time ofthe first pulse. AAs distinct from the READ? query, defaulting the measure function part of the FETCH? query, causes the CombiScope instrument to return the characterisve that was requesied withthe last executed FETCN?, READ? or MEASute? query For this reason, the measure function should always be explicitly specified in the header of the FETCH? query. 3:16 USING THE COMBISCOPE INSTRUMENTS 3.3.7 Trigger control via GPIB ‘You need a separate GPIB command to start @ measurement synchronized with cather instruments. This is done by sending the *TRG command or the GET (Group Execute Trigger) code. The MEASure? and READ? queries do not allow you to do 0, because such a setup causes a query error With the INTiato|1MMediate] and FETC? concept, itis possible to meet the requirements cof such applications. Example CONFigure:AC Contges the instrument © meas he ACAMS voltage. TRIGger:SOURcs BUS Species that the acquisition is to be wiggered by GET or *TRG. INrTiate Starts the measurement process, sTRG “Triggers the acquisition, FETCh:AC? Determines and returns the AC-RMS value. USING THE COMBISCOPE INSTRUMENTS: g.17 338 Fetching characteristics from memory traces ‘The FETCh? query not onfy allows you to determine a characteristic from the last acquired waveform, it also allows you to calculate 2 signal characteristic ftom a wavetorm that is stored in a trace memory element Example: FETCh:RISE:TIME? (@M3.4) Celculates end retums the default rise tme from a waveform that is stored in trace memory M34 FETCh:PERIod? (@NM4_1) Determines and retums the poriod of the waveform thats stored intrace memory M41. Notice that such a FETCh? query operates properly only when there is valid ‘waveform data stored in the trace memory. PROGRAM EXAMPLE: Inthis example the signal acquired via channel 2is stored in memory register 1 ‘The AC-RMS, peak-to-ceak, and ampitude velues of the stored signal are fetched and printed iis vacponge AS STRING + sand), §, *CONPSgura:AC (62)* Congres ox channel? 2) *Swtcheschereel2n "Sage intiion Capes Chace 1 2 Now tac area 2 of memory rite sil wth a chanel? ace pIGh RCP (ON4_21*, 1) es AC AS of WI. 2 ) responses, 156 Ens AGA value sponses "Pints ACAMS vale 128 Peale Peak oft 2 responses, Enis PeaTo-Pea vali k value: *} responses Pris Paice peak vaue Send(0, 9, *PEICRIAMPLitede? (@ML_2i", 1} /Fathes ampltas of MI_2 Receveic, jones, 256) “Eres arpitude value *y responses Fe ampli ale 3-18 USING THE COMBISCOPE INSTRUMENTS 3.4 Acquisition 8.4.1 Acquisition contrat ‘Several commands éxist o contrat the acquisition process. The following diagram shows the possible states of the acquisition process, and the way they are affected ay commands. Le atte st | wet —_f Figure 9.9 The Trigger Mode! for acquisitions ‘The tigger model shows that after a *RST command, the instrument js in the IDLE state, An acquisition doesn’t start unti! an INITiate command is received. Initiation ofthe oscilloscope occurs by sending he INVTiatol:IMMediate] command USING THE )MBISCOPE INSTRUMENTS a co by setting INTiate:CONTinuous to ON. Tho INITiatef:tNNMediate] commanc ‘causes the CombiScope instrument to perform one compete acquisition cycl. Upon completion of the cycie the instrument retumns to the IDLE stato, The INhiate:CONTinuous command is used to select whether the Instrument is continuously initiated or not. When INitiate:CONTinucus is set 10 ON, the instrumant immediately ets IDLE and starts an acquisition cycle. On completion ‘of each cycle, the instrument does not return te the IDLE state, but immediately starts another acquisition cycie Bofore the acauisttion takes place, the trigger conditions must be satisfied. Those Concitions are programmable to sult the needs of your application, 2s described in the nex section, Alter a *RST command, there are no trigger consditons to be met So, an IN‘Tiate command causes the CombiScope instrument to immediately trigger the acquisition, Executing the measurement instructions MEASure? and READ? causes the acquisition to become inated automatically. No separate INITiate commands are needed. When the FETCh? instruction is used, the instrument must have been Inttatad either by a preceding INITiato[iMMediate] command, or implicitly by a READ? or MEASure? instructin. When the CombiScope instrument receives the ABOR! command, any ‘acquisition that is in progress is aborted immediately, and the instrument retuns to the IDLE state, The same occurs when *RST is received, The ABORt command distinguishes from *RST in thet *RST also resets the instrument settings, whereas, ABORI does not. For example, when INITiate:CONTinuous i set to ON, a ¥RST command not only aborts the pending acquisition and forces, the instrument to the IDLE state, but it also sets INTale:CONTinuous to OFF, preventing the acquisition to initiate again. Since ABORt does not atiect the Instrument ssttings, an aborted acquisition cycle is immediately iniiated again, When the instrument isin the IDLE stato, the ‘no-pending operation’ tlag that is associatod with the acquisition is get True. The *OPC and *OPC? commands use this flag to signal their “Operation Completed’ response. Notico that it INMate:CONTinuous is set to ON, the instrument does not ratumn to the IDLE state when an acquisition cycle has completed. This means that no "Operation ‘Completed response is generated after the “OPC and *OPC? commands, USING THE COMBISCOPE INSTRUMENTS, 84.1.4 Thggering Alter the measurement is initiated, the CombiScope instrument starts the reel ‘acquisition when the trigger conditions aro satisfied, e.g., when the selected ‘rigger event occurs. The trigger conditions can be ignored during a specific hold off time, which can be programmes using the TRIGgerHOLDoit commana. During the hold-off time the event detector is inhibited from acting on any trigger. ‘eager Type The TRIGger:TYPE command selects the type of triggering, which can be programmed to EDGE triggering (normal rigger mode), ViDeo triggering (refer to section 3.4.1.2 "Video triggering”), LOGic, or GLiTeh triggering. After a *RST ‘command, the rigger type is EDGE. Note: Logiestate, pattern, orgitch sattings canno! be programmed using SCPI ‘commanas. Trigger Source ‘The TAIGger:SOURCe command selects the source for the tigger event. The receipt of tno GPIB intarface message GET (Group Execute Trigger) or the common command *TRG serves as the triggar event when BUS Is selected as. ‘tigger source. The trigger eventis determined by the AC line voltage when LINE is selected, and 's derived from the input signal when INTernal is programmed as rigger source. For the 2-channel CombiScope instruments, EXTemal can be programmed as the ‘rigger source. In that case, channel 4 is selected as extemal trigger incur, ‘A numeric. suffix is used 10 specily the channel number. For example, ‘TRIGgerSOURce INT2 selects the signal at input channel 2 to trigger the acquisition, When IiMediate Is selected, an acquisition does not wait for a trigger event. So, fan INITiate command causes the acquisition to begin immodiaioly. Alter a *RST ‘command, the tigger eource le IMMediato, which means no trigger is required. Trigger Level ‘Tne TRIGgerLEVel command allows you to set the trigger level for all input channels. Programming the trigger lovel automaticaly switches off level peak- peak. The trigger level can be programmed only when the TRIGgenSOURCce is INTemal, The TRIGgerLEVeLAUTO command allows you to switch level peak- peak on or of. Switching on level peak-peak, deactivates the trigger level. After a ‘RST command the TRiGgerLEVel is set to its maximum vaiue and level peak peak is switched off USING THE COMBISCOPE INSTRUMENTS 3-21 Trigger Stope ‘The TRIGger:SLOPe command allows you to define the tloger edge for al input channels, which ean be POSItve, NEGalive, or EITHer. sfter a ¥RST command the TRIGger:SLOPe Is set to POSitive PROGRAM EXAMPLE: jguve:PrPesk (62), 2 “Corts rane! 2 seengesFUNCuion “XTZMe:VOLMege2"*,_ 1) "Sas ehammel2 ON anernai2", 1) “Tigyprsouee=charnd 2 0.2, 2) “Tragerlevd «02 “The TGerLEVE commando sults el peak sak of. NeSetive Treen ope = gate Shae iin cchiPTPeak? 92)", 4) Que epee pak 8, responses, 256) nes pak peek poak-to-peaie =“; responses Pins eaten Trigger Coupling ‘The TRIGgerLPASs and TRIGgerHPASs commands allow you to select the Main Time Base (MTB) trigger coupling by programming a fixed cutot requency. ‘The possible trigger couping options AC coupling, DC coupling, Low Frequency reject, and High Frequency reject are mutually exclusive. The TRIGperLPASS land TRIGgerHPASs commands are also mutually exclusive. So, activating the Low-Pass ‘iter will switch off the High-Pass filter, and vice versa. After 8 *RST command, the cutol frequency is 10 Hertz, which selects trigger counting AC. Note: When the trigger source is INTernal, signai coupling or one input channel in} can be programmed to AC, DC, or @ROund using the INPuter>;COUPIing command. 3:22 USING THE COMBISCOPE INSTRUMENTS DC COUPLING (0 Hz cutott frequency): DC coupling causes the signal to be passed over : the full bandwidth (rom 0 Hz to 100/200 MHz) ee Figure 3.4 DC Coupling PROGRAM EXAMPLE: fect DC coupling om inoue signed chansel 2 SENSe:EUNCtion:ON "HEINE VOLTage]" Sas Hon nPut2:couPling De ‘Sets CH input igual cols TRIGger +S0URCe MITerna’ Sets rape souce = CH wr galact 0¢ coupling on WMS exiggering: ‘DRroger :5uuTer:LPAS2:S7Abe cn ‘SasLon Passion +cat equeng) =O, tis selects MTB Woger DC caving. AC COUPLING (10 Hz cutott frequency) | ‘AC coupling causes the signal to be passed trom _ 10 Hz-to the full bandwidth frequency ———wocaurne (100/200 MHZ}, Figure 3.8 AC Coupling PROGRAM EXAMPLE: s+ Select AC coupling on input signal channel 3 SmiSe:FUNCHion:ON *XTIMe:VoLTase?* Sets CHSan, amput3:courLing AC Sots Hain signal AC comp TRIGGer:SOURCe INTernal3 Seige sae =O, tr select ac coupli Ss:STaTE om ‘SetsLon ess thar on cto teqerey= 0H ths sels ITB tigger 9 souing 10 Seat requeny = 10H bis sles NTE igs AC cour, USING THE COMBISCOPE INSTRUMENTS LF-REJECT (90 KHz cutoff frequency) LF reject (HF passed) causes the signal to be ‘passed from the cutofi frequency (30 KHz) to the full bandwidth frequency (100/200 MHz). Figure 3.6 LF Reject PROGRAM EXAMPLE: TRIGger:FIUTer:LPASS:STATe OW ‘Seis Low Pass tron vata femueny = OH2 (OC eouping LESe:PREQuency 2B+4 Secu fequeng=20 He, Ins selects MTB rope se. HF-REVECT (90 KHz cutof frequency) I veneer HF reject (LF passed) causes the signal to be passed from 0 Hz to the cutoff requency (G0 KHz), Figure 3.7 HF Reject PROGRAM EXAMPLE: a Pereject on WME Eeiggering 9.4.1.2 Video triggering TV video triggering enables stable triggering on video frames and lines trom various TV standards without adjusting the trigger leval, and can be selected by programming TRIGgarTYPE ViDeo. Video triggering can be programmed on signals with a postive or negative signal polarity using the TRIGger-VIDeo:SSIGnal command. 9.24 USING THE COMBISCOPE INSTRUMENTS ‘The vicoo trigger mode can be programmed to field, field2, or lines using the TRIGgerVIDeoFIELA... commands. The video trigge’ line can be programmed using the TRIGger'ViDeorLINE command, ‘The video system can be selected using the TRIGgerViDeoFORMet. commands. The following standard video systems are supported: - NTSC: 525 tines por frame PAL, 625 lines per frame - SEGAM 625 lines per frame = HDTV: 1050/1125/1250 lines por frame 41), Select video triggering and video standard Examples: TRIGgerTYPE ViDeo Selects TV video triggering. ‘TAIGger-ViDeoFORMat‘TYPE SECAM Selects the SECAM standard with 625 lines per frame. ‘TRiGger:VIDa0:FORMat LPFRame 1125 Selects the HDTV standard with 1125 ines per rame. 2) Select video “linas" triggering and program the line to tigger on, Examples: TRiGgerViDeoFiELd:SELect ALL ‘Selects the video /inas trigger mod. TAIGgerViDeo LINE 512 Selects video line number 512. 2) Select video “field1/2" tiggering and program the line to trigger on. Examples: ‘TRIGger-VIDeo FIELd:SELect NUMBer Selects video feld tragering, ‘TAIGger:ViDeo:FIELGNUMBor 2 ‘Salects the video field? trigger mode, ‘TAIGger:VIDeo: FORMat TYPE PAL ‘Selects the PAL standard with 625 lines per frame. TRIGger-ViDeo:LINE 123 Selects video ina number 123, As a result the video made is automaticaly switched to fleldt (field =lines + .. $12) TAIGger VIDeo:LINE 325 Selects video line number 325. As a result the video mode is, ‘automatically switched to fold? (feld2 = lines 313 .. 625) ‘TRIGger:VIDeo:FIELG:NUMBer 1 ‘Selects the video field7 trigger mode. As @ result the video line number is automatically switched to 13 (= 925 - 62512). USING THE COMBISCOPE INSTRUMENTS 3.4.1.3 The trigger modes ‘A combination of the INITiate:CONTinuous and TRIGgerSOURce command allows you to define the folowing trigger modes: via channel 4 (only for PMS3x08). INTate ‘TAIGger Trigger mode CONTinuous _| :SOURCe >5>Singie-shote<< Generates one sweep, regardless of any | OFF IMMediate trigger settings {valid after RST). | >>>Single-shotcc< INTemalen= Generates one sweep, triggered using | OFF or trigger setings UNE o> Single-shol <<< Generates one sweep, externally triggered | OFF ExTornat So2Auto tigese Table 5.1 The TRIGger modes Generates continuous sweeps, oN Intitediate | independent of any tlager settings. \ SeeNormal tigece INTemalen> Generates continuous sweeps, ttiggered | ON o using trigger settings. LINE >>> Normal tig <<< Generates continuous sweeps, extemally | ON ExTernat triggered via channel 4 (ony for PM33x0A). >e2Singe-Shotece ‘ON Gonerates one sweep triggered by “TRG | of BUS. or GET, regardless of any trigger settings, | OFF 3226 USING THE COMBISCOPE INSTRUMENTS Only in the single-shot and multiple-shot trigger mode (INITIate:CONTinuous. (OFF), the bits 3(SWEeping) and § (Waiting for TAIGger} in the OPERation status are valid, Also the Operation Complete bit (OPC bit 0) in the standard Event Status Register (ESR) is val. This alows you to dotect whether the instrument 1s armod (initiated), tiggered (busy with acquisition), or finished with the last acquisition, ie. ready for the next acquisition. SINGLE-SHOT MODE (TB MODE - single} Commands: — CONFigure:aC Configures instrument and sets ‘single-shot mode. OPERATION STATUS BITS: vis bits STATE DESCRIPTION: WattorTRIG | swEeping | OFC ie state (ter RST) @ ° 0 Weal for tigger seo (NT receive) 1 0 0 | armed Walt for comet (ragered) 1 ° 0 | orousy Finished vith aoquistion © @ i | = reacy MULTIPLE-SHOT MODE (TB MODE - mutt OPERATION STATUS BITS bts pts | STATE DESCRIPTION: WatforTRIG | Sweeping _| OFC ie state (ter AST) @ @ ° ‘Walt for tiger set NIT recov) 1 o | 0 |=amad ‘iat for compote tiggered) a 1 | 0 | =busy “Frito with acquisition [aiecal ¢ | reads The bits $ (SWEeping) and 5 (Waiting for TRIGger) also retlect the acquistion status, when the "SINGLE ARM!" button on the front panel was pressed. Commands: SYSTemKEY 101 Performs AutoSet DISPlay:MENU TBMode Displays TBMODE menu, SYSTemKEY 1 Sets INITCONT OFF and sets ‘multiple-sho! mode. USING THE COMBISCOPE INSTRUMENTS 3-27 8.4.1.4 — Pre-and post-riggering When pre-tiggering is selected, the real trace acquisition begins before the moment thatthe tigger occurs, Triggering occurs when the trigger coneitions are satisfied and the instrument leaves the ‘Walt for TRIGger" state as shown in the trigger diagram of figure 3.3. in a simiar way, post-triggering causes the equisition to begin after the moment thatthe tigger occurs. omega Figure 3.8 Pre-tiggering seciescer Figure 3.9 Postriggering Pre- and postriggering are programmed with the SENSe:SWEep:OF FSetTIME command. A positive parameter value species a post-trgger delay, whoreas, & negative value resuits in a pre-tigger view, Ater #FIST, the SENSe:SWEop:OF FSetTIME Is sotto 0.005, which resutts in & pre-trigger view of 5 ms, Because the *RST value of the total acquisition time {SENSe:SWEep:TIME) is 10 ms, the tigger point is positioned in the middle of the trace. PROGRAM EXAMPLE: CALL, Sendi0, 8, ‘SENSe:SwBep:0FFSe: 0, 2)“ ms postonee AiO, 8, *SENSe:sWDep:OFFSe: 2) Tmspretiger 3-28 USING THE COMBISCOPE INSTRUMENTS 34.1.5 External tiggering Extemal triggering is only possibie for the PM&3x0A CombiScope instruments Channel 4 is used as the extemal trigger channel with the following view possiblities: attenuator positions 0.1 and 1 Viiv (AMP key) ‘rigger slope positive or negative (EXT TRIG key). = trigger coupling AC or OC (AC/DC key) ‘The view faciliy of the external trigger channel Is switched on by sending the SENSe:FUNCtion:ON "XTIMe:VOLTagos" command, or by sending the ‘SYSTem:KEY 812 command to simulate the pressing of the TRIG VIEW key on the front panel Note: The view facility of the extemal tigger channel can only be switehed on when: + EXTemal or INTemalt (CH4) is programmed as the trigger source. + Peak detection is of Autoset scans for the presence of a signal on channel 1, 2, and the external {tigger input. I there is a signal present on the external tigger inout, the EXTernal ‘rigger channel is selected as trigger source, and the external trigger view facility becomes active Limitation: The amplitude of the external trigger signal must be high enough for the sensitivity of the external trigger input (0.1 oF 1 Vidi) USING THE COMBISCOPE INSTRUMENTS. 3-29 34.2 Reading trace acquisitions ‘Once acquisitions are completed, the resulting aces ares placed in TRACE memory, as shown in the folowing igure. o | a neve || sour 4 eee T Figure 8.10 The trace acquisition fow ‘The last acquired trace at input channel 1 is placed in the TRAGe memory element named CH. The trace acquired at channel in CH2, otc. This trace data ccan be read by using the TRACe|:DATA]? query. Example: TRACe? CH2 Returns the trace that was last acquired at input channel 2 When new acquisitions are exccuted, the previously stored traces are not automatically saved, but overwritten by the new result. When these traces need to be saved, they have to be copied into other TRACe memory elements, before a new acquisition is initiated. Refer to section 3.10.2 “Copying traces to memory" for @ description about how to copy traces. As response to the TRACe? quety the data is returned as block data. Section 3.4.9 *Conversion of trace data" specifies the coding of this data and describes how to convert this data into volage values. 3-30 USING THE COMBISCOPE INSTRUMENTS 3421 — Single-shot acquisition PROGRAM EXAMPLE: In this example a single-shot trace acquisition is done via channel 1. The trace bylas ato ontored as charactors in the string responses. DI response ES STRING «1053 Diners trace ues i Sendl0, 8 "+RST™, 2} Resets te iatument Togge sare beoones Maeda Number of tas eames becomes 512 Number wae eget bacon 16 (or, 1) *Centgres tor optimal AG-ANS sings D. ‘ints see cation Gyn", 5) "Requestor ohamal race ta cate senate. CALE Send{0, 8, ‘Note the WAL boloreTRACe?. The “hl eenvans ek caro athe ‘TRACE? CH command iret when fe Nite commas she tt vet, 8/ sespenses, 258) "Reeth carne rasa ota 942.2 Repetitive acquisitions PROGRAM EXAMPLE: In this example 10 trace acquisitions are done via channel 1. The trace bytes are entered as characters in the string response$, The 10 trace butlers are written to the file TRACE10 on the hard disk. Triggering 's done via the GPIB by sending the *TRG command, " reeponse AS STRING + 1033 “Dinero ce ater cab Send|0, @, "#RST*, 1) + Ress ainarumen *Ttpger sous becomes Mee orbs of aes samples becomes 512 Norbert raceearlatstacomes 16 ‘Contigo pal AC-AMS stings. B) sERIGuer:s0URce BUCY, 1) *Tiggersoune = GPIB AL, TRACE *Opars fle RACE 'C to 10 rd suerta ace acqustens CALL Send/0, 8, “INTTigte", 1 nats ar acquston CALL Seng (0, 8, "TRO", 1) Tigges via ne GRE Chul Senai0, 8, “*WAT/TRAGE? cHi*, 1) *Renuedeforchamel 1 Wace Note te = WA lore TRAGe?, The Wl command aes caret the TRACE? CH command exaosed when te Neto conan tahed CALE Recelve(0, 8, responses, 256) *Reainechanal tare puiwn 41, responees ease race bse te Next Nexteaoesequistion ‘Choa ie TRACETC USING THE COMBISCOPE INSTRUMENTS. 3.4.3 Conversion of race data ‘The trace data Is sent as a block of inary codes. Trace samples can be formatted to consist of 8 bits (1 byte) or 16 bts (2 bytes) codes, which can be seloctod by the FORMat command, Refer to section 3.10.1 "Trace formatting’ for a further ‘oxplanation ofthis command, After *RST the samples are sent as 2 byte codes. Wren samples are formatted as two bytes, the most significant byte (msb) is sent first, folowed by the least signticant byte (Is). The sample values that are sent In the block, are coded according to the two's complement notation. The relation between the screen positions, the values of the trace samples and the decimal value of the corresponding binary codes, is shown in the figure below. ee Tae gma eae samen 027. spot een SERRE fo | 120 foe YO ry ae ae. ia Lcalgge enone af ‘Note: Numbers between parenthesis aply to single byte format Figure 3.11 Relation between screen position and trace value The value of the trace points relate to the vertica! positon of the corresponding ‘sample on the screen of the CombiScope instrument. AS the figure above shows, the sample with value 25600 corresponds with the top positon of the screen Similarly, the samples with values -25600 and 0 correspond to the bottom and ‘mid-position respectively. This applies to trace samples that are formatted 10 consist of 16 bits (2 bytes). The values that apply fo the 8 bit (1 byte) format are: placed between parenthesis, ‘The ADG allows trace acquisitions that are somewhat outside the vertical screen boundaries. Trace acquistions use the ful dynamic range of the ADC. This resus in @ dynamic trace range of 65835 points, whereas the sereen range is lirited to 51200 points. 3:82 USING THE COMBISCOPE INSTRUMENTS 3.4.3.1 Conversion of 6-bit samples to integer ‘As an example a conversion of a trace of $12 "B-bit* samples is shown. The format is as follows: trace bytes: Peeeroeeeee eee #9514 eB> byte I>. «Nk» race sample 512 ‘race sampee + byte with decimal value 8 L_ nr re xt (5) umber of igts.o8 814 PROGRAM EXAMPLE: Inthis example a trace acquisition of 1 byte samples is dane. Thereafter, the trace data is tead and converted to integer samples in the array "trace", and the number of trace bytes and trace samples is printed. The conversion from single byte value to integer is done as follows (refer to figure 3.12): byte - 256. Integer = 255 - 256 ray of 512 egos “ave esponse bute Rates 9 suet Senai9, 8) “FORat iNtezer.e*, 2) *Daafomalof fis sampkes snd, 8, ‘aNETiate". 1) » Sing salon on Sendi0. 8, "#WAE;SRACA? CHL‘, 1) *QuOi6sforchanal trace Receive(9, 8, responses, 2561 ead th chanel Wace "ENT "Number Of Yead bytes ="? 3 ABCHITs = numer fread bfes "The cen he response sing is exampew bo 2 ons: VHBB 1A cho xe coasesur> <> <> storinang LF helof-bytes = VAL(MIDS(responses, 3, 03 PRINT “Number 1s bytes sanple.lengtn = AGCMIIDS (re nr-of samples > nr eI tracets) = ASC(MDS(responses. i +2 + nr.of digits, 1 (i) > 127 THES |= trace(i) ~ 256 USING THE COMBISCOPE INSTRUMENTS 3.4.3.2 Conversion of 16-bit samples to integer ‘As an example a conversion of & trace of 12 "16-bit" samplas is shown, The format is as follows: ‘rave bytes ee 441026 <16> core rv i | Trace sample S12 trace sams by wih social valu 16 numero race byes (1026) umber o cits of 1026 PROGRAM EXAMPLE In this example a trace acquistion of 2 byte samples is done. Thereatter, the trace ‘ata is read and converted to integer samples in the aray “race”, and the number of trace byles samples is printed, The conversion from double byte (byto1 = msb and byte2 = [sb to integer Is done as follows (refer to figure 8.12) lfbytet < 128 then integer = bytet * 256 « byte2 bytet > 128 then integer = (byte - 256) + 256 + byte2. Example: tytet = 255 & byte2 = 32 ~> integer = (255 - 256) « 256+ 22 = - 224. 51 ‘asa o512 eters Ix response AS STRING + 1033 Trace esorse hfe CALL Senat0, 8, *+RS-, 1 ‘Rosse nse Sos 1ti sare dt format Hh Gendt, 8, tmNR 1 Sraie satiation 2) “ies carne ce ead re cance 1 tae cure TRCN = erg ol race butler “Te orton tn eponos stg fh crap wl bo s flo F410 26 <6 emsbls , eTSSI2> eSIZ> um> D> ambor of nach PRINT “Number SV hrof.digits, 1 (samote-longch / & nes =") ar .of -eanples Ponertorea save ost Sacer ie 11) Laas Sgntean pe 258 + nycer 3.94 USING THE COMBISCOPE INSTRUMENTS 348.3 Conversion to voltage values ‘Screen positions correspond to voltage values. This relation is shown inthe igure below, and Is detormined by the settings that are programmed by the SENSo:VOLTage:RANGE:PTPeak and SENSe:VOLTage:RANGe OFFSat ‘commands. outs ao 25609) 300 saree 28 Figure 3.12 Relation between screen position and amplitude value ‘The relation between the screen position Ps and the corresponding voltage amplitude Vs is expressed by the equations: Vs = (Ps * PTPeak) / 200 - OFFSet (for &-bit sample traces) Ve=(Pe* PTPeak)/51200-OFFSet —_for 16-bit samplo traces) ‘As explained in section 3.4.3, there is also a relation between the soreen position Ps and the value Ts ofa trace sample. This relation is expressed by the equations: Ps=ts {for 8-bit sample traces) Ps = (Ts / 25600) # 100 = Ts /256 {for 16-bit sample traces) Eliminating Ps from the preceding equations results in a relation that can be used to calculale the vollage value Vs from a trace sample Ts. This relation is expressed by the equations: Vs = (Ts / 200) + PTPoak - OFFSet (lor 8-bit sample traces) (Te/51200)* PTPeak-OFFSet —_—_(or 16-bit sample traces) USING THE COMBISCOPE INSTRUMENTS. 3-35 PROGRAM EXAMPLE: In this program exarnple @ trace of 512 samples from the aciual signal at input channel tis read, The received data block's converted to an array of valiages. After ‘each sample conversion the voltage value is printed. This program example works for traces of 512 samples, consisting of 8 bits (1 byte) or 16 bits (2 byles) samples. Note: The program is supplied on foppy under file name EXCNVTRC.BAS. 2(522) ray ofsanploheges nse AS STRING * “ace deta osonte sting op AS SERENG + 20 Peat peak eaponsesting DIM offs AS STRING > 10 Ofoet apere rg ‘Rose reinsrunert (Pigura:ac (@1)", 1) *Coniguestoropimal ACAWSsstings “Sigal ae aecones 20 8, cumrniares, Inte sng equstin 8) ‘uaz; TRACE? CHL, 1) “Reqs crane eant Receive(o, 8, responses, 286) ads heme! ace prof digits = vaL(amps (responses. 2.10) nelof bytes » VALIMEDS (responses, 3, nr.of-digitel) - Sarole. length = ASCMTDS (responses i nad, ‘Quaes s CALL Receivell, @, peaktops, "Rete 2 Bepeak © VAL (GETS (peaktops. TRCNT8)) BOT eng Cai Sena\((, 8, *SENBe:VOLEage :RUICe:OFFSe Ques st AGL Receive G 288 "Roasts, aeewray | CNT = enh TO or-of. samples ‘bye samplas +3 + nr.of aigite, 1) 2) THEN traces = cranes” 256 Bw IP sanple|i} = tracet / 200 ptpeak ~ offset nT aaa} 10 nr.of, samples 2a sanlas 22+ nrvot aig Pair at sample ast aHnds (res; “MISE. ASCIMIDE: 1188, tracet = (byee: sample{i} = tracet / 512 PRINT sanple(i}s . 36 USING THE COMBISCOPE INSTRUMENTS, 3.5 Averaging Acquisition Data Acquired traces and measured signal characteristics can be averaged over a umber of acquisitions. The preprocessing AVERAGE function of the (CombiScopes instruments can be enabied by using the SENSe:AVERage[STATe) command, When this function Is set to ON, averaging is done according to the ‘following formula: AVG, = Tyree Nye In the expression, n specties the number of acquisitions that is averaged. This parameter can be programmed by using the SENSe:AVERage:COUNL ‘command. X represents the acquisition result to be averaged. Example Send —> SENSs:AVERage:COUnt 16 ' This sets the average count factor at 16, which means 16 sequential acquisitions are averaged. Send > SENSe:AVERage ON "This enables the AVERAGE function When SENSe:AVERage is set to ON and an acquisition is inated, the ‘GompiScope instrument takes n (SENSe:AVERage:COUNt) successive ‘acquisitions, as shown inthe figure on the next page. When sufficient acquiitons fare taken, the final averaged result is returned. Intermediate results cannot be queria PROGRAM EXAMPLE: ‘Acquire the trace of the actue! signal on channel 1 and measure the amplitude ‘and frequency (averaged over 4 acquisitions) DIM teace Ag STRING + 1033, “Dimesions taco sting DIM anpistude AS STRING + 20 Drees empie ng STRING + 1 * Dimensions regency tig . guce:aC (61) ", 1) ‘Configures fo: ARMS e ecavahage:COUNt 4, 1) ‘Ave facter= CALL Send(0, 2, “SENSe:AVERege ONT, 1) asap i wneder CALL Sena(o, € *murTiace*, 1) “Ina ie avraprgscusion saat TRE? CHI, 1 *Quvies or name race 8, sraces, 256) "eas chanel ace "The Wace sages seaged over 4 equa race acictlons CALL Send(0, 8, "READsaMPLitude?", 1) “Reads the arpliate 8, ampLicudes, 256 Ens the ante rch: FREQuency?", 1) Foes te roguercy CALL Raveswel0, 2, frequoncy$, 256) rs ha aquensy The ample quency ae averaged ove seqent measured ves USING THE COMBISCOPE INSTRUMENTS. 3:97 ‘The following diagram shows the possible states of the acquisition process when averaging’ is on, and the way they ave affected by commands. ae 1 Eo cho! Figure 3.13 The Trigger Model during acquisition averaging 3-98 USING THE COMBISCOPE INSTRUMENTS 3.6 Channel Selection Input channels can be suitched on or off by using the SENSe:FUNCtion|:ON] or SENSe:FUNCtion:OFF commands. An input channel is selected by spectying the parameter "XTiMe:VOLTage", whore the numeric sufix specifies the Input channel qumber. After a *RST command, channe! 1 is tured on and the other channels of (including tne EXTemal input for PM3SxOA). ‘Adition of tno channels can be selected by specifying the "XTIMe: VOLTage:SUM" parameter as follows: > Addition of CH1 and C2: °XTIMe:VOLTage:SUM 1,2" > Addition of CH3 and CHa: "XTIMe:VOLTage:SUM 3.2" Note: Enabling of the adaiton of input channels (0.9. CHO+CH4), automatically switches channel 3 and channel 4 on. Disabling of the ‘dition of two channels (2.9. CH8+CH4), automatically switches ‘channel 3 and channel 4 off, provided at least one channel remains on. Programming tip: HM CH1+CH2 is on and CHS and CHA are off, CH1+CH2 cannot be programmed off by sending: SENSE:FUNCtion:OFF "XTIME:VOLTage:SUM 1,2" Instead, sond the command: SENSe:FUNCton:ON "XTIME:VOLTagea” ‘Sets CH2 on i | = ob tt | et L * wa itioot Heh eh a) He —{~H +1 ass el Figure 8.14 Input channel contrat PROGRAM EXAMPLE: vouragessa 1,2", 1) + Seis CHHORR on CALL Send, 8, *SENGe+FUNCEion:ON “xTINe:VOUTage2*, 1)” "Sexe CH2 on, CHI sCH2 oft, CHI romans of USING THE COMBISCOPE INSTRUMENTS. 3-99 3.7. Signal Conditioning The INPut subsystem allows you to condition the input signals, such as AC/DC/GROund coupling, input fitering, and input impedance selection. In the digitat made, the SENSe VOLTage:RANGe:AUTO command allows you to enable autoranging of the attenuation for each of the input channels ‘separately als || Figure 3.18 Signal conditioning 3.7.1 AC/DC/ground coupling “The INPuten>:COUPiing commanc allows youto set the vertical input coupling at ‘AC, DC, or GROund for each input channel separately. After a *AST command, all input channels are DC coupled. PROGRAM EXAMPLE: CALL Sena(D, 8, *INPuE:COUPLing AC*) LD Sets chrnelt AC cused CALE Sendt0, 8, “2 suing GRound*, 1)’ Setschantel goune cold 3-40 USING THE COMBISCOPE INSTRUMENTS 3.7.2 Input filtering ‘The INPutFiLTer command allows you 10 tum the common fow-pass filter (bandiwicth limiter) on or off for all input channels at the same time. The cutott frequency is fixed at 20 MHz, Alter a *RST command, the iter Is turned oft PROGRAM EXAMPLE: cumpatsezuter ont, L Tums eer n HINGE SETL to sFRBQuency?*, 1) Raquaes forthe ier requney CALL Receive(0, 8. respons PRDED +7 4 > ~Raoss te er requancy 7 responses Pres Fier = 2008407 3.7.3 Input impedance ‘The INPutIMPedance command allows you to specify the input impedance low (60 £2) or high (1 MQ) for each input channel separately, After a *AST ‘command, the impedance of each input channel is 1 MQ. PROGRAM EXAMPLE: cat Sendo, 8, "uNbuce s 1) Sets chame aimpecence at 5002 3.7.4 Input polarity ‘The INPuten>:POLarly command allows you to set the polarity of the signal on the input channol2 and 4. The polarity can be get to NORMal (dofault} or INVerted (inverted signa. PROGRAM EXAMPLE: fend 0, @, *2MPut2:POLarity NORMAL Sena(0, 8, *uNFutd:Pouarity ze 11 ‘Sev oro on ) Sein Con 3.7.5 Vertical range and offset ‘The SENSe:VOLTags:RANGo:PTPeak command allows you to specify the eakcto-peak range of the signal acquisition over all 8 divisions of the display ‘screen for each Input channel separately. From this peak-to-peak value the vertical sensitivity por division is caleulated as follows: = / 8. Attora +RST command, the peak-to-peak value is et at 1.8V for channel 1, wich complies to a vertical sensitivity of 200 mv.

You might also like