$XWRUDQJLQJ &RPEL6FRSH ,QVWUXPHQW I 30 % 30 % 30 % 30 % 30 % SCPI Users Manual 02/- Nov-1998 ®
II TRADEMARKS Microsoft, and Microsoft QuickBASIC are trademarks of Microsoft Corporation. IBM is a registered trademark of International Business Machines Corporation. CombiScope is a trademark of Fluke Corporation. PCIIA is a trademark of National Instruments Corporation. HPGL is a trademark of Hewlett-Packard Company. Copyright 1996, 1998 Fluke Corporation All rights reserved. No part of this manual may be reproduced by any means or in any form without written permission of the copyright owner.
III CONTENTS Page 1 ABOUT THIS MANUAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 1.1 What this Manual Contains . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 2 GETTING STARTED WITH SCPI PROGRAMMING . . 2-1 2.1 Preparations for SCPI Programming . . . . . . . . . . . . . . . . . . . . . . 2-1 2.1.1 System setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1 2.1.2 Programming environment . . . . . . . . . . . . . . . . . . . . . . . .
IV 3.3 Measuring Signal Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . 3-8 3.3.1 The MEASure? query . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-8 3.3.2 Benefits of using parameters . . . . . . . . . . . . . . . . . . . . . . . . 3-9 3.3.3 Waveform measurements . . . . . . . . . . . . . . . . . . . . . . . . . 3-11 3.3.4 Customizing settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-13 3.3.5 Multiple measurements . . . . . . . . . . . . . . . . . . . . . .
V 3.9 Post Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-45 3.9.1 How to do post processing . . . . . . . . . . . . . . . . . . . . . . . . . 3-45 3.9.1.1 Select the source for the post processing function. . . . 3-45 3.9.1.2 Specify the settings of the post processing function. . . 3-46 3.9.1.3 Enable the post processing function. . . . . . . . . . . . . . . 3-46 3.9.1.4 Check the result of the post processing function. . . . . . 3-47 3.9.
VI 3.16 Saving/Restoring Instrument Setups . . . . . . . . . . . . . . . . . . . . . 3.16.1 How to restore initial settings . . . . . . . . . . . . . . . . . . . . . . . 3.16.2 How to save/restore a setup via instrument memory . . . . . 3.16.3 How to save/restore a setup via the GPIB controller . . . . . 3-78 3-78 3-78 3-78 3.17 Front Panel Simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-79 3.17.1 How to simulate the pressing of a front panel key . . . . . . . 3-79 3.17.
VII B CROSS REFERENCES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-1 B.1 Cross Reference Front Panel Keys / Commands . . . . . . . . . . B-1 B.2 Cross Reference Softkey Menus / Commands . . . . . . . . . . . . B-3 B.2.1 ACQUIRE menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-3 B.2.2 CURSORS menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-4 B.2.3 DISPLAY menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-5 B.2.
ABOUT THIS MANUAL 1-1 1 ABOUT THIS MANUAL The SCPI Programming Manual for the CombiScope instruments describes 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 SCPI programming manual for the CombiScopes instruments contains.
1-2 ABOUT THIS MANUAL Appendix A APPLICATION PROGRAM EXAMPLES Appendix A describes some application program examples. The application programs are supplied on floppy. Appendix B CROSS REFERENCES Appendix B gives cross references between SCPI commands and front panel keys, softkey menu options, and instrument functions. Appendix C MANUAL CONVENTIONS Appendix C explains which abbreviations and symbols are used in the manual. It also gives a list of the tables, figures, and documents referenced.
GETTING STARTED WITH SCPI PROGRAMMING 2-1 2 GETTING STARTED WITH SCPI PROGRAMMING 2.1 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:) are given in the following sections. These program examples can be executed one at a time or chained together for a complete tutorial. The program examples are based on the system and programming environment as described below.
2-2 GETTING STARTED WITH SCPI PROGRAMMING The parameters of these drivers are defined by the device handler GPIB.COM and by the QuickBASIC program code. The following drivers and parameters are used in the program examples: • The IEEE-488.2 driver "Send" is used to send a command or query to an instrument. CALL Send (, , , ) • The IEEE-488.2 driver "SendSetup" is used to prepare one or more devices to receive data bytes.
GETTING STARTED WITH SCPI PROGRAMMING 2-3 • A response string sent by the instrument as a response to a query. • An "end of text" indication: 0 = program message to be continued (no action) 1 = end of program message (sends End-message + EOI true) • A "terminate" indication: 0 = response message to be continued (no detection of EOL character) 256 = end of response message (stops reading after EOL character) • A time out indication, e.g.
2-4 GETTING STARTED WITH SCPI PROGRAMMING 2.2 Initializing the CombiScope Instrument 2.2.1 How to reset the CombiScope instrument The instrument itself can be reset by sending the *RST command. This sets the instrument to a fixed setup optimized for remote operation. The status and error data of the instrument can be cleared by sending the *CLS command.
GETTING STARTED WITH SCPI PROGRAMMING 2-5 2.3 Error Reporting Instrument errors are usually caused by programming or setting errors. They are reported by the instrument during the execution of each command. To make sure that a program is running properly, you must query the instrument for possible errors after every functional command. This is done by sending the SYSTem:ERRor? query or the STATus:QUEue? query to the instrument, followed by reading the response message.
2-6 GETTING STARTED WITH SCPI PROGRAMMING 2.4 Acquiring Traces Trace acquisitions are started via the INITiate commands. A single acquisition is done by sending a single INITiate command. Continuous acquisitions are done by sending the INITiate:CONTinuous ON command. The TRACe? query allows you to acquire a trace of signal samples from one of the following sources: • • An input channel, e.g., CH2 (input channel 2). A trace area in a memory register, e.g., M2_3 (Memory register 2, trace 3).
GETTING STARTED WITH SCPI PROGRAMMING 2.4.1 2-7 How to acquire a single shot trace In the program example, a single shot trace acquisition of 8192 8-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 number of samples are printed. The TRIGger:SOURce command is used to specify input channel 1 as a trigger source. The TRIGger:LEVel command is used to reset the trigger level to e.g., 0.
2-8 2.4.2 GETTING STARTED WITH SCPI PROGRAMMING How to acquire repetitive traces In the program example, 5 trace acquisitions of 512 16-bit samples are done via a probe connected to channel 2. The trace sample bytes are read from the GPIB as string characters and written to the file TRACE5.DAT on the hard disk. PREPARATIONS: • Connect a probe from the Probe Adjust signal to channel 2. PROGRAM EXAMPLE: ’***** ’Acquire 5 sequential traces and store in file TRACE5.
GETTING STARTED WITH SCPI PROGRAMMING 2-9 2.5 Measuring Signal Characteristics The measurement instructions allow you to make a complete measurement. This includes the configuration of the instrument, the initiation of the trigger system, and the fetching of the acquisition data. The measurement instructions can be used at different levels, varying in processing time. The highest level is the most easy to use, but takes more time to complete than the lowest level.
2 - 10 2.5.1 GETTING STARTED WITH SCPI PROGRAMMING How to make a single shot measurement The MEASure? query allows you to make a single-shot measurement, and the FETCh? query allows you to fetch more signal characteristics. PROGRAM EXAMPLE: ’***** ’Measure and print the AC-RMS, peak to peak, and amplitude of ’the signal on channel 1.
USING THE COMBISCOPE INSTRUMENTS 3-1 3 USING THE COMBISCOPE INSTRUMENTS 3.1 Introduction This chapter explains how to access the functions of the CombiScope instruments family in a remote programming environment. For that purpose, the CombiScope instrument is equipped with an IEEE-488 compatible GPIB interface and implements a full SCPI compatible command set which provides an extensive range of remote control facilities. Traditionally, there was no standard for the remote operation of instruments.
3-2 USING THE COMBISCOPE INSTRUMENTS As the example already shows, the commands are easy to learn and selfexplanatory to both novice and expert users. The learning curve is considerably decreased for new instruments or instrument functions with which the programmer is not familiar. Efficiency is not only gained when creating or debugging new application programs.
USING THE COMBISCOPE INSTRUMENTS 3-3 3.2 Fundamental Programming Concepts The remote 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 benefits and trade-offs. 1) Using measurement instructions Advantage: Easy to program. No instrument knowledge required to make measurements.
3-4 USING THE COMBISCOPE INSTRUMENTS Trade-off: This way of programming is cumbersome and tricky, because additional information on the front panel display is not always available remotely. Example: DISPlay:MENU TRIGger Activates the TRIGGER softkey menu. SYSTem:KEY 4 Simulates the pressing of softkey 4. The effect is that TRIGGER menu option "noise" is switched on or off. 3.2.
USING THE COMBISCOPE INSTRUMENTS 3-5 The measurement instructions are easy to use and do not require any special knowledge of the instrument. The programming concept reduces simple measurement tasks with complex instruments to simple instructions, leaving the setup complexity to the instrument. The measurement instructions are extremely useful when the application does not require the precise setting of instrument functions.
3-6 USING THE COMBISCOPE INSTRUMENTS Functions in a particular subsystem are always controlled by commands that begin with the name of that subsystem. For example, a command that programs the input coupling is INPut:COUPling 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 INPut:IMPedance 50.
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, which are the cursor settings. Read ← Reads the cursor settings. . . Send → SYSTem:SET 3.2.4 Restores the cursor settings. Front panel simulation This concept allows you to send commands that simulate the pressing of a front panel key.
3-8 USING THE COMBISCOPE INSTRUMENTS 3.3 Measuring Signal Characteristics As explained in section 3.2.1 "Measurement instructions", the measurement instruction set is a 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 returns the desired result.
USING THE COMBISCOPE INSTRUMENTS 3.3.2 3-9 Benefits of using parameters The generic form of a measurement instruction is as follows: MEASure[:VOLTage]:? [[,]][,] The :VOLTage keyword is a default node, which specifies the signal characteristic to be measured, relates to the voltage component of the signal. The specifies the desired signal characteristic.
3 - 10 USING THE COMBISCOPE INSTRUMENTS Examples: MEASure:AMPLitude? This query measures 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 of a signal at channel 2 (@2). But, since it specifies the expected voltage value (10 volts), it will complete the measurement faster.
USING THE COMBISCOPE INSTRUMENTS 3.3.3 3 - 11 Waveform measurements The following figure shows the terms used for pulse measurements and the key words that are used as header nodes in the measurement instructions. TMAXimum MAXimum HIGH RISE OVERshoot RISE TIME FALL TIME FALL PREShoot PTPeak AMPLitude REFerence HIGH REFerence MIDDle REFerence LOW LOW RISE PREShoot FALL OVERshoot MINimum TMINimum PWIDth NWIDth PERiod Figure 3.
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 its amplitude. MEASure:RISE:TIME? 20,80 Measures the time interval during which the pulse at the default channel 1 increases from 20% to 80% of its amplitude.
USING THE COMBISCOPE INSTRUMENTS 3.3.4 3 - 13 Customizing settings Often, you need more precise control of the measurements than possible with the MEASure? query. The combination of CONFigure and READ? is provided to allow you to program one or more settings that are 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 and parameters as MEASure?.
3 - 14 USING THE COMBISCOPE INSTRUMENTS READ? Requests to execute the default DC measurement. Since this is not possible with the chosen configuration, an execution error is generated and no result is returned. CONFigure:RISE:TIME Configures the CombiScope instrument to perform a rise time measurement. READ:RISE:OVERshoot? Requests to read the rise time overshoot.
USING THE COMBISCOPE INSTRUMENTS 3 - 15 READ:FREQuency? Starts the acquisition and returns the measured frequency. READ:FREQuency? Starts a next acquisition and returns the new frequency result. READ:FREQuency? Etc. 3.3.6 Multiple characteristics from a single acquisition. It is often necessary to determine several signal characteristics from the last acquired waveform. Starting a new acquisition, as READ? and MEASure? do, is undesired.
3 - 16 3.3.7 USING THE COMBISCOPE INSTRUMENTS Trigger control via GPIB You need a separate GPIB command to start a measurement synchronized with other 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 so, because such a setup causes a query error. With the INITiate[:IMMediate] and FETCh? concept, it is possible to meet the requirements of such applications.
USING THE COMBISCOPE INSTRUMENTS 3.3.8 3 - 17 Fetching characteristics from memory traces The FETCh? query not only allows you to determine a characteristic from the last acquired waveform, it also allows you to calculate a signal characteristic from a waveform that is stored in a trace memory element. Example: FETCh:RISE:TIME? (@M3_4) Calculates and returns the default rise time from a waveform that is stored in trace memory M3_4.
3 - 18 USING THE COMBISCOPE INSTRUMENTS 3.4 Acquisition 3.4.1 Acquisition control Several commands exist to control the acquisition process. The following diagram shows the possible states of the acquisition process, and the way they are affected by commands.
USING THE COMBISCOPE INSTRUMENTS 3 - 19 or by setting INITiate:CONTinuous to ON. The INITiate[:IMMediate] command causes the CombiScope instrument to perform one complete acquisition cycle. Upon completion of the cycle the instrument returns to the IDLE state. The INItiate:CONTinuous command is used to select whether the instrument is continuously initiated or not. When INItiate:CONTinuous is set to ON, the instrument immediately exits IDLE and starts an acquisition cycle.
3 - 20 3.4.1.1 USING THE COMBISCOPE INSTRUMENTS Triggering After the measurement is initiated, the CombiScope instrument starts the real acquisition when the trigger conditions are satisfied, e.g., when the selected trigger event occurs. The trigger conditions can be ignored during a specific holdoff time, which can be programmed using the TRIGger:HOLDoff command. During the hold-off time the event detector is inhibited from acting on any trigger.
USING THE COMBISCOPE INSTRUMENTS 3 - 21 Trigger Slope The TRIGger:SLOPe command allows you to define the trigger edge for all input channels, which can be POSitive, NEGative, or EITHer. After a *RST command the TRIGger:SLOPe is set to POSitive. PROGRAM EXAMPLE: CALL Send(0, 8, "CONFigure:PTPeak (@2)", 1) ’Configures channel 2 CALL Send(0, 8, "SENSe:FUNCtion 'XTIMe:VOLTage2'", 1) ’Sets channel 2 ON CALL Send(0, 8, "TRIGger:SOURce INTernal2", 1) ’Trigger source = channel 2 CALL Send(0, 8, "TRIGger:LEVel 0.
3 - 22 USING THE COMBISCOPE INSTRUMENTS DC COUPLING (0 Hz cutoff frequency): DC coupling causes the signal to be passed over the full bandwidth (from 0 Hz to 60/100/200 MHz). 0dB -3dB DC COUPLING DC FULL BANDWIDTH FREQ. ST7427 Figure 3.4 DC Coupling PROGRAM EXAMPLE: *** *** Select DC coupling on input signal channel 2. SENSe:FUNCtion:ON "XTIMe:VOLTage2" Sets CH2 on. INPut2:COUPling DC Sets CH2 input signal DC coupled. TRIGger:SOURce INTernal2 Sets trigger source = CH2.
USING THE COMBISCOPE INSTRUMENTS 3 - 23 LF-REJECT (30 KHz cutoff frequency): LF reject (HF passed) causes the signal to be passed from the cutoff frequency (30 KHz) to the full bandwidth frequency (60/100/200 MHz). LF -REJECT 0dB -3dB 30kHz FULL BANDWIDTH FREQ. ST7428 Figure 3.6 LF Reject PROGRAM EXAMPLE: TRIGger:FILTer:LPASs:STATe ON TRIGger:FILTer:LPASs:FREQuency 3E+4 Sets Low-Pass filter on + cutoff frequency = 0 Hz (DC coupling).
3 - 24 USING THE COMBISCOPE INSTRUMENTS The video trigger mode can be programmed to field1, field2, or lines using the TRIGger:VIDeo:FIELd... commands. The video trigger line can be programmed using the TRIGger:VIDeo:LINE command. The video system can be selected using the TRIGger:VIDeo:FORMat:... commands.
USING THE COMBISCOPE INSTRUMENTS 3.4.1.3 3 - 25 The trigger modes A combination of the INITiate:CONTinuous and TRIGger:SOURce command allows you to define the following trigger modes: INITiate :CONTinuous TRIGger :SOURce >>>Single-shot<<< Generates one sweep, regardless of any trigger settings (valid after *RST). OFF IMMediate >>>Single-shot<<< Generates one sweep, triggered using trigger settings.
3 - 26 USING THE COMBISCOPE INSTRUMENTS Only in the single-shot and multiple-shot trigger mode (INITiate:CONTinuous OFF), the bits 3 (SWEeping) and 5 (Waiting for TRIGger) in the OPERation status are valid. Also the Operation Complete bit (OPC bit 0) in the standard Event Status Register (ESR) is valid. This allows you to detect whether the instrument is armed (initiated), triggered (busy with acquisition), or finished with the last acquisition, i.e., ready for the next acquisition.
USING THE COMBISCOPE INSTRUMENTS 3.4.1.4 3 - 27 Pre- and post-triggering When pre-triggering is selected, the real trace acquisition begins before the moment that the trigger occurs. Triggering occurs when the trigger conditions are satisfied and the instrument leaves the "Wait for TRIGger" state as shown in the trigger diagram of figure 3.3. In a similar way, post-triggering causes the acquisition to begin after the moment that the trigger occurs.
3 - 28 3.4.1.5 USING THE COMBISCOPE INSTRUMENTS External triggering External triggering is only possible for the PM33x0B CombiScope instruments. Channel 4 is used as the external trigger channel with the following view possibilities: - attenuator positions 0.1 and 1 V/div (AMP key). - trigger slope positive or negative (EXT TRIG key). - trigger coupling AC or DC (AC/DC key).
USING THE COMBISCOPE INSTRUMENTS 3.4.2 3 - 29 Reading trace acquisitions Once acquisitions are completed, the resulting traces ares placed in TRACe memory, as shown in the following figure. INPut TRACe SENSe memory @1 INPut[1] :VOLTage[1] CH 1 @2 INPut2 :VOLTage2 CH 2 :SWEep @3 INPut3 :VOLTage3 CH 3 @4 INPut4 :VOLTage4 CH 4 Main Time Base ST7160 Figure 3.10 The trace acquisition flow The last acquired trace at input channel 1 is placed in the TRACe memory element named CH1.
3 - 30 3.4.2.1 USING THE COMBISCOPE INSTRUMENTS Single-shot acquisition PROGRAM EXAMPLE: In this example a single-shot trace acquisition is done via channel 1. The trace bytes are entered as characters in the string response$.
USING THE COMBISCOPE INSTRUMENTS 3.4.3 3 - 31 Conversion of trace data The trace data is sent as a block of binary codes. Trace samples can be formatted to consist of 8 bits (1 byte) or 16 bits (2 bytes) codes, which can be selected by the FORMat command. Refer to section 3.10.1 "Trace formatting" for a further explanation of this command. After *RST the samples are sent as 2 byte codes.
3 - 32 3.4.3.1 USING THE COMBISCOPE INSTRUMENTS Conversion of 8-bit samples to integer As an example a conversion of a trace of 512 "8-bit" samples is shown. The format is as follows: trace bytes # 3 5 1 4 <8> . . . trace sample 512 trace sample 1 byte with decimal value 8 number of trace bytes (514) number of digits of 514 PROGRAM EXAMPLE: In this example a trace acquisition of 1 byte samples is done.
USING THE COMBISCOPE INSTRUMENTS 3.4.3.2 3 - 33 Conversion of 16-bit samples to integer As an example a conversion of a trace of 512 "16-bit" samples is shown. The format is as follows: trace bytes # 4 1 0 2 6 <16> . . . trace sample 512 trace sample 1 byte with decimal value 16 number of trace bytes (1026) number of digits of 1026 PROGRAM EXAMPLE: In this example a trace acquisition of 2 byte samples is done.
3 - 34 3.4.3.3 USING THE COMBISCOPE INSTRUMENTS Conversion to voltage values Screen positions correspond to voltage values. This relation is shown in the figure below, and is determined by the settings that are programmed by the SENSe:VOLTage:RANGe:PTPeak and SENSe:VOLTage:RANGe:OFFSet commands.
USING THE COMBISCOPE INSTRUMENTS 3 - 35 PROGRAM EXAMPLE: In this program example a trace of 512 samples from the actual signal at input channel 1 is read. The received data block is converted to an array of voltages. 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 bytes) samples. Note: The program is supplied on floppy under file name EXCNVTRC.BAS.
3 - 36 USING THE COMBISCOPE INSTRUMENTS 3.5 Averaging Acquisition Data Acquired traces and measured signal characteristics can be averaged over a number of acquisitions. The preprocessing AVERAGE function of the CombiScopes instruments can be enabled by using the SENSe:AVERage[STATe] command. When this function is set to ON, averaging is done according to the following formula: AVG n = ∑ ( X1 + .. + Xn ) ⁄ n In the expression, n specifies the number of acquisitions that is averaged.
USING THE COMBISCOPE INSTRUMENTS 3 - 37 The following diagram shows the possible states of the acquisition process when "averaging" is on, and the way they are affected by commands. IDLE state *RST ABORt power on INIT or INIT:CONT ON No Yes INITiated state No Yes INIT:CONT ON Wait for AVERage state Yes No SENSe:AVERage:COUNt LINE TRIGger :SOURce INTernal IMMediate TRIGger :LEVel :SLOPe Wait for trigger Wait for complete 1 acquisition + averaging ST7189 Figure 3.
3 - 38 USING THE COMBISCOPE INSTRUMENTS 3.6 Channel Selection Input channels can be switched on or off by using the SENSe:FUNCtion[:ON] or SENSe:FUNCtion:OFF commands. An input channel is selected by specifying the parameter "XTIMe:VOLTage", where the numeric suffix specifies the input channel number. After a *RST command, channel 1 is turned on and the other channels off (including the EXTernal input for PM33x0A).
USING THE COMBISCOPE INSTRUMENTS 3 - 39 3.7 Signal Conditioning The INPut subsystem allows you to condition the input signals, such as AC/DC/GROund coupling, input filtering, and input impedance selection. In the digital mode, the SENSe:VOLTage:RANGe:AUTO command allows you to enable autoranging of the attenuation for each of the input channels separately.
3 - 40 3.7.2 USING THE COMBISCOPE INSTRUMENTS Input filtering The INPut:FILTer command allows you to turn the common low-pass filter (bandwidth limiter) on or off for all input channels at the same time. The cutoff frequency is fixed at 20 MHz. After a *RST command, the filter is turned off.
USING THE COMBISCOPE INSTRUMENTS 3 - 41 Because the programmed PTPeak and OFFSet values directly affect the trace values, they can be used to calculate the voltage amplitude of the corresponding trace samples. As explained in section 3.4.3.
3 - 42 USING THE COMBISCOPE INSTRUMENTS 3.8 Time Base Control In the digital mode, the SENSe:SWEep:TIME:AUTO command allows you to enable autoranging of the main timebase (MTB). 3.8.1 Number of samples The TRACe:POINts command allows you to set the number of sample points, which is the total acquisition length for all traces. The number of samples is limited to discrete values; refer to the TRACe:POINts command reference for a detailed specification of these values.
USING THE COMBISCOPE INSTRUMENTS 3 - 43 PROGRAM EXAMPLE: CALL Send(0, 8, "SENSe:SWEep:TIME?, 1) CALL Receive(0, 8, STIME$, 256) CALL Send(0, 8, "TRACe:POINts? CH1, 1) CALL Receive(0, 8, TPOINTS$, 256) SWETIM = VAL(STIME$) TRAPOI = VAL(TPOINTS$) MTB = 50 * SWETIM / (TRAPOI-1) PRINT "Main Time Base ="; MTB ’Requests sweep time ’Reads sweep time ’Requests number of trace points ’Reads number of trace points ’Converts string to variable ’Converts string to variable ’Calculates the MTB ’Prints the MTB In a s
3 - 44 3.8.4 USING THE COMBISCOPE INSTRUMENTS Autoranging time base The AUTO RANGE function of the Main Time Base (MTB) adjusts the time base automatically, so that two to six waveform periods are displayed on the screen. If a waveform doesn't contain enough information to calculate its period, the time base is adjusted to acquire a minimum of two periods. One period of a signal is determined by three successive crossings of the hysteresis band with the input signal.
USING THE COMBISCOPE INSTRUMENTS 3 - 45 3.9 Post Processing TRACe CH 1 M1_1 M2_1 M3_1 M50_1 CH 2 M1_2 M2_2 M3_2 M50_2 CH 3 M1_3 M2_3 M3_3 M50_3 CH 4 M1_4 M2_4 M3_4 M50_4 CALCulate1 SENSe CALCulate2 ST7161 Figure 3.17 3.9.1 Post processing control How to do post processing The post processing functions CALCulate1 and CALCulate2 comply with the front panel functions MATH1 and MATH2 of the CombiScope instrument. They work only in the digital mode.
3 - 46 USING THE COMBISCOPE INSTRUMENTS CALCulate TRACe CH 1 M1_1 M2_1 M3_1 M50_1 CH 2 M1_2 M2_2 M3_2 M50_2 CH 3 M1_3 M2_3 M3_3 M50_3 CH 4 M1_4 M2_4 M3_4 M50_4 CALCulate[1] SENSe CALCulate2 CALCulate:FEED "M3_2" ST7162 CALCulate2:FEED "M2_4" Figure 3.18 3.9.1.2 Post processing feed definition Specify the settings of the post processing function. When desired, specify the settings of the post processing function to be used.
USING THE COMBISCOPE INSTRUMENTS 3.9.1.4 3 - 47 Check the result of the post processing function. The results of the post processing functions :MATH :TRANsform:FREQuency :TRANsform:HISTogram are stored in M1_1 for CALCulate1 and in M2_1 for CALCulate2, regardless of the input (feed) trace. The results of the post processing functions :FILTer:FREQuency :INTegral :DERivative (or :DIFFerential) are stored in M1_n or M2_n, depending of the input source.
3 - 48 3.9.2 USING THE COMBISCOPE INSTRUMENTS Mathematical calculations Mathematical calculations can be performed on 2 traces using the CALCulate1:MATH and CALCulate2:MATH functions. These functions comply with the front panel features MATH1 and MATH2 respectively. The calculation can be an addition (+), a subtraction (-), or a multiplication (*). The attenuation of the resulting trace is automatically set higher than the sum of the attenuations of the individual traces.
USING THE COMBISCOPE INSTRUMENTS 3 - 49 Scaling can be adjusted with the "CURSORS TRACK and delta" knobs via the MATHPLUS - PARAM menu option. PROGRAM EXAMPLE: CALL Send(0, 8, "CALCulate:INTegral:STATe ON", 1) ’Integral CALC1 on CALL Send(0, 8, "CALCulate2:DERivative:POINts 35", 1)’35 differential points CALL Send(0, 8, "CALCulate2:DERivative:STATe ON", 1) ’Differential CALC2 on 3.9.
3 - 50 screen range USING THE COMBISCOPE INSTRUMENTS top - - - - ------------------mid - - - - ------------------bottom - - Figure 3.
USING THE COMBISCOPE INSTRUMENTS 3 - 51 Absolute FFT amplitudes are calculated from the true signal using the information on the actual attenuator setting in the range from 5 V/div. to 2 mV/div. This results in an offset value to be added to the relative FFT amplitude for each attenuator setting. In any attenuator setting, the reference level for the absolute FFT value is calculated from a peak-to- peak amplitude of a sine wave on a screen of 6.34 divisions.
3 - 52 USING THE COMBISCOPE INSTRUMENTS dBm - 50Ω offset calculation: From the Vrms offset value the dBm-50Ω offset value is calculated as follows: 10 dBm – 50Ω offset = 20 * log ( Vrms offset ⁄ 0,2236068 ) Note: ( P *R ) = ( 1E-3 *50 ) = 0,2236068 Example for attenuator setting 0.5 V/div.
USING THE COMBISCOPE INSTRUMENTS 3 - 53 SUMMARY OF CALCULATED OFFSET VALUES: ATTENUATOR SETTING: 5 2 1 V/div ,, ,, Vrms: dBm-50Ω: dBm-600Ω: dBµV: + 11.18034 + 4.4721359 + 2.236068 + 33.9794 + 26.0206 + 20.0 + 23.187588 + 15.228787 + 9.2081872 + 140.9691 + 133.0103 + 126.9897 ,, ,, ,, + + + 1.118034 0.4472136 0.2236068 + 13.9794 + 6.0206 0.0 + 3.1875874 - 4.771213 - 10.791813 + 120.9691 + 113.0103 + 106.9897 50 20 10 mV/div ,, ,, + + + 0.1118034 0.0447214 0.0223607 - 6.0206 - 13.
3 - 54 USING THE COMBISCOPE INSTRUMENTS PROGRAM EXAMPLE: The following program example converts a relative or absolute FFT trace of 512 samples of 1 or 2 bytes from the signal on channel 1 via the MATH1 feature as follows: Before running this program, first make the FFT selections desired via the front panel, such as: > MATH - MATH1 "on" and "fft". > CURSORS "on" and "m1.1". > MATH - PARAM - FILTER "hamming", "hanning", or "rectang". > MATH - PARAM - READOUT "rel" to select relative FFT.
USING THE COMBISCOPE INSTRUMENTS 3.9.5 3 - 55 Histogram functions The HISTogram function calculates an amplitude distribution of the incoming trace. The number of points in the histogram trace is 512. Each point in the histogram specifies the number of times that a data point of the incoming trace is within a particular amplitude belt. Since there are 512 histogram points, there are also 512 amplitude belts.
3 - 56 USING THE COMBISCOPE INSTRUMENTS 3.10 Trace Memory The trace memory of the CombiScopes instruments consists of space for channel acquisition traces (CH1 to CH4) and memory register traces (M1 to M8 and M9 to M50 extended). The amount of acquisition and register space depends on the following: • Whether the CombiScope instrument is equipped with standard or with extended memory. • The specified acquisition length (number of trace samples) with the TRACe:POINts command.
USING THE COMBISCOPE INSTRUMENTS 3 - 57 The following table shows the relation between the trace acquisition length (TRACe:POINts) and the available channel (CHx) and memory traces (Mx). TRACe:POINts STANDARD: 512 2K 4K 8K EXTENDED: 512 8k 16K 32K CHANNELS: MEMORY REGISTERS: 4 4 2 1 (PM33x0B) (2+EXT) (2+EXT) (2) (1) M1 .. M8 M1 .. M2 M1 .. M2 M1 .. M2 4 4 2 1 (PM33x0B) (2+EXT) (2+EXT) (2) (1) M1 .. M50 M1 .. M2 M1 .. M2 M1 ..
3 - 58 3.10.2 USING THE COMBISCOPE INSTRUMENTS Copying traces to memory The TRACe:COPY command allows you to copy the contents of a memory register to another memory register. This allows you to fill a memory register with traces from one of the following sources: • Copy an acquisition trace from one of the input channels.
USING THE COMBISCOPE INSTRUMENTS 3.10.3 3 - 59 Writing data to trace memory The TRACe command allows you to write data from the controller into a memory register. The following possibilities are available: • Write a previously read trace using the TRACe? query. Example: Send → TRACe? CH3 ’Queries for CH3 trace Read ← ’Reads trace data block Send → TRACe M2_3, ’Writes data block to M2_3 The result is that trace area M2_3 is filled with the acquisition trace of channel 3.
3 - 60 3.10.4 USING THE COMBISCOPE INSTRUMENTS Reading data from trace memory The TRACe? query allows you to read the contents from one of the following trace memory registers: • • An acquisition trace from one of the input channels (CH1 to CH4). • The result of a post processing function; CALCulate1 in M1 and CALCulate2 in M2 (refer to section 3.9 "Post processing"). Previously stored trace data from one of the memory registers (M1 to M8 or to M50).
USING THE COMBISCOPE INSTRUMENTS 3 - 61 3.11 Screen/Display Functions 3.11.1 Brightness control The DISPlay:BRIGhtness command allows you to control the brightness of the trace(s) displayed on the screen of your CombiScope instrument on a scale from 0.0 (low) to 1.0 (high). After a *RST command, the brightness intensity is 0.18. PROGRAM EXAMPLE: CALL Send(0, 8, "DISPlay:BRIGhtness .3", 1) 3.11.2 ’Sets brightness at 0.3.
3 - 62 3.11.2.1 USING THE COMBISCOPE INSTRUMENTS Readout of measurement data The DISPlay:WINDow[1]:TEXT:DATA? query allows you to acquire measured data as displayed on the upper line(s) of the screen of your CombiScope instrument.
USING THE COMBISCOPE INSTRUMENTS Example: Send → *RST Send → DISPlay:MENU MEASure Send → SYSTem:KEY 2;KEY 4 Send → DISPlay:WINDow:TEXT1:DATA? Read ← pkpk,6000E-04,V 3 - 63 ’Switches MEAS1 & 2 off ’Switches MEASURE menu on ’Switches MEAS1 and MEAS2 on ’Requests MEAS1 data ’Response = peak-to-peak 0.6 volt. CURSORS DATA: The CURSORS function offers a wide variety of voltage and time readouts.
3 - 64 USING THE COMBISCOPE INSTRUMENTS PROGRAM EXAMPLE: Read and print the DC and frequency characteristic of the actual signal using the MEAS1 and MEAS2 functions. The program stops to let you make the requested MEAS selections. DIM response AS STRING * 30 CALL Send(0, 8, "DISPlay:MENU MEASure", 1) ’Displays MEASURE menu ’ ’***** Enable MEAS1 & MEAS2 and select MEAS1-DC and MEAS2-frequency. ’ PRINT ">>> Press the LOCAL key, set MEAS1 function on, and select MEAS1-volt-dc.
USING THE COMBISCOPE INSTRUMENTS 3.11.2.2 3 - 65 Display of user-defined text The DISPlay:WINDow2:TEXT commands allow you to define and clear the user text on the screen area of your CombiScope instrument. After a *RST command, the display of the previously defined user text is turned off.
3 - 66 USING THE COMBISCOPE INSTRUMENTS 3.12 Print/Plot Functions The HCOPy:DEVice command allows you to select a hardcopy device.
USING THE COMBISCOPE INSTRUMENTS DSO 1) read response data send plot/print data PLOTTER PRINTER 2) send HCOPy:DATA? 3) data buffer CONTROLLER Figure 3.22 3 - 67 1) Send the query HCOPy:DATA? via the GPIB. 2) Read the block response data via the GPIB. 3) Send the print/plot data part to the printer/plotter. ST7219 Hardcopy of screen on printer/plotter PROGRAM EXAMPLE: Select one of the supported GPIB plotters, set its address at 22 and connect the plotter via IEEE to the controller.
3 - 68 USING THE COMBISCOPE INSTRUMENTS 3.13 Real-Time Clock The real-time clock keeps track of the current date and time. The date and time are stamped on acquired waveforms to be sent to a computer or to be output to a hardcopy device. The time of stamping is also the time of the acquisition trigger. The SYSTem:TIME command sets the time in hours, minutes, and seconds. Only a 24-hours time format is supported. The format of the displayed time cannot be selected.
USING THE COMBISCOPE INSTRUMENTS 3 - 69 PROGRAM EXAMPLE: ’***** ’Calibrate the instrument and print the calibration result. ’***** CALL Send (0, 8, "*CAL?", 1) ’Starts the calibration CALL IbTMO(0, 0) ’Disables the time out mechanism response$ = " " CALL Receive (0, 8, response$, 256) ’Waits for the calibration to finish and reads the result.
3 - 70 USING THE COMBISCOPE INSTRUMENTS 3.15 Status Reporting Status reporting is done via the status reporting system, which is completely described in chapter 5 "THE STATUS REPORTING SYSTEM" of the SCPI Users Handbook.
USING THE COMBISCOPE INSTRUMENTS 3.15.1.1 3 - 71 Operation status data CONDition filter EVENt ENABle 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CALibrating 0 RANGing SWEeping 0 wait for TRIGger 0 0 Digital mode Pass/Fail valid Pass/Fail status 0 0 0 0 0 STATus:OPERation :CONDition? :PTRansition(?) :NTRansition(?) :EVENt? :ENABle(?) ST7442 Figure 3.
3 - 72 3.15.1.2 USING THE COMBISCOPE INSTRUMENTS Questionable status data CONDition filter EVENt ENABle 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 VOLTage 0 0 0 TEMPerature 0 0 0 CALibration Overload 50Ω 0 0 0 0 0 0 STATus:QUEStionable:CONDition? :PTRansition(?) :NTRansition(?) :EVENt? :ENABle(?) ST7157 Figure 3.
USING THE COMBISCOPE INSTRUMENTS 3.15.2 3 - 73 How to reset the status data The *CLS command allows you to clear the following status data structures: • • All event status registers, such as the following: - standard event status register (ESR) - status byte register (STB) - operation event status register (STATus:OPERation:EVENt) - questionable event status register (STATus:QUEStionable:EVENt) The Error/event queue.
3 - 74 3.15.3 USING THE COMBISCOPE INSTRUMENTS How to enable status reporting The principle of using the status reporting mechanism is explained by showing two program examples. In the first example the standard Status Byte (STB) is checked to signal "operation completed". In the second example the SRQ mechanism is used to signal "operation completed" by generating a Service Request. 3.15.3.
USING THE COMBISCOPE INSTRUMENTS 3.15.3.2 3 - 75 Program example using a service request (SRQ) PROGRAM EXAMPLE: In this example the "Service Request" mechanism is used to detect whether or not a "CONFigure:AC" + "INITiate" operation is completed. If completed, an SRQ is generated to continue with fetching and printing the AC-RMS value. SRQ.
3 - 76 3.15.4 USING THE COMBISCOPE INSTRUMENTS How to report errors Instrument errors usually caused by programming or setting errors, can be reported by the instrument during the execution of each command. To make sure that a program is running properly, you should query the instrument for possible errors after every functional command. This is done by sending the SYSTem:ERRor? query or the STATus:QUEue? query to the instrument, followed by reading the response message.
USING THE COMBISCOPE INSTRUMENTS 3.15.4.2 3 - 77 Error-reporting using the SRQ mechanism Program an error-reporting routine and use the "Service Request (SRQ) Generation" mechanism to interrupt the execution of the program to execute the error-reporting routine. PROGRAM EXAMPLE: ON PEN GOSUB ErrorCheck PEN ON ’***** ’***** APPLICATION PROGRAM ’***** END ’ *************************************************** ’ Subroutine reading all errors from the error queue.
3 - 78 USING THE COMBISCOPE INSTRUMENTS 3.16 Saving/Restoring Instrument Setups This level of programming involves all functions in the CombiScopes instruments, i.e., complete instrument setups are processed. This allows you to program one or more functions that are not individually programmable. The following possibilities can be programmed: • • • Restoring initial settings. Saving/restoring complete setups via internal memory. Saving/restoring complete or partical setups via the GPIB controller. 3.
USING THE COMBISCOPE INSTRUMENTS 3 - 79 3.17 Front Panel Simulation The use of "front panel simulation" commands must be restricted to special applications or front panel functions that are not supported by SCPI commands. Bear in mind the differences between different instruments from the same family, as described in the beginning of this chapter. It is possible to simulate the pressing of a key on the front panel by using the SYSTem:KEY command.
3 - 80 USING THE COMBISCOPE INSTRUMENTS PROGRAM EXAMPLE: CALL Send(0, 8, "*RST", 1) ’Resets the instrument CALL Send(0, 8, "SYSTem:KEY 104", 1) ’Enables the UTILITY softkey menu CALL Send(0, 8, "SYSTem:KEY 2", 1) ’Selects the PROBE option CALL Send(0, 8, "SYSTem:KEY 5", 1) ’Selects the PROBE CORR option CALL Send(0, 8, "SYSTem:KEY 4", 1) ’Selects the 10:1 option CALL Send(0, 8, "SYSTem:KEY 104", 1) ’Disables the UTILITY softkey menu ’In this example the probe correction factor for input channel 1 is set a
USING THE COMBISCOPE INSTRUMENTS 3 - 81 3.18 Functions not Directly Programmable Not all front panel functions are individually programmable with SCPI commands. However, the SYSTem:SET and *SAV/*RCL commands can be used to access the following functions: - Cursor functions Logic Triggering Event functions DTB functions X pos Display menu functions Pass/Fail functions see CURSORS menu (appendix B.2.2) see TRIGGER menu (appendix B.2.10) see TB MODE menu (appendix B.2.
COMMAND REFERENCE 4-1 4 COMMAND REFERENCE In the first section the notation conventions concerning the specification of the syntax and data types are given. In the second section a summary of all commands and associate parameters is given in alphabetical order. This gives you a quick reference of the SCPI commands. In the third section detailed descriptions of all commands and queries for the CombiScopes instruments instruments are given. The IEEE.
4-2 COMMAND REFERENCE Notes: (1) A message that is specified as a sequency of literals can be sent to the instrument in any upper or lower case combination. The case of the characters has no semantical meaning. (2) Upper and lower case characters in a syntax specification are used to distinguish between the short and long form of a mnemonic. Upper case specifies the mandatory short form of a mnemonic. The lower case characters specify the remaining part of the (optional) long form.
COMMAND REFERENCE 4-3 Notes: (1) A space character that needs to be part of a message is specified as SP. Spaces within a syntax specification that are not specified as SP are used for formatting purposes to improve the readability; they don’t have any semantical meaning. Note: The only exception to this rule is the program header separator, which separates the header from the parameter part in a message.
4-4 = COMMAND REFERENCE {} Integer notation that specifies a number. = | | | Any decimal or non-decimal numeric data type. = #H {} is one of the characters 0 .. 9 or A .. F. = #Q {} is one of the digits 0 .. 7.
COMMAND REFERENCE 4-5 4.2 Command Summary The following list is a summary of all commands and parameters in alphabetical order, beginning with the common commands. The corresponding queries of the commands are not listed. If a command has no query, this is reported in the column NOTES as "no query". If only a query exists, it is reported in the column NOTES as "query only".
4-6 COMMAND: COMMAND REFERENCE PARAMETERS: NOTES: ABORt no query CALCulate :DERivative :POINTs :STATe :FEED =[1] | 2 alias = :DIFFerential range = 3, 5, .., 129 :FILTer [:GATE] :FREQuency :POINts :STATe :INTegral :STATe :MATH [:EXPRession] :STATe :TRANsform :FREQuency :STATe :TYPE :WINDow :HISTogram :STATe CALibration [:ALL] CONFigure [:VOLTage] | MAX | MIN "" | MAX | MIN = CHn | Mi_n n = 1 ..
COMMAND REFERENCE COMMAND: DISPlay :BRIGhtness :MENU [:NAME] :STATE :WINDow[1] :TEXT :DATA? :WINDow2 :TEXT[1] :CLEAR :DATA :STATe PARAMETERS: NOTES: | MAXimum | MINimum = 0.00 .. 1.
4-8 COMMAND: INPut :COUPling :FILTer [:LPASs] [:STATe] :FREQuency? :IMPedance :POLarity INSTrument :NSELect [:SELect] COMMAND REFERENCE PARAMETERS: NOTES: = [1] | 2 | 3 | 4 AC | DC | GROund | MAXimum | MINimum NORMal | INVerted | MAXimum | MINimum DIGital | ANALog query only response = 2E+7 = 50 | 1E6 = 2 | 4 = 1 | 2 MEASure [:VOLTage] ? [[(),] ] [,] see Note 1, 2, and 3 response =
COMMAND REFERENCE COMMAND: SENSe :AVERage [:STATe] :COUNt :TYPE? :FUNCtion [:ON] :OFF :STATe? :SWEep :OFFSet :TIME :PDETection :REALtime [:STATe] :TIMe :AUTO :VOLTage [:DC] :RANGe :AUTO :OFFSet :PTPeak STATus :OPERation [:EVENt]? :CONDition? :ENABle :NTRansition :PTRansition :PRESet :QUEStionable [:EVENt]? :CONDition? :ENABle :NTRansition :PTRansition :QUEue [:NEXT]? PARAMETERS: | MAXimum | MINimum 4-9 NOTES: = 2, 4, .., 4096 response = SCAL "XTIMe:VOLTage<...
4 - 10 COMMAND REFERENCE COMMAND: PARAMETERS: SYSTem :BEEPer :STATe :COMMunicate :SERial :CONTrol :DTR ON | STANdard :RTS ON | STANdard [:RECeive] | TRANsmit :BAUD :BITS :PACE :PARity [:TYPe] :DATE :ERRor? :KEY :SET :SET? :TIME :VERSion? TRACe :COPY [:DATA] :POINts XON | NONE EVEN | ODD | NONE ,, | MAXimum | MINimum ,, NOTES: 75 | 110 | 150 | 300 | 600 | 1200 | 2400 | 4800 | 9600 | 19200
COMMAND REFERENCE COMMAND: PARAMETERS: TRIGger [:SEQuence[1] | STARt] :FILTer :HPASs :FREQuency 3E4 :STATe :LPASs :FREQuency 0 | 10 | 3E4 :STATe :HOLDoff :LEVel :AUTO :SLOPe :SOURce :TYPE :VIDeo :FIELd [:NUMBer] :SELect :FORMat [:TYPE] :LPFRame :LINE :SSIGnal | MINimum | MAXimum | MAXimum | MINimum POSitive | NEGative | EITHer IMMediate | INTernal | LINE | BUS | EXTernal EDGE | VIDeo | LOGic | GLITch 4 - 11 NOTES: 30 KHz = HF-reject 0 = DC coupling 10 = AC
4 - 12 Note 1: = Note 2: :AC :AMPLitude [:DC] :FALL :OVERshoot :PREShoot :TIME :FREQuency :HIGH :LOW :MAXimum :MINimum :NDUTycycle :NWIDth :PDUTycycle :PERiod :PTPeak :PWIDth :TMAXimum :TMINimum :RISE :OVERshoot :PREShoot :TIME COMMAND REFERENCE [ [,]] [ [,[, [,]]] [ [,]] [] [
COMMAND REFERENCE 4 - 13 4.3 Command Descriptions The description of corresponding commands and queries is combined. Each command/query description starts on a new page. A description consists of the following parts: COMMAND HEADER Syntax: Specifies the syntax of a command or query (header + parameters) to be placed on the GPIB. Different programming languages (such as BASIC, C, Pascal) have different ways of representing data that is to be output onto the GPIB.
4 - 14 COMMAND REFERENCE Errors: Specifies possible error numbers plus their meaning. The error number, plus the corresponding text can be requested by sending the SYSTem:ERROR? or STATus:QUEue? query. Front panel compliance: Specifies the compliance with front panel operations. PROGRAMMING NOTES: • It is advised to send the commands *RST and *CLS first, before executing the programming examples in this chapter.
COMMAND REFERENCE *CAL? CALibration Syntax: *CAL? Response: 0|1 0 Calibration okay. 1 Calibration not okay. 4 - 15 Description: This query performs an automatic internal self-calibration and reports the result of that calibration. No external means or operator interface is needed. The response indicates whether or not the instrument completed the self-calibration without error. A response of 0 indicates that the calibration executed successfully.
4 - 16 COMMAND REFERENCE *CLS Clear Status Syntax: *CLS Description: The *CLS command clears the following status data structures: 1. Clears all Event Status Registers, such as the following: - Standard Event Status Register (*ESR?) - Status Byte Register (*STB?) - Operation Event Status register (STATus:OPERation:EVENt) - Questionable Event Status Register (STATus:QUEStionable:EVENt) 2. Clears the Error/Event Queue. 3.
COMMAND REFERENCE *ESE Event Status Enable Syntax: *ESE Query form: *ESE? Response: 4 - 17 Description: The command sets and the query reports the contents of the standard Event Status Enable register (ESE). The range of the 8-bit ESE contents is between 0 and 255 decimal. The contents of the standard Event Status Enable (ESE) register determine which bits in the standard Event Status Register (ESR) are enabled to be summarized in the Status byte Register (STB).
4 - 18 COMMAND REFERENCE *ESR? Event Status Register Syntax: *ESR? Response: Description: The *ESR? query reports the contents of the standard Event Status Register (ESR) and clears it. The range of the 8-bit ESR contents is between 0 and 255 decimal.
COMMAND REFERENCE 4 - 19 *IDN? Identification Syntax: *IDN? Response: ,,, E.g., FLUKE E.g., PM3394B Always 0 :: Firmware identification, consisting of: - Software type, e.g., SW3394BIM (I=IEEE, M=Math Plus) - Software version, e.g., V4.0 - Software date (year-month-day) Mask identification, e.g., UHM V1.0 UFO identification, e.g., UFO V2.
4 - 20 COMMAND REFERENCE *OPC Operation Complete Syntax: *OPC Query form: *OPC? Response: 1 Description: The *OPC command causes the instrument to set the operation complete bit (OPC) in the standard Event Status Register (ESR), when all pending operations have been finished. When the *OPC command is received, the OPC bit is set in the *ESR register when all pending operations have been completed.
COMMAND REFERENCE 4 - 21 *OPT? Option identification Syntax: *OPT? Response:
4 - 22 COMMAND REFERENCE *RCL Recall instrument setup Syntax: *RCL Description: The *RCL command restores instrument settings from one of the internal memory registers 0 .. 10. The settings in memory register 0 are standard settings, which can only be recalled. The settings in the memory registers 1 through 10 are programmable by sending the *SAV command. After power on the current settings, just before power off, are restored.
COMMAND REFERENCE *RST Reset Syntax: *RST 4 - 23 Description: The *RST command resets the instrument. The hardware and software of the instrument is initialized without affecting any of the IEEE interface conditions. The instrument turns into a fixed setup, which is optimized for remote operation. This fixed setup is different from the setup that can be recalled via the front panel softkeys and the SETUPS menu, which is optimized for local control.
4 - 24 FUNCTION: DEFAULT SETTING(S): TB mode Realtime only OFF Event delay OFF Acquisition length 512 (samples of 16 bits) Trigger Level MAX Averaging OFF Peak detection OFF Envelope OFF Autoranging attenuators OFF Locked 50% of MTB (-5 ms) OFF OFF OFF OFF 0.
COMMAND REFERENCE 4 - 25 *SAV Save instrument setup Syntax: *SAV Description: The *SAV command saves the current instrument settings into one of the internal memory registers 1 .. 10. The settings in memory register 0 are standard settings, which can only be recalled. The settings in the memory registers 0 through 10 can be recalled by sending the *RCL command. Example: Send → *SAV 2 . . Send → *RCL 2 Stores the actual instrument settings into memory register 2.
4 - 26 COMMAND REFERENCE *SRE Service Request Enable Syntax: *SRE Query form: *SRE? Response: Description: The command sets and the query reports the contents of the Service Request Enable (SRE) register. The range of the 8-bit ES R contents is between 0 and 255 decimal. However, bit 6 (value 64) is ignored, and will always be reported zero. Therefore, the real range is from 0 to 63 and from 128 to 191.
COMMAND REFERENCE *STB? Status Byte Syntax: *STB? Response: 4 - 27 Description: The *STB? query reports the contents of the Status Byte register (STB). The range of the 8-bit STB contents is between 0 and 255 decimal. The Status Byte Register contains the summary status of all overlaying status registers and queues. Notes: - OPER = OPERation status (bit 7) Contains the summary of the OPERation status register structure.
4 - 28 COMMAND REFERENCE *TRG Trigger Syntax: *TRG Description: The *TRG command triggers the instrument by generating a Group Execute Trigger (GET) code. Example: Send → *RST Send → TRIGger:SOURce BUS Send → INITiate Send → *TRG Send → FETCh:FREQuency? Read ← Resets the instrument. GPIB becomes trigger source. Initiates the instrument once. Triggers the instrument. Fetches the frequency.
COMMAND REFERENCE *TST? Self-test Syntax: *TST? Response: 0|1 0 Self-test okay. 1 Self-test not okay. 4 - 29 Description: The *TST? query initiates a RAM/ROM test in the instrument and returns the result of the test. The result of the RAM/ROM test is 0, if the test is completed without detecting any error. If the result is 1, the self-test failed. Upon successful completion of *TST?, the instrument settings are restored to their values prior to the execution of *TST?.
4 - 30 COMMAND REFERENCE *WAI Wait-to-continue Syntax: *WAI Description: The *WAI command prevents the instrument to execute any further command until all previous commands and queries have been completed. The *WAI command is used to force sequential execution of commands by the instrument. On receipt of the *WAI command, the instrument executes all pending commands and queries before it executes the next command or query. Restrictions: Be careful.
COMMAND REFERENCE 4 - 31 ABORt ABORt Syntax: Description: The ABORt command resets the trigger system and places it in the "IDLE" state. Pending actions that were already started are finished immediately. The ABORt command is not finished until the pending actions have been terminated. Note: The commands *RST and ABORt have the same effect on the trigger functions, except that ABORt does not affect the state of the INITiate:CONTinuous command.
4 - 32 COMMAND REFERENCE CALCulate:DERivative:POINts CALCulate:DERivative:STATe Syntax: CALCulate:DERivative:POINts | MAXimum | MINimum CALCulate:DERivative:STATe [1] | 2 3, 5, 7, ..., 127, 129 Alias: An alias for :DERivative is :DIFFerential. Query form: CALCulate:DERivative:POINts? [MINimum | MAXimum] Response: 3 | 5 | .. | 129 If MINimum was specified, 3 is returned. If MAXimum was specified, 129 is returned.
COMMAND REFERENCE 4 - 33 CALCulate:FEED Syntax: CALCulate:FEED "" Note: The parameter "" is . Therefore, it may be specified between single quotes as well, i.e., ’’. [1] | 2 A trace name which is a predefined or . CH1 | CH2 | CH3 | CH4 Mi_1 | Mi_2 | Mi_3 | Mi_4 Note: - i = 1 .. 8 (standard memory) - i = 9 ..
4 - 34 COMMAND REFERENCE CALCulate:FILTer[:GATE]:FREQuency:POINts CALCulate:FILTer[:GATE]:FREQuency:STATe Syntax: CALCulate:FILTer[:GATE]:FREQuency:POINts | MAXimum | MINimum CALCulate:FILTer[:GATE]:FREQuency:STATe [1] | 2 3, 5, 7, .. , 39, 41 Query form: CALCulate:FILTer[:GATE]:FREQuency:POINts? [MINimum | MAXimum] Response: 3 | 5 | .. | 41 If MINimum was specified, 3 is returned. If MAXimum was specified, 41 is returned.
COMMAND REFERENCE 4 - 35 CALCulate:INTegral:STATe Syntax: CALCulate:INTegral:STATe [1] | 2 Query form: CALCulate:INTegral:STATe? Response: 0|1 0 Integrate function turned off. 1 Integrate function turned on. Description: This command switches the integrate function on or off. The result of the integrate function is stored in M1_n for CALCulate1 and in M2_n for CALCulate2 dependent on the input source CHn or Mi_n (n = 1, 2, 3, 4).
4 - 36 COMMAND REFERENCE CALCulate:MATH[:EXPRession] CALCulate:MATH[:EXPRession] ( ) Syntax: [1] | 2 A trace name which is a predefined or . CH1 | CH2 | CH3 | CH4 Mi_1 | Mi_2 | Mi_3 | Mi_4 Note: - i = 1 .. 8 (standard memory) - i = 9 ..
COMMAND REFERENCE 4 - 37 CALCulate:MATH:STATe Syntax: CALCulate:MATH:STATe [1] | 2 Query form: CALCulate:MATH:STATe? Response: 0|1 0 Mathematics function turned off. 1 Mathematics function turned on. Description: This command switches the specified mathematics function on or off. If the mathematics function is switched on, the internal scale and offset are reset to initial values.
4 - 38 COMMAND REFERENCE CALCulate:TRANsform:FREQuency:STATe CALCulate:TRANsform:FREQuency:TYPE CALCulate:TRANsform:FREQuency:WINDow Syntax: CALCulate:TRANsform:FREQuency:STATe CALCulate:TRANsform:FREQuency:TYPE ABSolute | RELative CALCulate:TRANsform:FREQuency:WINDow RECTangular | HAMMing | HANNing [1] | 2 Query form: CALCulate:TRANsform:FREQuency:STATe? Response: 0|1 Query form: CALCulate:TRANsform:FREQuency:TYPE? Response: ABS | REL Query form: CALCulate:T
COMMAND REFERENCE 4 - 39 Example: Send → CALCulate2:TRANsform:FREQuency:TYPE RELative Selects relative MATH2-FFT calculation. Send → CALCulate2:TRANsform:FREQuency:WINDow HANNing Selects MATH2-FFT-HANNing window. Send → CALCulate2:TRANsform:FREQuency:STATe ON Switches MATH2-FFT on. Front panel compliance: The CALCulate1 and CALCulate2 commands use the MATH1 and MATH2 features of the CombiScope instrument.
4 - 40 COMMAND REFERENCE CALCulate:TRANsform:HISTogram:STATe Syntax: CALCulate:TRANsform:HISTogram:STATe [1] | 2 Query form: CALCulate:TRANsform:HISTogram:STATe? Response: 0|1 0 Histogram function turned off. 1 Histogram function turned on. Description: This command switches the HISTogram function on or off. The result of the histogram function is stored in M1_1 for CALCulate1 and in M2_1 for CALCulate2. After a *RST command, the histogram function is turned off.
COMMAND REFERENCE 4 - 41 CALibration[:ALL] Syntax: CALibration[:ALL] Query form: CALibration[:ALL]? Response: 0|1 Description: The CALibration command performs an automatic internal self-calibration. No external means or operator interface is needed. The CALibration command is an overlapped command, which means that during calibration the "Calibrating" bit (0) in the OPERation status can be read to check whether calibration has finished or not. If bit 0 = 0, calibration has finished.
4 - 42 COMMAND REFERENCE Example: Resets the instrument. Send → *RST Send → CALibration Starts auto calibration. Send → STATus:OPERation:CONDition? Requests for oper. conditions. Read ← Reads condition register. WHILE (bit 0 of Reads condition register. LOOP_WHILE Send → STATus:QUEStionable:CONDition? Requests for questionable conditions. Reads condition register.
COMMAND REFERENCE 4 - 43 CONFigure Syntax: CONFigure[:VOLTage] [[ (),] ] [,] The syntax elements are specified with the MEASure? query. Description: The CONFigure command is part of the measurement instruction set. It sets up the instrument in order to perform the measurement as specified by the part in the command header.
4 - 44 COMMAND REFERENCE Example 1: Send → CONFigure:VOLTage:AC 0.6,(@2) Configures AC-RMS channel 2, expected voltage 600 mV. Send → INPut2:COUPling AC Channel 2 AC coupled. Send → READ:AC? (@2) Initiates + fetches AC-RMS value. Read ← Send → READ:AC? (@2) Initiates + fetches AC-RMS value. Read ← Example 2: Send → CONFigure:VOLTage:RISE:TIME (0.5),20,80,1E-2,(@2) ’ ’Configures the rise time, expected voltage 0.5V, ’LOW ref. = 20%, ’HIGH ref.
COMMAND REFERENCE 4 - 45 DISPlay:BRIGhtness Syntax: DISPlay:BRIGhtness | MINimum | MAXimum 0.0 .. 1.0 MINimum Equals 0.0 Trace display is fully blanked. MAXimum Equals 1.0 Trace display has full intensity. Query form: DISPlay:BRIGhtness? [MINimum | MAXimum] Response: 0.00E00 ... 1.00E00 Description: The command sets and the query returns the brightness of the trace display. The number 0.0 (MINimum) gives the lowest brightness. The number 1.
4 - 46 COMMAND REFERENCE DISPlay:MENU[:NAME] Syntax: DISPlay:MENU[:NAME] FRONT PANEL SOFTKEY NAME TBMode TRIGger DMODe SETups CURSors ACQuire DISPlay MATH MEASure SAVE RECall UTIL VERTical TB MODE TRIGGER DTB SETUPS CURSORS ACQUIRE DISPLAY MATH MEASURE SAVE RECALL UTILITY VERT MENU (main time base) (delayed time base) Description: The DISPlay:MENU command can be used to select a softkey menu by specifying a predefined name.
COMMAND REFERENCE 4 - 47 DISPlay:MENU:STATe Syntax: DISPlay:MENU:STATe Query form: DISPlay:MENU:STATe? Response: 0|1 0 Display turned off. 1 Display turned on. Description: Switches the display of the softkey menu field on or off. After a *RST command, the display is turned off. Example: Send → *RST Selects TB MODE menu with display off. Send → DISPlay:MENU:STATe ON Switches TB MODE menu display on.
4 - 48 COMMAND REFERENCE DISPlay:WINDow[1]:TEXT:DATA? Syntax: DISPlay:WINDow[1]:TEXT:DATA? [1] Indicates that the measurement result field is window 1. 1 | 2 | 10 | 11 | 12 | 13 | 20 | 21 | 30 | 40 | 51 | 52 | 60 | 61 1 2 10 MEAS1 result is returned. MEAS2 result is returned. Delta-V/Delta-Y is returned under the following conditions: TYPE: 11 12 13 20 Response: ANALOG MODE: DIGITAL MODE: Delta-T X-deflection off X versus Y off Frequency (1 / delta-T) is returned.
COMMAND REFERENCE 4 - 49 The measurement data functions must be enabled first, or the error message -221 "Settings conflict" is generated. If the oscilloscope is in the analog mode, the error message -221 "Settings conflict;Digital mode required" is generated.
4 - 50 COMMAND REFERENCE DISPlay:WINDow2:TEXT[1]:CLEar Syntax: DISPlay:WINDow2:TEXT[1]:CLEar 2 Indicates that the user text field is window 2. [1] Is optional and has no meaning. Description: This command clears the contents of the user text field from the screen of the oscilloscope. The result is that the user text is no longer displayed. Example: Send → DISPlay:WINDow2:TEXT:STATe ON Send → DISPlay:WINDow2:TEXT:CLEar Enables display of text. Clears all user text.
COMMAND REFERENCE 4 - 51 DISPlay:WINDow2:TEXT[1]:DATA Syntax: DISPlay:WINDow2:TEXT[1]:DATA | 2 Indicates that the user text field is window 2. Maximum 64 characters. Examples: "this is a string" ’this also’ Maximum 64 data bytes. (indefinite length) Examples: #01.25 k↓ (definite length) #171.25 k↓ The result of both examples is, that 1.25 kΩ will be displayed.
4 - 52 COMMAND REFERENCE dec sym dec sym dec sym dec sym dec sym dec sym dec sym dec sym 0 16 32 48 0 64 @ 80 P 96 112 p 1 17 33 ! 49 1 65 A 81 Q 97 a 113 q 2 18 34 " 50 2 66 B 82 R 98 b 114 r 3 19 35 # 51 3 67 C 83 S 99 c 115 s 4 20 36 $ 52 4 68 D 84 T 100 d 116 t 5 21 37 % 53 5 69 E 85 U 101 e 117 u 6 22 ° 38 & 54 6 70 F 86 V 102 f 118 v 7 23 µ 39 ’ 55 7 71 G 87 W 103 g 119 w 8 24 40 ( 56
COMMAND REFERENCE 4 - 53 DISPlay:WINDow2:TEXT[1]:STATe Syntax: DISPlay:WINDow2:TEXT[1]:STATe 2 Indicates that the user text field is window 2. Query form: DISPlay:WINDow2:TEXT[1]:STATe? Response: 0|1 0 Display turned off. 1 Display turned on. Description: Switches the display of the user text field on or off. After a *RST command, the display of user text is turned off. Example: Send → DISPlay:WINDow2:TEXT:STATe OFF Turns off the display of the user text.
4 - 54 COMMAND REFERENCE FETCh? Syntax: FETCh[:VOLTage]? [[ (),] ] [, | ] = (@) = | = CH1 | CH2 | CH3 | CH4 These are predefined names for traces that contain the acquisition result of the input channels 1 to 4.
COMMAND REFERENCE 4 - 55 Description: The FETCh? queries are part of the measurement instruction set. They return the signal characteristic from the last initiated measurement, as specified by the part of the query header. An initiate command must precede a FETCh? query. The initiate command may be given either explicitly as INITiate[:IMMediate] command, or explicitly by a READ? or MEASure? query.
4 - 56 COMMAND REFERENCE Example 1: Send → MEASure:VOLTage:AC? 0.6,(@2) Read ← Send → FETCh:DC? (@2) Read ← Send → FETCh:AMPLitude? (@2) Read ← Measures AC- RMS on channel 2, expected voltage 600 mV. Fetches the DC component. Fetches the waveform amplitude. Example 2: Send → CONFigure:AC Send → TRIGger:SOURce BUS Send → SENSe:VOLTage:RANGe:OFFSet .
COMMAND REFERENCE 4 - 57 FORMat[:DATA] FORMat[:DATA] INTeger[, 8 | 16] Syntax: INTeger,8 Trace point of 8 bits (one byte). INTeger,16 Trace point of 16 bits (two bytes). Query form: FORMat[:DATA]? Response: INT,8 | INT,16 INT,8 Trace point consists of one byte. INT,16 Trace point consists of two bytes. Description: Programs the number of bits of the trace data points. If the oscilloscope is in the analog mode, error -221 "Settings conflict;Digital mode required" is generated.
4 - 58 COMMAND REFERENCE HCOPy:DATA? Syntax: HCOPy:DATA? Response: Description: This query returns a data block of indefinite length containing a hardcopy of the picture on the oscilloscope display, according to the current printer/plotter selections. These selections can be made through the UTIL - PRINT & PLOT softkey menu options. The received data block can be sent to a supported plotter or printer via the IEEE bus or the EIA-232-D (RS-232-C) interface to get the hardcopy.
COMMAND REFERENCE 4 - 59 HCOPy:DEVice Syntax: HCOPy:DEVice HPGL | HP7440 | HP7550 | HP7475A| HP7470A | PM8277 | PM8278 | FX80 | LQ1500 | HP2225 | HPLASER | HP540 | DUMP_M1 HPGL HPGL plot data format. HP7440, HP7550, HP7475A, HP7470A, PM8277, PM8278 Plotters. FX80, HP2225, LQ1500, HPLASER, HP540 Printers. DUMP_M1 Trace dump data format to one of the arbitrary waveform generators PM5138, PM5139, or PM5150.
4 - 60 COMMAND REFERENCE INITiate:CONTinuous Syntax: INITiate:CONTinuous Query form: INITiate:CONTinuous? Response: 1|0 1 Continuous automatic initiation is ON. 0 Continuous automatic initiation is OFF. Description: The INITiate:CONTinuous command selects whether the trigger system is continuously initiated or not. When INITiate:CONTinuous is ON, the trigger system is continuously initiating acquisitions. This can only be stopped by setting INITiate:CONTinuous to OFF or by sending *RST.
COMMAND REFERENCE 4 - 61 INITiate[:IMMediate] INITiate[:IMMediate] Syntax: Description: This command causes the trigger system to be initiated once only, i.e., initiates one acquisition cycle. The actual acquisition starts when all trigger conditions have been met. After the acquisition has completed, the trigger system returns to the IDLE state.
4 - 62 COMMAND REFERENCE INPut:COUPling Syntax: INPut:COUPling AC | DC | GROund [1] | 2 | 3 | 4 Query form: INPut:COUPling? Response: [1] | 2 | 3 | 4 AC | DC | GRO Description: Selects the vertical input coupling of a specified input channel. If AC is specified, the DC offset value is excluded. If DC is specified, the DC offset value is included. If GROund is specified, the AC value is grounded (zeroed). After a *RST command, the coupling is DC.
COMMAND REFERENCE 4 - 63 INPut:FILTer[:LPASs][:STATe] INPut:FILTer[:LPASs]:FREQuency? Syntax: INPut:FILTer[:LPASs][:STATe] [1] | 2 | 3 | 4 INPut:FILTer[:LPASs]:FREQuency? [MINimum | MAXimum] MINimum Fixed at 20 MHz MAXimum Fixed at 20 MHz Note: Response: Channel 3 is not applicable for PM33x0B. 2.00E+07 Query form: INPut:FILTer[:LPASs][:STATe]? Response: 0|1 0 Common low pass filter off. 1 Common low pass filter on.
4 - 64 COMMAND REFERENCE INPut:IMPedance Syntax: INPut:IMPedance | MINimum | MAXimum [1] | 2 | 3 | 4 50 | 1E6 Equals 5.00E+01 (50Ω) Equals 1.00E+06 (1 MΩ) Note: Channel 3 is not applicable for PM33x0B. Query form: INPut:IMPedance? [MINimum] | [MAXimum] Response: [1] | 2 | 3 | 4 5.00E+01 | 1.00E+06 If was specified, 5.00E+01 (50Ω) is returned. If was specified, 1.00E+06 (1 MΩ) is returned.
COMMAND REFERENCE 4 - 65 INPut:POLarity Syntax: INPut:POLarity NORMal | INVerted 2 | 4 Note: Input 4 is not applicable for PM33x0B. Query form: INPut:POLarity? 2 | 4 Response: NORM | INV Description: The INPut:POLarity command sets the polarity of the signal on the input channels two and four. The polarity can be set to NORMal (default) or INVerted (inverted signal). After a *RST command, the polarity is NORMal.
4 - 66 COMMAND REFERENCE INSTrument:NSELect INSTrument[:SELect] Syntax: INSTrument:NSELect | MINimum | MAXimum INSTrument[:SELect] DIGital | ANALog 1|2 1 | MINimum 2 | MAXimum The digital mode (ANALOG key) is activated. The analog mode is activated. DIGital ANALog The digital mode (ANALOG key) is activated. The analog mode is activated. Query form: INSTrument:NSELect? [MINimum | MAXimum} Response: 1|2 1 The digital mode (ANALOG key) is active.
COMMAND REFERENCE 4 - 67 MEASure? Syntax: MEASure[:VOLTage]? [[ (),] ] [,] = [ [,]] = | DEFault Specifies the voltage that is expected at the input. = | DEFault This parameter may be added for reasons of compatibility with similar programs for other instruments.
4 - 68 COMMAND REFERENCE :FALL:OVERshoot No parameters. Measures the overshoot of the first falling edge of a waveform, expressed as a percentage of the waveform AMPLitude. The fall overshoot is the difference between the LOW value and the MINimum negative peak value to which the signal initially falls, as shown in figure 3.2. The overshoot value in volts is calculated as follows: overshoot_value = overshoot_percentage * AMPLitude / 100 :FALL:PREShoot No parameters.
COMMAND REFERENCE 4 - 69 :MINimum No parameters. Measures the MINimum instantaneous voltage value of the waveform. The unit of MINimum is volt. :NDUTycycle Measures the negative duty cycle. The negative duty cycle is the ratio (percentage) of the negative width (NWIDth) and the PERiod of the waveform, as shown in figure 3.2. :NWIDth Measures the negative width, which is the time duration of the negative pulse.
4 - 70 COMMAND REFERENCE :TMINimum No parameters. Measures the time of the first occurrence of the MINimum voltage of the input signal. The unit of TMINimum is seconds. :RISE:OVERshoot No parameters. Measures the overshoot of the first rising edge of a waveform, expressed as a percentage of the waveform AMPLitude. The rise overshoot is the difference between the HIGH value and the MAXimum positive peak value to which the signal initially rises, as shown in figure 3.2.
COMMAND REFERENCE = 4 - 71 | DEFault Specifies the time value that is expected to be measured. The unit of is second. = | DEFault Specifies the resolution of the time measurement to be executed. The unit of is second. = | DEFault Specifies the frequency value that is expected to be measured. The unit of is hertz.
4 - 72 COMMAND REFERENCE Limitations: The oscilloscope is only able to calculate rise and fall time characteristics, if the and parameters are limited to 1/8 division from their maximum and minimum. The limit of 0.125 divisions (noise level) depends on the vertical sensitivity of the top-to-top value (PTPeak) of the actual signal and is calculated as follows: - If PTPeak < 1 div., limit = 0.125 x 100% = 12.5% 87.5% - If PTPeak < 2 div.
COMMAND REFERENCE 4 - 73 Description: The MEASure? queries are part of the measurement instruction set. They provide an automatic measurement of the signal characteristics as specified by the part in the query header. In one operation, the instrument is configured or set up, the acquisition initiated, and the result returned. Execution of a MEASure? query aborts any pending operation. The parameters provide additional information about the signal to be measured or the result desired.
4 - 74 COMMAND REFERENCE READ? Syntax: READ[:VOLTage]? [[ (),] ] [,] The syntax elements are specified with the MEASure? query. Response: Example: <1.25E-01> = 0.125 Description: The READ? queries are part of the measurement instruction set. They start a measurement and return the signal characteristic that is specified by the part in the query header.
COMMAND REFERENCE Note: 4 - 75 Because the READ? query leaves instrument settings unaffected, it can very well be used as follows to read a measured value within a cursor limited acquisition area: - Press the CURSORS key on the front panel to enable the use of cursors. - Set the cursor area via the CURSORS softkey menu. - Send → READ:PTPeak? Queries for Peak-To-Peak measurement within the previously set cursor area.
4 - 76 COMMAND REFERENCE SENSe:AVERage[:STATe] SENSe:AVERage[:STATe] Syntax: Query form: SENSe:AVERage[:STATe]? Response: 0|1 0 AVERAGE function switched off. 1 AVERAGE function switched on. Description: Switches the preprocessing AVERAGE function on or off. If switched on, measurement values and acquisition traces are averaged according to the average count factor (SENSe:AVERage:COUnt). Averaging is a way to suppress noise without loosing bandwidth.
COMMAND REFERENCE 4 - 77 SENSe:AVERage:COUNt SENSe:AVERage:TYPE? Syntax: SENSe:AVERage:COUNt 2 | 4 | 8 | 16 | ... | 2048 | 4096 SENSe:AVERage:TYPE? Response: SCAL Query form: SENSe:AVERage:COUNt? [MINinum | MAXimum] Response: 2 | 4 | 8 | 16 | ... | 2048 | 4096 If MINimum was specified, 2 is returned. If MAXimum was specified, 4096 is returned. Description: The SENS:AVER:COUN command sets the preprocessing average count factor. The count factor is a multiple of 2.
4 - 78 COMMAND REFERENCE SENSe:FUNCtion:OFF SENSe:FUNCtion[:ON] SENSe:FUNCtion:STATe? Syntax: SENSe:FUNCtion:OFF "XTIMe:VOLTage" SENSe:FUNCtion:OFF "XTIMe:VOLTage:SUM " SENSe:FUNCtion[:ON] "XTIMe:VOLTage" SENSe:FUNCtion[:ON] "XTIMe:VOLTage:SUM " [1] | 2 | 3 | 4 1 = CH1, 2 = CH2, 3 = CH3, 4 = CH4 Note: CH3 not applicable for PM33x0B.
COMMAND REFERENCE 4 - 79 The parameters "XTIMe:VOLTage" and "XTIMe:VOLTage:SUM " are of the type (specified between double or single quotes). Execution error -221 "Settings conflict" is generated, if the execution of a command causes the last input channel or the addition of two input channels to be turned off. In the analog mode, the added trace (e.g., CH1+CH2) as well as both channel traces (e.g., CH1, CH2) are displayed. In the digital mode, the summarized trace (e.g.
4 - 80 COMMAND REFERENCE SENSe:SWEep:OFFSet:TIME Syntax: SENSe:SWEep:OFFSet:TIME | MINimum | MAXimum The trigger delay time in seconds. A negative value causes a pre-trigger view time, whereas a positive value causes a post-trigger delay time. MINimum Selects the minimum possible pre-trigger view time. MAXimum Selects the maximum possible post-trigger delay time. Query form: SENSe:SWEep:OFFSet:TIME? [MINimum | MAXimum] Response: The trigger delay time in seconds.
COMMAND REFERENCE 4 - 81 SENSe:SWEep:PDETection[:STATe] Syntax: SENSe:SWEep:PDETection[:STATe] Query form: SENSe:SWEep:PDETection[:STATe]? Response: 0|1 0 Peak detection switched off. 1 Peak detection switched on. Description: Switches peak detection on or off. If peak detection is switched on, the MTB range is limited to sequential sampling from 250 nanoseconds through 200 seconds per division (for MTB ranges, refer to the SENSe:SWEep:TIME command).
4 - 82 COMMAND REFERENCE SENSe:SWEep:REALtime[:STATe] Syntax: SENSe:SWEep:REALtime[:STATe] Query form: SENSe:SWEep:REALtime[:STATe]? Response: 0|1 0 Real-time mode switched off. 1 Real-time mode switched on. Description: Switches the ’real- time’ mode of the acquisition on or off. If the ’real-time’ sampling mode is switched on, the MTB range is limited to sequential sampling from 250 nanoseconds through 200 seconds per division (for MTB ranges, refer to the SENSe:SWEep:TIME command).
COMMAND REFERENCE 4 - 83 SENSe:SWEep:TIME SENSe:SWEep:TIME | MINimum | MAXimum Syntax: The sweep time in seconds. MINimum Selects the minimum possible sweep time. MAXimum Selects the maximum possible sweep time. Query form: SENSe:SWEep:TIME? [MINimum | MAXimum] Response: The sweep time expressed in seconds. If MINimum was specified, the minimum possible value is returned. If MAXimum was specified, the maximum possible value is returned.
4 - 84 COMMAND REFERENCE Limitations: • • The MTB value of 2 ns is only possible for the PM339xB CombiScope instruments. If SENSe:SWEep:REALtime is ON, the MTB range is from 200 seconds to 250 nanoseconds, and sequential sampling is not guaranteed. In a similar way, the time value Ts that is associated with a trace sample point can be calculated from the following expression: Ts = * SENSe:SWEep:TIME / (TRACE:POINts - 1) where is the point number of the sample in the trace.
COMMAND REFERENCE 4 - 85 SENSe:SWEep:TIME:AUTO Syntax: SENSe:SWEep:TIME:AUTO Query form: SENSe:SWEep:TIME:AUTO? Response: 0|1 0 Autoranging MTB switched off. 1 Autoranging MTB switched on. Description: Switches the autoranging function of the Main Time Base (MTB) on or off. In the analog mode, the error message -221 "Settings conflict;Digital mode required" is generated.
4 - 86 COMMAND REFERENCE SENSe:VOLTage[:DC]:RANGe:AUTO SENSe:VOLTage[:DC]:RANGe:AUTO Syntax: [1] | 2 | 3 | 4 Note: Channel 3 and 4 not applicable for PM33x0B. Query form: SENSe:VOLTage[:DC]:RANGe:AUTO? Response: 0|1 0 Autoranging attenuator channel switched off. 1 Autoranging attenuator channel switched on. Description: Switches the autoranging function of channel on or off.
COMMAND REFERENCE 4 - 87 SENSe:VOLTage[:DC]:RANGe:OFFSet Syntax: SENSe:VOLTage[:DC]:RANGe:OFFSet | MINimum | MAXimum [1] | 2 | 3 | 4 Note: Channel 3 and 4 not applicable for PM33x0B. The vertical offset for channel in volts. MINimum Selects the minimum possible vertical offset. MAXimum Selects the maximum possible vertical offset. Query form: SENSe:VOLTage[:DC]:RANGe:OFFSet? [ MINimum | MAXimum] Response: The vertical offset for channel in volts.
4 - 88 COMMAND REFERENCE SENSe:VOLTage[:DC]:RANGe:PTPeak Syntax: SENSe:VOLTage[:DC]:RANGe:PTPeak | MINimum | MAXimum [1] | 2 | 3 | 4 Note: Channel 3 not applicable for PM33x0B. The vertical sensitivity for channel in peak-topeak volts, expressed in full scale (8 divisions). MINimum Selects the minimum possible peak-to-peak value. MAXimum Selects the maximum possible peak-to-peak value.
COMMAND REFERENCE 4 - 89 After a *RST command, the peak-to-peak value is reset as follows: - For channel 1 to 1.6V: vertical sensitivity = 200 mV/div. - For channel 2 to 0.4V: vertical sensitivity = 50 mV/div. - For channel 3 and 4 to 8V: vertical sensitivity = 1 V/div. Note: If a 10:1 probe is connected to a channel, the peak-to-peak value is 10 times higher. For example, 80V instead of 8V.
4 - 90 COMMAND REFERENCE STATus:OPERation:CONDition? STATus:OPERation:ENABle STATus:OPERation[:EVENt]? STATus:OPERation:NTRansition STATus:OPERation:PTRansition Syntax: STATus:OPERation:CONDition? STATus:OPERation:ENABle STATus:OPERation[:EVENt]? STATus:OPERation:NTRansition STATus:OPERation:PTRansition Range from 0 to 32767.
COMMAND REFERENCE 4 - 91 The STATus:OPERation:PTRansition command sets the contents of the positive transition filter of the operation register structure. The positive transition filter specifies which bits in the operation condition register, that make a positive transition (0 -> 1), set the corresponding bit in the operation event register.
4 - 92 COMMAND REFERENCE STATus:PRESet STATus:PRESet Syntax: Description: The PRESet command is used to set the status data structure in such a way, that device-dependent events are reported at a higher level through the mandatory part of the status reporting mechanism. The PRESet command affects only the enable registers and the transition filters for the device-dependent status data structures. PRESet does not clear any of the event registers.
COMMAND REFERENCE 4 - 93 STATus:QUEStionable:CONDition? STATus:QUEStionable:ENABle STATus:QUEStionable[:EVENt]? STATus:QUEStionable:NTRansition STATus:QUEStionable:PTRansition Syntax: STATus:QUEStionable:CONDition? STATus:QUEStionable:ENABle STATus:QUEStionable[:EVENt]? STATus:QUEStionable:NTRansition STATus:QUEStionable:PTRansition Range from 0 to 32767.
4 - 94 COMMAND REFERENCE The STATus:QUEStionable:PTRansition command sets the contents of the positive transition filter of the questionable register structure. The positive transition filter specifies which bits in the questionable condition register, that make a positive transition (0 -> 1), set the corresponding bit in the questionable event register.
COMMAND REFERENCE 4 - 95 STATus:QUEue[:NEXT]? Syntax: STATus:QUEue[:NEXT]? Response: ,"" A predefined number. If 0 (zero) is returned, there are no errors in the queue. A short description of the error. When there are no errors in the queue, the description is "No error". Description: The STATus:QUEue? query reports the next event from the error/event queue and removes this event from the queue.
4 - 96 COMMAND REFERENCE SYSTem:BEEPer SYSTem:BEEPer:STATe Syntax: SYSTem:BEEPer SYSTem:BEEPer:STATe Query form: SYSTem:BEEPer:STATe? Response: 0|1 0 Beeper disabled. 1 Beeper enabled. Description: The SYST:BEEP command causes a beep of about 1 second to be generated by the instrument, even if the SYSTem:BEEPer:STATe is OFF. The SYST:BEEP:STAT command enables or disables the beeper of the instrument.
COMMAND REFERENCE 4 - 97 SYSTem:COMMunicate:SERial:CONTrol:DTR SYSTem:COMMunicate:SERial:CONTrol:RTS Syntax: SYSTem:COMMunicate:SERial:CONTrol:DTR ON | STANdard SYSTem:COMMunicate:SERial:CONTrol:RTS ON | STANdard ON Selects the "3 wire" option. The DTR or RTS line is always asserted. STANdard Selects the "7 wire" option. Query form: SYSTem:COMMunicate:SERial:CONTrol:DTR? SYSTem:COMMunicate:SERial:CONTrol:RTS? Response: ON | STAN ON "3 wire" DTR/RTS control. STAN "7 wire" DTR/RTS control.
4 - 98 COMMAND REFERENCE SYSTem:COMMunicate:SERial[:RECeive]:BAUD SYSTem:COMMunicate:SERial:TRANsmit:BAUD SYSTem:COMMunicate:SERial[:RECeive]:BITS SYSTem:COMMunicate:SERial:TRANsmit:BITS SYSTem:COMMunicate:SERial[:RECeive]:PACE SYSTem:COMMunicate:SERial:TRANsmit:PACE SYSTem:COMMunicate:SERial[:RECeive]:PARity[:TYPE] SYSTem:COMMunicate:SERial:TRANsmit:PARity[:TYPE] Syntax: SYSTem:COMMunicate:SERial[:RECeive]:BAUD SYSTem:COMMunicate:SERial:TRANsmit:BAUD 75 | 110 | 150 | 30
COMMAND REFERENCE 4 - 99 Query form: SYSTem:COMMunicate:SERial[:RECeive]:PACE? SYSTem:COMMunicate:SERial:TRANsmit:PACE? Response: XON | NONE XON X-on/X-off handshake enabled. NONE No X-on/X-off handshaking. Query form: SYSTem:COMMunicate:SERial[:RECeive]:PARity[:TYPE]? SYSTem:COMMunicate:SERial:TRANsmit:PARity[:TYPE]? Response: EVEN | ODD | NONE Description: BAUD sets the baudrate of the EIA-232-D (RS-232-C) interface for both the receive and transmit channel.
4 - 100 COMMAND REFERENCE SYSTem:DATE Syntax: SYSTem:DATE ,, | MINimum | MAXimum Range from 1992 to 2091. | MINimum | MAXimum Range from 1 to 12. | MINimum | MAXimum Range from 1 to 31. Query form: SYSTem:DATE? [MINimum | MAXimum , MINimum | MAXimum, MINimum | MAXimum] Response: ,, The date values returned are of type . If MINimum was specified, the lowest possible value is returned.
COMMAND REFERENCE 4 - 101 SYSTem:ERRor? Syntax: SYSTem:ERRor? Response: ,"" A predefined number. If 0 (zero) is returned, there are no errors in the queue. A short description of the error. When there are no errors in the queue, the description is "No error". Description: The SYSTem:ERRor? query reports the next event from the error/event queue and removes this event from the queue.
4 - 102 COMMAND REFERENCE SYSTem:KEY Syntax: SYSTem:KEY | MINimum | MAXimum Reference number to a key: 1, 2, 3, 4, 5, 6: softkey-1 (top) to softkey-6 (bottom) 101, 102, 103, etc.: top row of keys (left to right) • • • • • • • • 801, 802, 803, etc.: bottom row of keys (left to right) MINimum Specifies the smallest key number. MAXimum Specifies the largest key number.
COMMAND REFERENCE FRONT PANEL KEY Softkey 1 (top) Softkey 2 Softkey 3 Softkey 4 Softkey 5 Softkey 6 (bottom) 1 2 3 4 5 6 AUTOSET CAL (no effect) SETUPS UTILITY ANALOG ACQUIRE SAVE RECALL MEASURE MATH 101 102 103 104 106 107 108 109 110 111 DISPLAY HARD COPY 112 113 STATUS (LOCAL) CURSORS TRIGGER MAGNIFY ( ) MAGNIFY ( ) 201 204 209 210 211 RUN/STOP AUTO RANGE SINGLE_ARMED 309 310 311 4 - 103 FRONT PANEL KEY VERT MENU AVERAGE TRIG 1 TRIG 2 TRIG 3 TRIG 4 AMPL mv ( ) AUTO RANGE CH1 + CH2 AM
4 - 104 COMMAND REFERENCE Example 1: Send → SYSTem:KEY 101 Send → SYSTem:KEY? Read ← 101 Simulates the pressing of AUTOSET. Returns the last key simulation. Example 2: Send → *RST Resets the instrument. Send → DISPlay:MENU UTIL Enables UTILITY softkey menu. Send → SYSTem:KEY 2;KEY 5;KEY 4 Selects the options PROBE, PROBE CORR, 10:1. Send → DISPlay:MENU:STATe OFF Disables UTILITY softkey menu. In this example the probe correction factor for input channel 1 is set at 10:1, using the softkey menu UTILITY.
COMMAND REFERENCE 4 - 105 SYSTem:SET Syntax: SYSTem:SET Query form: SYSTem:SET? [ | MINimum | MAXimum] Response: A number specifying which node settings. The following nodes are supported: 0 End node indicator.
4 - 106 COMMAND REFERENCE Limitations: For the PM33x0B CombiScope instruments: - Input channel 3 (CH3) is not applicable. - Input channel 4 (CH4) is limited to external trigger view. Example: Send → SYSTem:SET? 32 Read ← Send → SYSTem:SET? Read ← . . Send → SYSTem:SETSP Send → Queries for cursor instrument settings. Reads cursor instrument settings. Queries for all instrument settings. Reads all instrument settings.
COMMAND REFERENCE 4 - 107 SYSTem:TIME Syntax: SYSTem:TIME ,, | MINimum | MAXimum Range from 0 to 23. | MINimum | MAXimum Range from 0 to 59. | MINimum | MAXimum Range from 0 to 59. Query form: SYSTem:TIME? [MINimum | MAXimum , MINimum | MAXimum , MINimum | MAXimum] Response: ,, The time values returned are of type . If MINimum was specified, the lowest possible value is returned.
4 - 108 COMMAND REFERENCE SYSTem:VERSion? Syntax: SYSTem:VERSion? Response: YYYY.V YYYY The year number of the SCPI version. V The approved revision number within the year. Description: Reports the version of the SCPI command set to which your instrument complies. The year and revision number within that year is returned, e.g., 1992.0. The *RST command doesn’t change the current SCPI version. Example: Send → SYSTem:VERSion? Read ← 1992.
COMMAND REFERENCE 4 - 109 TRACe:COPY Syntax: TRACe:COPY , Alias: DATA:COPY , CHn | Mi_n Mi_n n = 1 .. 4 i = 1 .. 8 (standard memory) i = 1 .. 50 (extended memory) Description: Copies a trace from one trace memory (source) to another (destination). The contents of the is copied to the . The trace administration data is copied as well.
4 - 110 COMMAND REFERENCE TRACe[:DATA] Syntax: TRACe[:DATA] , | Alias: DATA[:DATA] , | Mi_n n = 1 .. 4 i = 1 .. 8 (standard memory) i = 1 .. 50 (extended memory) Constant value: - Range from -128 to +127 (1 byte trace points). - Range from -32768 to +32767 (2 byte trace points). The format of the block data is as follows: # n x . . x f b . . . . .
COMMAND REFERENCE 4 - 111 Description: The TRACe? query reads a binary trace block from channel acquisition memory (CH1 to CH4) or from register memory (M1 to M8 for standard memory and M9 to M50 for extended memory). The TRACe command writes a binary trace block to register memory (M1 to M8 for standard memory and M9 to M50 for extended memory). A specified constant can also be written into trace register memory.
4 - 112 COMMAND REFERENCE Send → TRACe? CH1 Requests channel 1 trace. Read ← Reads channel 1 trace. Determine nr.of.samples from . Send → SENSe:VOLTage:RANGe:PTPeak? Read ← Send → SENSe:VOLTage:RANGe:OFFSet? Read ← Queries peak-to-peak. Reads peak-to-peak. Queries offset. Reads offset. IF (sample is 1 byte) THEN FOR i = 1 TO nr.of.samples Determine trace(i) value from .
COMMAND REFERENCE 4 - 113 TRACe:POINts Syntax: TRACe:POINts [,] Alias: DATA:POINts [,] CHn | Mi_n n = 1 .. 4 i = 1 .. 8 (standard memory) i = 1 .. 50 (extended memory) | MINimum | MAXimum 512 | 2048 | 4096 | 8192 (standard memory) 512 | 8192 | 16384 | 32768 (extended memory) Notes: - 512 is the default value. MINimum Length becomes 512 points.
4 - 114 COMMAND REFERENCE Description: Defines the trace length (number of trace points) for all traces. The acquisition length and the length of all internal traces is programmed to the value specified in . If the
COMMAND REFERENCE 4 - 115 TRIGger[:SEQuence[1]]:FILTer:HPASs:FREQuency TRIGger[:STARt]:FILTer:HPASs:FREQuency TRIGger[:SEQuence[1]]:FILTer:HPASs:STATe TRIGger[:STARt]:FILTer:HPASs:STATe Syntax: TRIGger[:SEQuence[1]]:FILTer:HPASs:FREQuency | MINimum | MAXimum TRIGger[:SEQuence[1]]:FILTer:HPASs:STATe Alias: TRIGger[:STARt]:FILTer:HPASs:FREQuency | MINimum | MAXimum TRIGger[:STARt]:FILTer:HPASs:STATe The cutoff frequency expressed in hertz.
4 - 116 COMMAND REFERENCE Description: The TRIGger:FILTer:HPASs:FREQuency command sets the MTB cutoff frequency always at the fixed value of 30000 Hz (all values are rounded to 30 KHz). The TRIGger:FILTer:HPASs:STATe command activates (ON) or deactivates (OFF) the MTB high-pass filter. Activating the MTB high-pass filter: - automatically deactivates the MTB low-pass filter. - sets the high-pass cutoff frequency at 30 KHz (HF-reject). - sets the low-pass cutoff frequency at 0 Hz.
COMMAND REFERENCE 4 - 117 TRIGger[:SEQuence[1]]:FILTer:LPASs:FREQuency TRIGger[:STARt]:FILTer:LPASs:FREQuency TRIGger[:SEQuence[1]]:FILTer:LPASs:STATe TRIGger[:STARt]:FILTer:LPASs:STATe Syntax: TRIGger[:SEQuence[1]]:FILTer:LPASs:FREQuency | MINimum | MAXimum TRIGger[:SEQuence[1]]:FILTer:LPASs:STATe Alias: TRIGger[:STARt]:FILTer:LPASs:FREQuency | MINimum | MAXimum TRIGger[:STARt]:FILTer:LPASs:STATe The cutoff frequency expressed in hertz.
4 - 118 COMMAND REFERENCE Description: The TRIGger:FILTer:LPASs:FREQuency command sets the MTB cutoff frequency, which defines the trigger coupling. The specified frequency values are rounded as follows: - 0 .. 4.99 is rounded to 0 Hz, i.e., DC coupling. - 5 .. 4999.99 is rounded to 10 Hz, i.e., AC coupling. Š15000 is rounded to 30 KHz, i.e., LF-reject. The TRIGger:FILTer:LPASs:STATe command activates (ON) or deactivates (OFF) the MTB low-pass filter.
COMMAND REFERENCE 4 - 119 TRIGger[:SEQuence[1]]:HOLDoff TRIGger[:STARt]:HOLDoff Syntax: TRIGger[:SEQuence[1]]:HOLDoff | MINimum | MAXimum Alias: TRIGger[:STARt]:HOLDoff | MINimum | MAXimum The hold-off value expressed in percent. The range is from 0.00 (MINimum = 0 %) to 1.00 (MAXImum = 100 %). Query form: TRIGger[:SEQuence[1]]:HOLDoff? [MINimum | MAXimum] TRIGger[:STARt]:HOLDoff? [MINimum | MAXimum] Response: The hold-off value in percent.
4 - 120 COMMAND REFERENCE TRIGger[:SEQuence[1]]:LEVel TRIGger[:SEQuence[1]]:LEVel:AUTO TRIGger[:STARt]:LEVel TRIGger[:STARt]:LEVel:AUTO Syntax: TRIGger[:SEQuence[1]]:LEVel | MINimum | MAXimum TRIGger[:SEQuence[1]]:LEVel:AUTO Alias: TRIGger[:STARt]:LEVel | MINimum | MAXimum TRIGger[:STARt]:LEVel:AUTO The trigger level expressed in volts. MINimum Selects the minimum possible trigger level. MAXimum Selects the maximum possible trigger level.
COMMAND REFERENCE 4 - 121 After a *RST command, the trigger level is MAXimum and auto level peak-peak is switched off. Notice that there exists a coupling between programming the attenuator (vertical sensitivity) and the trigger level. If the attenuator is changed, the trigger level is also adapted to keep the signal display on the screen. Programming tip: First program the attenuator (SENSe:VOLTage:RANGe:PTPeak), and then the trigger level (TRIGger:LEVel).
4 - 122 COMMAND REFERENCE TRIGger[:SEQuence[1]]:SLOPe TRIGger[:STARt]:SLOPe Syntax: TRIGger[:SEQuence[1]]:SLOPe POSitive | NEGative | EITHer Alias: TRIGger[:STARt]:SLOPe POSitive | NEGative | EITHer POSitive Positive trigger edge. NEGative Negative trigger edge. EITHer Triggering is done at a positive and at a negative edge. Query form: TRIGger[:SEQuence[1]]:SLOPe? TRIGger[:STARt]:SLOPe? Response: POS | NEG | EITH POS Positive trigger edge. NEG Negative trigger edge.
COMMAND REFERENCE 4 - 123 Example: Send → CONFigure:AC (@2) Send → SENSe:SWEep:REALtime ON Send → TRIGger:SOURce INTernal2 Send → TRIGger:LEVel .02 Send → TRIGger:SLOPe EITHer Send → INITiate Send → FETch:AC? (@2) Read ← Configures AC-RMS CH2. Sets real-time mode on. Trigger source becomes channel 2. Trigger level becomes 20 mV. Triggering is done at positive (rising) and negative (falling) trigger edges. Initiates acquisition. Fetches AC-RMS value. Reads AC-RMS value.
4 - 124 COMMAND REFERENCE TRIGger[:SEQuence[1]]:SOURce TRIGger[:STARt]:SOURce Syntax: TRIGger[:SEQuence[1]]:SOURce IMMediate | INTernal | EXTernal | LINE | BUS Alias: TRIGger[:STARt]:SOURce IMMediate | INTernal | EXTernal | LINE | BUS IMMediate Immediate sweeping (no waiting for a trigger). INTernal Input channel is used as trigger source. = 1, 2, 3 or 4. EXTernal Input channel 4 is used as external trigger source (only for PM33x0B).
COMMAND REFERENCE 4 - 125 Description: Controls the trigger source. The command selects the source, and the query returns the source that triggers the acquisition. If a trigger source other than IMMediate, INTernal, LINE, or BUS is active, execution error -221 is generated at receipt of the query. The dual slope selection (EITHer) is only possible, if the trigger source is INTernal and if in the "real time" mode (SENSe:SWEep:REALtime ON).
4 - 126 COMMAND REFERENCE TRIGger[:SEQuence[1]]:TYPE TRIGger[:STARt]:TYPE Syntax: TRIGger[:SEQuence[1]]:TYPE EDGE | VIDeo | LOGic Alias: TRIGger[:STARt]:TYPE EDGE | VIDeo | LOGic | GLITch EDGE Selects edge triggering. VIDeo Selects TV video triggering. LOGic Selects logic triggering (only for PM3384B-94B). GLITch Selects glitch triggering (only for PM33x0B).
COMMAND REFERENCE 4 - 127 TRIGger[:SEQuence[1]]:VIDeo:FIELd[:NUMBer] TRIGger[:STARt]:VIDeo:FIELd[:NUMBer] TRIGger[:SEQuence[1]]:VIDeo:FIELd:SELect TRIGger[:STARt]:VIDeo:FIELd:SELect Syntax: TRIGger[:SEQuence[1]]:VIDeo:FIELd[:NUMBer] | MINimum | MAXimum TRIGger[:SEQuence[1]]:VIDeo:FIELd:SELect ALL | NUMBer Alias: TRIGger[:STARt]:VIDeo:FIELd[:NUMBer] | MINimum | MAXimum TRIGger[:STARt]:VIDeo:FIELd:SELect ALL | NUMBer ALL 1|2 1 | MINimum Selects field1 triggering.
4 - 128 COMMAND REFERENCE Description: The TRIGger:VIDeo:FIELd:SELect command programs the video trigger mode to "field" or "lines". The TRIGger:VIDeo:FIELd[:NUMBer] command selects between "field1" and "field2". After a *RST command, lines triggering (ALL) and field number 1 is selected. Notice that there exists a coupling between selecting field1/field2 using the TRIGger:VIDeo:FIELd[:NUMBer] command and selecting the line number using the TRIGger:VIDeo:LINE command.
COMMAND REFERENCE 4 - 129 TRIGger[:SEQuence[1]]:VIDeo:FORMat[:TYPE]:LPFRame TRIGger[:STARt]:VIDeo:FORMat[:TYPE]:LPFRame TRIGger[:SEQuence[1]]:VIDeo:FORMat[:TYPE] TRIGger[:STARt]:VIDeo:FORMat[:TYPE] Syntax: Alias: TRIGger[:SEQuence[1]]:VIDeo:FORMat[:TYPE]:LPFRame | MINimum | MAXimum TRIGger[:SEQuence[1]]:VIDeo:FORMat[:TYPE] PAL | SCAM | SECAM | NTSC | HDTV TRIGger[:STARt]:VIDeo:FORMat[:TYPE]:LPFRame | MINimum | MAXimum TRIGger[:STARt]:VIDeo:FORMat[:TYPE] PAL | SCAM | SECAM | NTSC | HDTV
4 - 130 Response: COMMAND REFERENCE 525 | 625 | 1050 | 1125 | 1250 525 NTSC standard selected (525 lines/frame). 625 PAL (default) or SECAM standard selected (625 lines/frame). 1050 HDTV standard selected (1050 lines/frame). 1125 HDTV standard selected (1125 lines/frame). 1250 HDTV standard selected (1250 lines/frame). The minimum and maximum number of lines per frame depends on the TV standard specified. If, for example, HDTV was selected, MINimum returns 1050 and MAXimum returns 1250.
COMMAND REFERENCE 4 - 131 Example: Send → TRIGger:VIDeo:FORMat NTSC Send → TRIGger:VIDeo:FORMat PAL Send → TRIGger:VIDeo:FORMat SECAM Send → TRIGger:VIDeo:FORMat:LPFRame 1050 Send → TRIGger:VIDeo:FORMat:LPFRame 1125 Send → TRIGger:VIDeo:FORMat:LPFRame 1250 Selects NTSC, 525 lines/frame. Selects PAL, 625 lines/frame. Selects SECAM, 625 lines/frame. Selects HDTV, 1050 lines/frame. Selects HDTV, 1125 lines/frame. Selects HDTV, 1250 lines/frame. Front panel compliance: The TRIGger:VIDeo:FORMat:...
4 - 132 COMMAND REFERENCE TRIGger[:SEQuence[1]]:VIDeo:LINE TRIGger[:STARt]:VIDeo:LINE TRIGger[:SEQuence[1]]:VIDeo:SSIGnal[:POLarity] TRIGger[:STARt]:VIDeo:SSIGnal[:POLarity] Syntax: TRIGger[:SEQuence[1]]:VIDeo:LINE | MINimum | MAXimum TRIGger[:SEQuence[1]]:VIDeo:SSIGnal[:POLarity] POSitive | NEGative Alias: TRIGger[:STARt]:VIDeo:LINE | MINimum | MAXimum TRIGger[:STARt]:VIDeo:SSIGnal[:POLarity] POSitive | NEGative 1 .. 1250 1 | MINimum Selects video line 1.
COMMAND REFERENCE 4 - 133 Description: The TRIGger:VIDeo:LINE command selects the video line number. Depending on the video system selected, the following ranges are valid: > NTSC from 1 to 525 > PAL or SECAM from 1 to 625 > HDTV from 1 to 1250 The TRIGger:VIDeo:SSIGnal command selects the video signal polarity. After a *RST command, video line number 1 and signal polarity POSitive are selected. Example: Send → TRIGger:TYPE VIDeo Send → TRIGger:VIDeo:LINE 123 Selects TV video triggering.
APPLICATION PROGRAM EXAMPLES A-1 APPENDIX A APPLICATION PROGRAM EXAMPLES The program examples are written for the CombiScopes with the IEEE option installed. No other instrument is required to execute these examples. For system and programming environment requirements to execute these examples, refer to section 2.1 "Preparations for SCPI programming". A.1 Measuring Signal Characteristics A.1.1 Making automatic measurements A.1.2 Making programmed measurements A.1.3 Reading measurement values A.
A-2 APPLICATION PROGRAM EXAMPLES A.1 Measuring Signal Characteristics Measuring signal characteristics can be done in either of the following ways: 1) Using the measurement instructions. Example A.1.1 shows how to do that automatically by letting the CombiScope instrument select the best possible settings. Example A.1.2 shows how to do that after programming your own instrument settings.
APPLICATION PROGRAM EXAMPLES A-3 StopEOI% = 256 ’Termination Receive on EOI CLS ’Clears Output Screen CALL SendIFC(0) ’Clears the GPIB interface CALL IBTMO(0, 13) ’Timeout at 10 seconds ’ ’*** Reset the instrument and clear the status data. cmd$ = "*RST;*CLS" CALL Send(0, 8, cmd$, EndEOI%) CALL errorcheck ’ ’*** Configure for measuring the frequency of the Probe signal. cmd$ = "CONFigure:VOLTage:FREQuency (0.6),2000,(@1)" CALL Send(0, 8, cmd$, EndEOI%) PRINT "Frequency Amplitude Period Pos.width Neg.
A-4 APPLICATION PROGRAM EXAMPLES A.1.2 Making programmed measurements In the following example the overshoot value on the rising edge of the Probe Adjust signal is measured. This is done by programming the input conditions in the RUN mode (INITiate:CONTinuous ON), followed by a single-shot measurement of the peak-to-peak (PTPeak) value and the rise time overshoot percentage (RISE:OVERshoot).
APPLICATION PROGRAM EXAMPLES A-5 A.1.3 Reading measurement values In the following example measurement values are read into the computer as calculated by the front panel MEAS1 and MEAS2 features during a single-shot measurement.
A-6 APPLICATION PROGRAM EXAMPLES A.3 Saving/Recalling Instrument Setups The following examples use the save/recall features for instrument setups. Saving and recalling can be done via internal memory (refer to A.3.1) and remotely via computer disk space (refer to A.3.2). These features can be used for non-supported functions, e.g., Cursor Measurements. Before executing one of the programs in section A.3.1 or A.3.2, a cursor measurement setup must be done by hand via the front panel. A.3.
APPLICATION PROGRAM EXAMPLES • • • A-7 Routine ServReq does the following: - Serial polls the status byte to reset the SRQ mechanism. - Reads the ESR byte to clear the OPC bit. - Sets the SRQ.detected flag to signal that an SRQ interrupt occurred. Routine Enter.Setup does the following: - Requests for an internal memory () from 0 to 10. - Sends the *RCL command to recall the memory setup. Routine Save.Setup does the following: - Requests for an internal memory () from 1 to 10.
A-8 • • • • APPLICATION PROGRAM EXAMPLES If an SRQ is generated (acquisition finished), the dT cursor value is read and printed by sending: DISPlay:WINDow:TEXT20:DATA? Request to stop or to repeat this test (do Repeat.test1 again). Routine ServReq does the following: - Serial polls the status byte to reset the SRQ mechanism. - Reads the ESR byte to clear the OPC bit. - Sets the SRQ.detected flag to signal that an SRQ interrupt occurred. Routine Enter.
APPLICATION PROGRAM EXAMPLES A-9 A.4 Making a Hardcopy of the Screen In the following example a hardcopy of the screen picture is made as follows: 1) Enter the hardcopy of the screen in HPGL data format. 2) Send the entered data buffer to a HPGL plotter connected via the IEEE bus. Application summary: CombiScope instrument • • • • • • • IEEE computer IEEE plotter Connect the HPGL plotter to the computer via the GPIB interface.
A - 10 APPLICATION PROGRAM EXAMPLES A.5 Pass/Fail Testing The following examples use the SYSTem:SET command for storing and restoring instrument setups, which can be used for non-supported functions, such as, Pass/Fail Testing. Before executing one of the programs, a pass/fail test setup must be created by hand via the front panel, including: 1) Generation of a signal that must be tested. 2) Creation of an envelope that must be stored in one of the memory registers, e.g. m2.
APPLICATION PROGRAM EXAMPLES • • A - 11 Routine Save.Envreg does the following: - Requests for a memory register to read the envelope from, e.g. 2_1. - Requests the reference envelope by sending e.g.: TRACe? M2_1 and by reading the envelope data (envelope$). - Writes the envelope register, length, plus data to the opened file. Close the opened file. Application program: Note: The Q(uick)BASIC program is supplied on floppy under file name EXAPPA51.BAS.
A - 12 APPLICATION PROGRAM EXAMPLES A.5.3 Running a pass/fail test In the following example the current pass/fail test setup is started and monitored. During monitoring, use is made of the pass/fail status bit (bit 10) in the OPERation status register to detect a failing waveform. The OPERation bit (bit 7) in the standard status byte is used to generate a service request (SRQ) when a failing waveform is detected. If so, the failing waveform is read from memory register 3.
CROSS REFERENCES B-1 APPENDIX B CROSS REFERENCES B.1 Cross Reference Front Panel Keys / Commands The front panel picture is copied from the operation guide, showing the SCPI commands corresponding to front panel keys.
B-2 CROSS REFERENCES
CROSS REFERENCES B-3 B.2 Cross Reference Softkey Menus / Commands The menu pictures are copied from or refer to menus in the operation guide. The relationship to the corresponding SCPI command(s) is also shown. B.2.
B-4 B.2.2 CROSS REFERENCES CURSORS menu Programmable with the *SAV/*RCL and SYST:SET commands. CURSORS (MEAS) (MATH) CURSORS READOUT on off T 1/ T T-ratio ph T-trg = || # auto ch1 ch2 T=360 V V1 V2 V-ratio CONTROL CONTROL 20 21 DISP:WIND:TEXT40 :DATA? 51 52 10 DISP:WIND:TEXT11 :DATA? 12 V=100% = || = || READOUT RETURN CURSORS 1) CURSORS READOUT (MATH) on off dBm dBµV Vrms ch1 m1.
CROSS REFERENCES B.2.3 B-5 DISPLAY menu ANALOG MODE: DISPLAY DISPLAY X-DEFL on off X-SOURCE ANALOG X-DEFL TEXT ch1 ch2 ch3 ch4 line RETURN TRACK USE: for Position ∆ for Character DIGITAL MODE: DISPLAY DISPLAY WINDOWS on off TRACK VERT MAGNIFY off T X vs Y TEXT dots lineair sine X vs Y TEXT EDIT USER TEXT T on off TRIG IND on off on off GND IND on off space REGISTER TRACK acq m1 T m2 USER TEXT X SOURCE delete m3.1 m3.2 m3.
B-6 B.2.
CROSS REFERENCES B-7 CALC 1 :MATH[:EXPR] 2 MATH n 1 2 3 4 5 MATH AREA add sub mul filter int dif fft his ch1 ∆ ch2 ∆ LIMITED yes no TRACK LEFT T 80 samples ∆ RIGHT ∆ 20 samples TRACK T ∆ CALC 1:FEED 2 RETURN ENTER 7 MATH DIF PARAM TRACK WINDOW 31 T samples MATH INTEGR PARAM LIMITED yes no MATH FFT PARAM LIMITED yes no AREA AREA 1 DIV= ∆ 21.3mU 1 DIV= ∆ 21.3mU ∆ OFFSET ∆ OFFSET ∆ 26.8mU 26.
B-8 CROSS REFERENCES
CROSS REFERENCES B.2.5 B-9 MEASURE menu MEASURE MEASURE SELECT MEAS n SELECT MEAS n SELECT MEAS n MEAS 1 pkpk ch2 on off volt time delay dc rms min max pkpk low high ch1 ch2 ch3 volt time delay freq period pulse rise fall duty width ch1 ch2 ch3 volt time delay MEAS2 rise ch2 on off CURSOR LIMIT & STATIST PASS/ FAIL TRACK T RETURN TRACK T RETURN DISP:WIND:TEXT2:DATA? DISP:WIND:TEXT1:DATA? Notes: - ch3 is not applicable for PM33x0B. ext instead of ch4 for PM33x0B. B.2.
B - 10 B.2.7 CROSS REFERENCES SAVE/RECALL menu SAVE SAVE ACQ TO MEMORY TRACK m1 m2 T m3 save TRAC[:DATA] CLEAR& PROTECT MEMORY TRACK m1 m2 T m3 PROTECT on off clear TRAC:COPY yes clear COPY clear all RECALL CLEAR& PROTECT RETURN RECALL REGISTER MEMORY TRACK RECALL REGISTER MEMORY ch4 m1.1 T m1.2 DISPLAY on off CLEAR DISPLAY TRAC[:DATA]? Y-pos −x.
CROSS REFERENCES B.2.9 B - 11 TB MODE menu SYST:SET ✴RCL/✴SAV TB MODE ANALOG: TB MODE EVENT DELAY on off auto trig single INIT:CONT ON OFF EVENT DELAY on off TRACK COUNT T 1022 CHANNEL 1 2 3 4 LEVEL ∆ +99.
B - 12 CROSS REFERENCES B.2.
CROSS REFERENCES B - 13 VIDEO SYSTEM hdtv ntsc pal secam TRIG:VID:FORM[:TYPE] LINES 1050 1125 1250 TRIG:VID:FORM:LPFR ENTER TRIGGER MAIN TB TRIGGER MAIN TB TRIGGER MAIN TB edge tv logic state pattern glitch edge tv logic state pattern glitch edge tv logic state pattern glitch LHxH LHxH enter exit if >t1 if t1 if t1
B - 14 B.2.
CROSS REFERENCES UTIL AUTOSET AUTOSET off default userprog setups UTIL AUTOSET PROBE PROBE 1:1 unaffect B - 15 UTIL AUTOSET TRIG UNAFFECT yes no UTIL AUTOSET VERT CHANNELS scan unaffect ac dc unaffect 1MΩ 50Ω unaffect VERT TRIG PROBE RETURN RETURN RETURN RETURN UTIL REMOTE CONTRL IEEE RS232 (SCPI) UTIL SCREEN & SOUND TRIG IND on off EDIT USER TEXT T UTIL SOUND TRIG IND on off ADDRESS 8 T BEEP on off space CLICK on off SYST:BEEP SOUND MTB-int 1:4 T RETURN on off delete USER TEXT inser
B - 16 CROSS REFERENCES B.2.12 VERTICAL menu VERTICAL MENU BW LIMIT on off INP:FILT ON OFF 50Ω CH1 on off INP1:IMP 50Ω CH2 on off INP2:IMP 50Ω CH3 on off INP3:IMP 50Ω CH4 on off INP4:IMP ST7441 Note: - 50Ω/1 MΩ only applicable for PM3394B.
CROSS REFERENCES B - 17 B.3 Cross Reference Functions / Commands This section describes the SCPI commands that are related to the oscilloscope functions and frontpanel keys. The oscilloscope functions and keys are described in chapter 5 "Function Reference" of the Operating Guide. The SCPI commands are specified in chapter 4 "COMMAND REFERENCE" of the SCPI Programming Manual. FUNCTION + KEYS/MENUS RELATED SCPI COMMAND(S) ACQUISITION LENGTH key TB MODE menu TB MODE - softkeys n = 1 ..
B - 18 CROSS REFERENCES FUNCTION + KEYS/MENUS RELATED SCPI COMMAND(S) AUTOSET key AUTOSET SYSTem:KEY 101 AUTOSET SEQUENCE key STATUS key TEXT OFF menu UTILITY AUTOSET or PROBE - softkeys n = 1 .. 6 SYSTem:KEY 201 SYSTem:KEY 801 DISPlay:MENU UTIL SYSTem:KEY n AUTOSET USERPROG key UTILITY menu UTILITY AUTOSET - softkeys n = 1 .. 6 SYSTem:KEY 104 DISPlay:MENU UTIL SYSTem:KEY n AVERAGE key AVERAGE key ACQUIRE menu ACQUIRE - softkeys n = 1 ..
CROSS REFERENCES B - 19 FUNCTION + KEYS/MENUS RELATED SCPI COMMAND(S) CURSOR READOUT key CURSORS menu CURSORS READOUT SYSTem:KEY 204 DISPlay:MENU CURSors DISPlay:WINDow[1]:TEXT:DATA? DELAY menu TB MODE EVENT DELAY - softkeys n = 1 .. 6 - select pos/neg slope SENSe:SWEep:OFFSet:TIME DISPlay:MENU TBMode SYSTem:KEY n TRIGger:SLOPe DELAY MEASUREMENT key MEASURE menu MEASURE MEAS1(2) - softkeys n = 1 ..
B - 20 FUNCTION + KEYS/MENUS CROSS REFERENCES RELATED SCPI COMMAND(S) FFT - FAST FOURIER TRANSFORMATION (MATHPLUS) key MATH SYSTem:KEY 111 menu MATH DISPlay:MENU MATH - softkeys n=1 ..
CROSS REFERENCES B - 21 FUNCTION + KEYS/MENUS RELATED SCPI COMMAND(S) INPUT COUPLING key ON (toggled ON) key ON CH1 key ON CH2 key ON CH3 key ON CH4 key TRIG VIEW EXT key AC/DC/GND CH1 key AC/DC/GND CH2 key AC/DC/GND CH3 key AC/DC/GND CH4 key AC/DC EXT INPut[]:COUPling AC|DC|GROund SENSe:FUNCtion SYSTem:KEY 803 SYSTem:KEY 806 SYSTem:KEY 809 (PM33x4B) SYSTem:KEY 812 (PM33x4B) SYSTem:KEY 812 (PM33x0B) SYSTem:KEY 804 SYSTem:KEY 807 SYSTem:KEY 810 (PM33x4B) SYSTem:KEY 813 (PM33x4B) SYSTem:KEY 813 (PM33x
B - 22 CROSS REFERENCES FUNCTION + KEYS/MENUS RELATED SCPI COMMAND(S) MATHEMATICS key MATH menu MATH - softkeys n = 1 .. 6 CALCulate[1|2]: .... MEASURE MENU MEASure? CONFigure + READ? CONFigure + INITiate + FETCh? SYSTem:KEY 110 DISPlay:MENU MEASure SYSTem:KEY n DISPlay:WINDow[1]:TEXT<1|2>:DATA? key MEASURE menu MEASURE - softkeys n = 1 .. 6 - MEAS 1 & MEAS 2 DISPlay:MENU MATH SYSTem:KEY n MULTIPLY (MATHEMATICS) key MATH menu MATH MATH1(2) - softkeys n = 1 ..
CROSS REFERENCES B - 23 FUNCTION + KEYS/MENUS RELATED SCPI COMMAND(S) PROBE SCALING (MATHPLUS) *SAV, *RCL SYSTem:SET PROBE UTILITIES key UTILITY menu UTILITY PROBE - softkeys n = 1 .. 6 SYSTem:KEY 104 DISPlay:MENU UTIL SYSTem:KEY n REMOTE CONTROL IEEE-488.2 key STATUS / LOCAL key UTILITY menu UTILITY REMOTE SETUP - softkeys n = 1 .. 6 SYSTem:KEY 201 SYSTem:KEY 104 DISPlay:MENU UTIL SYSTem:KEY n REMOTE CONTROL RS-232 key STATUS / LOCAL key UTILITY menu UTILITY REMOTE SETUP - softkeys n = 1 ..
B - 24 FUNCTION + KEYS/MENUS STANDARD FRONT/FRONT PANEL RESET key SETUPS menu FRONT SETUPS - softkeys n = 1 ..
CROSS REFERENCES FUNCTION + KEYS/MENUS TIMEBASE MODES key TB MODE menu TB MODE - softkeys n = 1 ..
B - 26 FUNCTION + KEYS/MENUS TRIGGERING OF SWEEPS - send GET code - abort trigger system - initiate trigger system continuously - initiate trigger system once only CROSS REFERENCES RELATED SCPI COMMAND(S) *TRG ABORt INITiate:CONTinuous INITiate[:IMMediate] TRIGGER COUPLING key TRIGGER key DTB menu TRIGGER menu DTB - softkeys n = 1 .. 6 SYSTem:KEY 209 SYSTem:KEY 402 DISPlay:MENU TRIGger DISPlay:MENU DMODe SYSTem:KEY n TRIGGER DEL’D TB key DTB menu DTB - softkeys n = 1 ..
CROSS REFERENCES B - 27 FUNCTION + KEYS/MENUS RELATED SCPI COMMAND(S) TV TRIGGER key TRIGGER menu TRIGGER - field1, field2, lines TRIGger:TYPE VIDEO SYSTem:KEY 209 DISPlay:MENU TRIGger TRIGger:VIDeo:FIELd[:NUMBer] TRIGger:VIDeo:FIELd:SELect TRIGger:VIDeo:LINE TRIGger:VIDeo:SSIGnal TRIGger:VIDeo:FORMat[:TYPE] TRIGger:VIDeo:FORMat[:TYPE]:LPFRame - select line number (TRACK) - pos/neg signal polarity - VIDEO SYSTEM USERTEXT key UTILITY menu UTILITY USER TEXT - softkeys n = 1 ..
B - 28 CROSS REFERENCES FUNCTION + KEYS/MENUS RELATED SCPI COMMAND(S) VOLT MEASUREMENTS key MEASURE SYSTem:KEY 110 menu MEASURE DISPlay:MENU MEASure - softkeys n = 1 ..
MANUAL CONVENTIONS APPENDIX C MANUAL CONVENTIONS C.
C-2 MANUAL CONVENTIONS - IDY - IDN - IEC - IEEE - i.e.
MANUAL CONVENTIONS - RAM - RCL - REN - RL - rms - rmt - rmu - RQC - RQS - RST - rtl = = = = = = = = = = = Random Access Memory Recall Remote Enable Remote Local root mean square response message terminator response message unit Request Control Request Service Reset return to local - SAV - SCPI - SDC - SECAM - SH - SPD - SPE - SRE - SR(Q) - STB - Std = = = = = = = = = = = Save Standard Commands for Programmable Instruments Selected Device Clear Sequentielle Couleurs à Mémoire Source Handshake Serial Pol
C-4 MANUAL CONVENTIONS C.2 Glossary of Symbols Used - µV - dB - dBm - dBµV - Vrms - Hz -m - Mbyte - ms - mw -s -% - [ ... ] - { ... } -| -^ micro voltage (1E-6) decibell decibell with respect to 1 mW decibell with respect to 1 µV RMS voltage (Peak /√2) Hertz meter Megabyte milliseconds milliwatt (1E-3) seconds percentage Default program message part, which can be optionally specified.
MANUAL CONVENTIONS C.4 List of Figures Figure 3.1 Figure 3.2 Figure 3.3 Figure 3.4 Figure 3.5 Figure 3.6 Figure 3.7 Figure 3.8 Figure 3.9 Figure 3.10 Figure 3.11 Figure 3.12 Figure 3.13 Figure 3.14 Figure 3.15 Figure 3.16 Figure 3.17 Figure 3.18 Figure 3.19 Figure 3.20 Figure 3.21 Figure 3.22 Figure 3.23 Figure 3.24 Figure 3.25 Figure 4.1 Appendix B.1 Appendix B.
C-6 MANUAL CONVENTIONS C.5 Documents Referenced 1) General Purpose Interface Bus (GPIB) IEC 625-1 / IEEE-488.
STANDARDS INFORMATION D-1 APPENDIX D STANDARDS INFORMATION D.1 SCPI Conformance Information All commands comply to the SCPI standard 1994.0, except for the following: - The *RST condition of the SENSe:VOLTage[:DC]:RANGe:AUTO ON | OFF command. Exception: - The *RST condition of the SENSe:SWEep:TIME:AUTO ON | OFF command. Exception: - After *RST, autoranging MTB is switched off. After *RST, autoranging attenuators CH1, CH2, CH3, and CH4 are switched off.
D-2 STANDARDS INFORMATION D.2 List of Implemented IEEE-488.2 Syntactical Elements The following list of elements is used in the common and SCPI commands: Represents a sequence of zero or more elements, separated by ELEMENTS. Represents a single command, programming data, or a single query received by a device. Represents a single command or programming data received by a device.
STANDARDS INFORMATION D-3 Separates the elements from one another in a . Only the semicolon (;) is allowed as program message unit separator. Separates sequential elements that are related to the same command program header. Only the colon (,) is allowed as program data separator. Separates the command program header from any associated .
SUMMARY OF SYSTEM SETTINGS E-1 APPENDIX E SUMMARY OF SYSTEM SETTINGS The following table identifies which instrument settings belong to which node. NODE NR: SPECIFICATION: 0 End node settings zero 1|2|3|4 Channel 1/2/3/4 settings length = 8 bytes attenuation, channel on/off, input coupling DC/AC/grounded, invert on/off, input impedance 50Ω/1MΩ, attenuation mode continuous/discrete, Y_offset_position.
E-2 SUMMARY OF SYSTEM SETTINGS 18 Delayed timebase settings length = 13 bytes delayed timebase, trigger mode edge, TV, trigger level, delayed timebase on/off, trigger slope pos/neg, noise suppression on/off, trigger source CH1/2/3/4, mtb, trigger delay, trigger coupling AC, DC, LF reject, HF reject. 19 Event trigger delay settings length = 9 bytes event counter, event trigger level, event trigger source CH1/2/3/4, event triggering on/off, event trigger slope pos/neg, event trigger coupling AC, DC.
SUMMARY OF SYSTEM SETTINGS E-3 65 | 66 MATH1/2 settings length = 22 bytes MATH1/2 selection, limited on/off, FFT filter Hamming/Hanning/Rectangle, adjustify scale/offset, source1/source2, Y-cursors/X-cursors, mathematics type add, subtract, multiply, filter, integrate, differentiate, fast fourier, histogram, source MATH1/2 CHn, Mi_j, scale, offset, filter window width, differentiate window width, FFT area left/right border, Yoffset integrate limited area, FFT absolute/relative readout.
INDEX I-1 Numerics 16-bit samples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 wire . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 wire . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-bit samples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-33 4-97 4-97 3-32 A Absolute FFT . . .
I-2 INDEX B Bandwidth. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-22, 3-40, 4-23, 4-24, 4-63 Bandwidth Limiter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-18 Baudrate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-98, 4-99 Beeper . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-24, 4-96 Binary_data . . . . . . . . . . . . . . . . . . .
INDEX I-3 DC coupling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-21, 3-22, 4-117 Decimal numeric program data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D-2 Default . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2, 4-70, 4-71 Definite_block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4 Delay. . . . . . . . . . . . . . . . . . . . . . . . . .
I-4 INDEX EXAPPA32.BAS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-8 EXAPPA4.BAS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-9 EXAPPA51.BAS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-11 EXAPPA52.BAS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-11 EXAPPA53.BAS . . . . . . . . . . . . . . . . . . . . . .
INDEX I-5 GET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-16, 3-20, 4-28, 4-56, 4-124, B-26 Glitch settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-20 GROund . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-62 H HAMMing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-49 Handshake . . . . . . . . . . . . . . . . . . .
I-6 INDEX Internal memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-22, 4-24, 4-25 Invert . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-17 Inverted signal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-40, 4-65 K Key number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-102 L Level peak-peak . . . . . . . . . . . . .
INDEX I-7 Measuring signal characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-2 Memory. . . . . . . . . . . . . . . . . . . . . . . . 3-56, 3-58, 3-60, 3-78, 4-22, 4-25, 4-111 Memory_trace. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-33 Menu. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-61, 3-65, 4-46, 4-47 Meta symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
I-8 INDEX P Pacing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-99 PAL. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-24, 4-129 Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-5, 4-43, 4-54, 4-67, 4-74 Parity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-99 Pass/Fail. . . . . . . . . . . . . . .
INDEX I-9 Questionable condition register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-93 Questionable event enable register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-93 Questionable event register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-93 Questionable event status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-73, 4-16 Questionable status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
I - 10 INDEX Screen position. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-31, 3-34, 3-49 SECAM. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-24, 4-129 Self-test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-29 Send . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2 SendDataBytes . . . . . . . . . . .
INDEX I - 11 T T . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-62 T1-trg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-63 T2-trg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-63 TB mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-23, 4-24 TEMPerature . . . .
I - 12 INDEX TV standard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-23, 4-130 TV trigger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-27 TV video triggering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-23, 4-126 U Upper case . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2 URQ . . . . . . . . . . . . . . . . .