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