Qvwuxphqw
Trademarks
About this Manual What this Manual Contains
III
Initializing the CombiScope Instrument
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
Preparations
How to acquire a single shot trace
This string data
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
SYSTemKEY
DISPlayMENU TRIGger
Measurement instructions
Explanation of the Instrument Model
Single function programming using the instrument model
Read ← blockdata Instrument setup
Instrument setup
Front panel simulation
MEASureAC?
MEASure? query
Voltageparameters = expectedvoltage,resolution
Benefits of using parameters
Generic form of a measurement instruction is as follows
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
READRISEOVERshoot?
CONFigureRISETIME
Multiple measurements
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
DC Coupling
DC Coupling 0 Hz cutoff frequency
AC Coupling 10 Hz cutoff frequency
HF-REJECT 30 KHz cutoff frequency
LF-REJECT 30 KHz cutoff frequency
Video triggering
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
For 8-bit sample traces
Ps = Ts
Ps = Ts / 25600 * 100 = Ts
’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
Autoranging attenuators
Vs = Ts / 200 * PTPeak OFFSet
Limitation
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
Example Send → TRACe? M21
Check the result of the post processing function
Read ← tracebuffer ’Reads M21 trace
Differentiating and integrating traces
Mathematical calculations
Relative FFT
Frequency domain transformations
Absolute FFT
For 16-bit samples Ps = Ts 25600
Trace Point Values
Trace data
Example for attenuator setting 0.5 V/div
This can be calculated as a signal level
Vrms offset calculation
DBμV = 1 μV 1.0E-6 V at 50Ω impedance
DBm 50Ω offset calculation
DBm 600Ω offset calculation
DBμV offset calculation
Trace Point Frequencies
Setting
Fs = sampleindex * 1250 / TRACePOINts * MTB
Program Example
Amplitude belt = peak-to-peak range
Histogram functions
Frequency filtering
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
Type Unit Description
Cursors Data
Math FFT Data
Call Send0, 8, DISPlayMENU MEASure
Program Example 2 text as block data
Display of user-defined text
Selection of softkey menus
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
An explicit decimal point and may or may not be
Data types
Preceded by a sign, e.g
’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
Front panel compliance
Errors
Specifies the compliance with front panel operations
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
22COMMAND Reference
Recall instrument setup
Syntax RCL numericdata Description
Function Default Settings
RST Reset
Syntax *RST Description
Cursors
Beeper Hardcopy Print & Plot Plotter Hpgl Pass/Fail testing
Measure 1
Math 1
Syntax SAV numericdata Description
Save instrument setup
26COMMAND Reference
Service Request Enable
Request Enable Register
Syntax STB? Response Integer Description
STB? Status Byte
Syntax *TRG Description
TRG Trigger
Syntax *TST? Response 0
TST? Self-test
Self-test okay Self-test not okay
Command Reference
Aborts the current acquisition
Configures for AC-RMS value
ABORt
Syntax ABORt Description
CALCulatenDERivativePOINts CALCulatenDERivativeSTATe
Switches the differentiate
Function on
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 relative MATH2-FFT calculation
Switches MATH2-FFT on
Selects MATH2-FFT-HANNing window
CALCulatenTRANsformHISTogramSTATe
Switches
Histogram function turned off Histogram function turned on
Syntax CALibrationALL Query form CALibrationALL?
CALibrationALL
Response 0 Description
Reads condition register
Starts auto calibration
Conditions
Syntax CONFigureVOLTagemeasurefunction
CONFigure
Syntax elements are specified with the MEASure? query
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
DISPlayMENUSTATe
Switches TB Mode menu display on
Display turned off Display turned on
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?
INPutnIMPedance
After a *RST command, the impedance is 1 MΩ
Syntax INPutnIMPedance NRf MINimum MAXimum 1E6
Response Norm INV Description
INPutnPOLarity
Anal
INSTrumentNSELect INSTrumentSELect
Response DIG Anal
DIG
Channellist =
MEASure?
Measurefunction measureparameters
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
Response on Stan
Wire control
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
Requests M23 trace
Number of trace points for all
Reads 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
Frequency LOW-PASS on HIGH-PASS on
Filter
Sets cutoff frequency = 30 KHz
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
IMM
TRIGgerSEQuence1SOURce TRIGgerSTARtSOURce
EXT
Single initiation
Configures AC-RMS CH1
Input channel 1 becomes
Trigger source
Edge
TRIGgerSEQuence1TYPE TRIGgerSTARtTYPE
Selects edge triggering
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
Error reporting is invoked as follows Call errorcheck
Making a Hardcopy of the Screen Pass/Fail Testing
Application Program Examples
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
CombiScope Instrument
Making a Hardcopy of the Screen
Ieee
Saving a pass/fail test setup
Pass/Fail Testing
Application program Restoring a pass/fail test setup
DISPlayMENU MEASure
Running a pass/fail test
Cross References
Cross Reference Front Panel Keys / Commands
Channel 4 is external trigger input for PM33x0B
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 Menu
User Text
Util Screen & Sound
DISPlayWINDow1TEXT12DATA?
Abbreviations Used
IFC
IDY
IDN
IEC
RQS
Manual Conventions RAM
REN
RQC
List of Tables
Glossary of Symbols Used
4MANUAL Conventions
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