Qvwuxphqw
Trademarks
III
About this Manual What this Manual Contains
Initializing the CombiScope Instrument
Measuring Signal Characteristics
15.1.1
15.4.2 Error-reporting using the SRQ mechanism
Readout of measurement data
15.1.2
Command Reference
Application Program Examples . . . . . . . . . . . . . A-1
VII
What this Manual Contains
About this Manual
About this Manual
Getting Started with Scpi Programming
System setup
Preparations for Scpi Programming
Programming environment
Addresslist
Command
Commands
Constant -1 Ffff hex
Program Example
Programming Note
How to switch between digital and analog mode
How to reset the CombiScope instrument
How to identify the CombiScope instrument
Initializing the CombiScope Instrument
Error Reporting
’Requests for error
Format of the trace response data is as follows
Acquiring Traces
Channels and memory registers Example Send -- FORMat INT,16
Example
How to acquire a single shot trace
Preparations
This string data
How to acquire repetitive traces
Connect a probe from the Probe Adjust signal to channel
MEASure?
Measuring Signal Characteristics
CONFigure + READ?
INITiate + FETCh?
How to make a single shot measurement
How to make repeated measurements
Using the Combiscope Instruments
Introduction
Using the Combiscope Instruments
SAV
Fundamental Programming Concepts
TRACe? CH1
RCL
DISPlayMENU TRIGger
SYSTemKEY
Measurement instructions
Single function programming using the instrument model
Explanation of the Instrument Model
Instrument setup
Read ← blockdata Instrument setup
Front panel simulation
MEASure? query
MEASureAC?
Benefits of using parameters
Voltageparameters = expectedvoltage,resolution
Generic form of a measurement instruction is as follows
MEASureVOLTageAMPLitude? 10, @2
Examples
MEASureAMPLitude?
MEASureVOLTageFREQuency? 10E6, @3
Pulse characteristics
Waveform measurements
Measurefunctionmeasureparameters
MEASureFALLTIME? @3
MEASureRISETIME? 20,80
FTIMe = alias for Falltime RTIMe = alias for Risetime
SENSeAVERage on
Customizing settings
CONFigureAC
SENSeAVERageCOUNT
CONFigureRISETIME
READRISEOVERshoot?
Multiple measurements
Starts Acquisition Returns
Multiple characteristics from a single acquisition
READFREQuency?
Starts a Next acquisition Returns New Frequency result
INITiate
Trigger control via Gpib
TRIGgerSOURce BUS
FETChAC?
Fetching characteristics from memory traces
M12,CH2
Acquisition
Acquisition control
Using the Combiscope Instruments
Trigger Source
Triggering
Trigger Type
Trigger Level
Trigger Slope
Trigger Coupling
DC Coupling 0 Hz cutoff frequency
DC Coupling
AC Coupling 10 Hz cutoff frequency
LF-REJECT 30 KHz cutoff frequency
HF-REJECT 30 KHz cutoff frequency
Video triggering
PAL
Ntsc
Lines per frame
Secam
Line
Trigger modes
OFF
BUS
Commands
State Description
Pre- and post-triggering
Trace
External triggering
Reading trace acquisitions
10 The trace acquisition flow
Single-shot acquisition
Repetitive acquisitions
Conversion of trace data
11 Relation between screen position and trace value
’Array of 512 integers
Byte1 = ASCMID$response$, J
Ps = Ts
For 8-bit sample traces
Ps = Ts / 25600 * 100 = Ts
Using the Combiscope Instruments Program Example
’1-byte samples
Averaging Acquisition Data
AVGn = ∑X1 + .. + Xn ⁄ n
13 The Trigger Model during acquisition averaging
Channel Selection
Programming tip
Signal Conditioning
1 AC/DC/ground coupling
Input polarity
Input filtering
Input impedance
Vertical range and offset
Vs = Ts / 200 * PTPeak OFFSet
Autoranging attenuators
Limitation
Time base speed
Time Base Control
Number of samples
MTB = 50 * SENSeSWEepTIME / TRACePOINts
Ts = sampleindex * SENSeSWEepTIME / TRACePOINts
Real time acquisition
16 Definition of a signal period
Autoranging time base
Select the source for the post processing function
How to do post processing
Post Processing
Send → CALCulateFEED M21 ’M21 = source for CALC1
Math
Standard Available
Mathematical calculations
Optional
Check the result of the post processing function
Example Send → TRACe? M21
Read ← tracebuffer ’Reads M21 trace
Mathematical calculations
Differentiating and integrating traces
Frequency domain transformations
Relative FFT
Absolute FFT
Trace Point Values
For 16-bit samples Ps = Ts 25600
Trace data
This can be calculated as a signal level
Example for attenuator setting 0.5 V/div
Vrms offset calculation
DBμV offset calculation
DBm 50Ω offset calculation
DBm 600Ω offset calculation
DBμV = 1 μV 1.0E-6 V at 50Ω impedance
Setting
Trace Point Frequencies
Fs = sampleindex * 1250 / TRACePOINts * MTB
Program Example
Histogram functions
Amplitude belt = peak-to-peak range
Frequency filtering
Trace Memory
20 Trace memory control
Extended
Channels Memory Registers Standard
PM33x0B 512 +EXT
Trace formatting
Copying traces to memory
’Queries for CH3 trace
Writing data to trace memory
Send → TRACe? CH3
Read ← trace block
Reading data from trace memory
Display functions
Screen/Display Functions
Brightness control
Menu
Meastype,measvalue,suffixunit
Measurement Value
MEAS1/MEAS2 Data
Description
Cursors Data
Type Unit Description
Math FFT Data
Call Send0, 8, DISPlayMENU MEASure
Display of user-defined text
Program Example 2 text as block data
Selection of softkey menus
Hpgl
Print/Plot Functions
Device Type
Hplaser
22 Hardcopy of screen on printer/plotter
Real-Time Clock
Auto Calibration
= okay
Status Reporting
Status data for the CombiScope instruments
CALibrating
Digital mode
Operation status data
RANGing
VOLTage
TEMPerature
Questionable status data
CALibration
How to reset the status data
Status Register Data Structure Preset Value
How to enable status reporting
Program example using the status byte STB
’Defines SRQ-routine
How to report errors
Error-reporting routine
’Sends error query
How to save/restore a setup via instrument memory
Saving/Restoring Instrument Setups
How to restore initial settings
How to save/restore a setup via the Gpib controller
Row 201
How to simulate the pressing of a front panel key
Front Panel Simulation
Row 801
How to simulate the operation of a softkey menu
Autoset Simulation
DISPlayMENU ACQuireSYSTemKEY 3 toggles on/off
Functions not Directly Programmable
Envelope
MULTiple-shot
Non-terminal symbols
Syntax specification notations
Meta symbols
Terminal symbols
Between the square brackets, without
Default
Not contain the message element
MEASureVOLTageDC? is the same
Data types
An explicit decimal point and may or may not be
Preceded by a sign, e.g
Examples This is a string
Bit codes
Double quotes
’This also’
Command Summary
Feed
Gate
State
Command Reference Parameters
Menu Name
DATA?
Read
TYPE?
Auto
Baud
DTR
RTS
Bits
ALL
Type PAL Secam Ntsc Hdtv
Measurefunction Measureparameters
Expectedvoltage ,resolution
Timeresolution
Referencelow ,referencehigh,expectedtime
Command Descriptions
Errors
Front panel compliance
Specifies the compliance with front panel operations
Calibration okay Calibration not okay
CAL? CALibration
Syntax *CAL? Response 0
Limitation
16COMMAND Reference
Clear Status
Ation Complete bits to be summarized in the Status
Event Status Enable
Byte Register. Alternative commands *ESE #B10001
*ESE #H11
Response Integer Description
18COMMAND Reference
Event Status Register
PON URQ CME EXE DDE QYE RQC OPC ESR
IDN? Identification
Syntax *IDN?
Query form *OPC? Response Description
20COMMAND Reference
Operation Complete
Restrictions
OPT? Option identification
Ieee EXT EM MP
Recall instrument setup
22COMMAND Reference
Syntax RCL numericdata Description
RST Reset
Function Default Settings
Syntax *RST Description
Math 1
Beeper Hardcopy Print & Plot Plotter Hpgl Pass/Fail testing
Measure 1
Cursors
Save instrument setup
Syntax SAV numericdata Description
Service Request Enable
26COMMAND Reference
Request Enable Register
STB? Status Byte
Syntax STB? Response Integer Description
TRG Trigger
Syntax *TRG Description
TST? Self-test
Syntax *TST? Response 0
Self-test okay Self-test not okay
Command Reference
Syntax ABORt Description
Configures for AC-RMS value
ABORt
Aborts the current acquisition
Switches the differentiate
CALCulatenDERivativePOINts CALCulatenDERivativeSTATe
Function on
CALCulatenFEED
Filter function turned off Filter function turned on
CALCulatenINTegralSTATe
Integrate function turned off Integrate function turned on
Switches MATH2 function on
CALCulatenMATHEXPRession
Switches MATH1 function on
CALCulatenMATHSTATe
Query form CALCulatenTRANsformFREQuencyTYPE?
Response ABS REL
Switches MATH2-FFT on
Selects relative MATH2-FFT calculation
Selects MATH2-FFT-HANNing window
Switches
CALCulatenTRANsformHISTogramSTATe
Histogram function turned off Histogram function turned on
CALibrationALL
Syntax CALibrationALL Query form CALibrationALL?
Response 0 Description
Starts auto calibration
Reads condition register
Conditions
CONFigure
Syntax CONFigureVOLTagemeasurefunction
Syntax elements are specified with the MEASure? query
Channel 2 AC coupled
Signal on channel
Expected voltage 600 mV
Initiates + fetches AC-RMS
Response NR3
DISPlayBRIGhtness
Query form DISPlayBRIGhtness? MINimum MAXimum
NR30.00E00 .. .00E00
DISPlayMENUNAME
Switches TB Mode menu display on
DISPlayMENUSTATe
Display turned off Display turned on
Syntax DISPlayWINDow1TEXTnDATA?
Type Analog Mode Digital Mode
DISPlayWINDow1TEXTnDATA?
Response is peak-peak value of 608.4 mV MEAS1
Display on
DISPlayWINDow2TEXT1CLEar
Clears all user text
Sends 25 decimal
DISPlayWINDow2TEXT1DATA
As text
Character byte
Command Reference
DISPlayWINDow2TEXT1STATe
FETChVOLTagemeasurefunction?
54COMMAND Reference
FETCh?
Voltageparameters, measureparameters
Restrictions
Acquisition
FORMatDATA
INT,8
HCOPyDATA?
HCOPyDEVice
INITiateCONTinuous
Response 1
Trigger level becomes
INITiateIMMediate
Syntax INITiateIMMediate
Single shot acquisition
INPutnCOUPling
Query form INPutnFILTerLPASsSTATe?
INPutnFILTerLPASsSTATe INPutnFILTerLPASsFREQuency?
Response 2.00E+07
Common low pass filter off Common low pass filter on
After a *RST command, the impedance is 1 MΩ
INPutnIMPedance
Syntax INPutnIMPedance NRf MINimum MAXimum 1E6
INPutnPOLarity
Response Norm INV Description
DIG
INSTrumentNSELect INSTrumentSELect
Response DIG Anal
Anal
MEASure?
Channellist =
Measurefunction measureparameters
Falltime
High
PDUTycycle Referencemiddle
Signal. The peak to peak value is the difference between
First falling edge equals the REFerence MIDDle until
Ratio percentage of the positive width PWIDth
Risetime
Measureparameters
Referencemiddle is volt Expectedperiod = NRf DEFault
Executed. The unit of timeresolution is second
Frequencyresolution = NRf DEFault
Periodresolution = NRf DEFault
Limitations
Description
74COMMAND Reference
Syntax READVOLTagemeasurefunction?
Example
SENSeAVERageSTATe
Response Scal
SENSeAVERageCOUNt SENSeAVERageTYPE?
Syntax SENSeAVERageCOUNt NRf 8 16 SENSeAVERageTYPE?
Initiates trace averaging
SENSeFUNCtionOFF SENSeFUNCtionON SENSeFUNCtionSTATe?
Addition of channel i+j is off Addition of channel i+j is on
Limitations
SENSeSWEepOFFSetTIME
SENSeSWEepPDETectionSTATe
Slope = either pos. or neg
Real-time mode switched off Real-time mode switched on
SENSeSWEepREALtimeSTATe
Reads AC-RMS
Query form SENSeSWEepTIME? MINimum MAXimum
MTB values in the digital mode
SENSeSWEepTIME
Base range is limited to 10 μs non-alternating time base
Reads sweep time
Coupled values
Requests sweep time
Requests nr of trace points
Sets trigger source CH1
Autoranging MTB switched off Autoranging MTB switched on
SENSeSWEepTIMEAUTO
Sets autoranging MTB on
SENSeVOLTagenDCRANGeAUTO
Switches CH1 on
Switches CH2 on
Autoranging CH2
SENSeVOLTagenDCRANGeOFFSet
Channel
SENSeVOLTagenDCRANGePTPeak
Query form SENSeVOLTagenDCRANGePTPeak? MINimum MAXimum
100 mV/div
Peak-to-peak =
Sensitivity = 0.8 / 8 =
Trigger source =
Response NR1 Description
BIT Decimal Meaning Number Value
Following table defines the effect of STATusPRESet
STATusPRESet
Syntax STATusPRESet
Status Register Filter / Enable Preset Value
Response NR1 Description
Enables report of TEMPerature too high/low 0
TEMPerature too high or too low
Returned value 16 equals bit 4 set temperature too high/low
Enables report of TEMPerature within allowed limits 1
STATusQUEueNEXT?
No error
Error number is -222 and the meaning is Data out of range
350,Queue overflow
Beeps on error
Beeper disabled Beeper enabled
Reads the error queue
SYSTemBEEPer SYSTemBEEPerSTATe
Wire control
Response on Stan
Stan
Even ODD None
XON
None
Response 7
1200
Response XON None
No X-on/X-off handshaking
Becomes
SYSTemDATE
Sets the system date to Nov 7
SYSTemERRor?
SYSTemKEY
Response NR1
Front Panel KEY
Enables Utility softkey menu
Returns the last key simulation
SYSTemSET
Nodenr nodelength firstbyte ... lastbyte
SYSTemTIME
Syntax SYSTemVERSion?
*RST command doesn’t change the current Scpi version
SYSTemVERSion?
Response YYYY.V
TRACeCOPY
TRACeDATA
Response definiteblock
Initiates single acquisition
Queries peak-to-peak
Requests channel 1 trace
Reads channel 1 trace
Reads peak-to-peak
TRACePOINts
Number of trace points for all
Requests M23 trace
Reads M23 trace
Sets high-pass filter on
Pass Boolean
Sets high-pass filter off
Low-pass filter active High-pass filter active HF-reject
DC coupling HF-reject AC coupling KHz LF-reject
Automatically switches
Filter Frequency LOW-PASS on HIGH-PASS on
Low-Pass filter off
TRIGgerSTARtFILTerLPASsFREQuency NRf
TRIGgerSEQuence1FILTerLPASsFREQuency NRf
TRIGgerSEQuence1FILTerLPASsSTATe Boolean
TRIGgerSTARtFILTerLPASsSTATe Boolean
Filter
Frequency LOW-PASS on HIGH-PASS on
Sets cutoff frequency = 30 KHz
TRIGgerSEQuence1HOLDoff TRIGgerSTARtHOLDoff
TRIGgerSTARtLEVel NRf MINimum MAXimum
TRIGgerSEQuence1LEVel NRf MINimum MAXimum
TRIGgerSEQuence1LEVelAUTO Boolean
TRIGgerSTARtLEVelAUTO Boolean
Div. sensitivity
Trigger source Becomes
Channel Continuous initiation
Trigger level becomes 0.2
POS
After a *RST command, the trigger slope is POSitive
TRIGgerSEQuence1SLOPe TRIGgerSTARtSLOPe
NEG
Triggering is done at positive
Configures AC-RMS CH2
Sets real-time mode on
Rising and negative falling
TRIGgerSEQuence1SOURce TRIGgerSTARtSOURce
IMM
EXT
Trigger source
Configures AC-RMS CH1
Input channel 1 becomes
Single initiation
TRIGgerSEQuence1TYPE TRIGgerSTARtTYPE
Edge
Selects edge triggering
Selects lines triggering
Numb
Selects video lines
Linenr = linenr + 625/2 linenr = linenr 625/2
Selects TV video
Selects video line
Secam Ntsc Hdtv
Scam Secam
Scam
Lines/frame Selects Secam
Selects
Lines/frame Selects
Lines/frame Selects Hdtv
Positive video signal polarity selected
Response POS NEG
123 Selects Negative Video Signal polarity
PAL or Secam From 1 to
Making a Hardcopy of the Screen Pass/Fail Testing
Error reporting is invoked as follows Call errorcheck
Application Program Examples
FETChNWIDth?
Making automatic measurements
Application summary
Application program
’Termination Receive on EOI
Making programmed measurements
Acquiring Waveform Traces
Reading measurement values
Saving/Recalling Instrument Setups
Save/recall settings to/from internal memory
Application summary
Application program
Making a Hardcopy of the Screen
CombiScope Instrument
Ieee
Pass/Fail Testing
Saving a pass/fail test setup
Application program Restoring a pass/fail test setup
Running a pass/fail test
DISPlayMENU MEASure
Cross Reference Front Panel Keys / Commands
Cross References
Channel 4 is external trigger input for PM33x0B
Page
Cross Reference Softkey Menus / Commands
Acquire menu
Programmable with the *SAV/*RCL and Systset commands
Cursors menu
Display menu
Ext instead of ch4 for PM33x0B
Mathplus Math menu
Other functions with RCL/SAV and Systset
Yes no
Page
Measure menu
DTB DEL’D TB menu
Setups menu
SAVE/RECALL menu
TB Mode menu
Systset RCL/SAV
Analog Mode
Trigger menu
Logic
Wire
Utility menu
Ieee
Vertical menu
Inpfilt Onoff INP1IMP INP2IMP INP3IMP INP4IMP
Cross Reference Functions / Commands
BW Limit
Function + KEYS/MENUS Related Scpi Commands Autoset
Average
Calibration Autocal
Delayed Timebase DEL’D TB
Delay
Delay Measurement
Differentiate Mathplus
Hold OFF
FFT ON/OFF
Histogram Mathplus
CH1
Magnify Horizontal
Integrate Mathplus
Logic Trigger
Main Time Base
Power Supply
Function + KEYS/MENUS Related Scpi Commands Mathematics
Pass Fail Testing Mathplus SAV, *RCL
Measure Menu
Remote Control RS-232
Remote Control IEEE-488.2
Remote Setup
Probe Utilities
Subtract Mathematics
Function + KEYS/MENUS Related Scpi Commands
Status Screen
Text OFF
Multi
Trig
Single
Roll
Trigger Level
Trigger Coupling
Trigger DEL’D TB
Trigger Main TB
User Text
Util Menu
Util Screen & Sound
DISPlayWINDow1TEXT12DATA?
Abbreviations Used
IEC
IDY
IDN
IFC
RQC
Manual Conventions RAM
REN
RQS
Glossary of Symbols Used
List of Tables
4MANUAL Conventions
List of Figures
Documents Referenced
Standards Information
TRIGgerSEQuence1 STARtVIDeoFORMatTYPE type command Purpose
Scpi Conformance Information
Or abbreviation, e.g., type = Hdtv
List of Implemented IEEE-488.2 Syntactical Elements
Program Data Separator
Command Program Header
Standards Information Program Message Unit Separator
Program Header Separator
Probe scale settings
End node settings
Channel 1/2/3/4 settings
Common vertical settings
Cursor settings
Delayed timebase settings
Event trigger delay settings
Cursor autosearch settings
Trace intensity settings
MATH1/2 settings
Display settings
Display trace position settings
Numerics
Index
Index
Index
Index
Index
Index
Index
Index
Index
Index
Index
Index