Technical data
Table Of Contents
- In This Book
- Contents
- What's New
- Setting Up
- Getting Started
- Basic Oscilloscope Program Structure
- Programming the Oscilloscope
- Referencing the IO Library
- Opening the Oscilloscope Connection via the IO Library
- Initializing the Interface and the Oscilloscope
- Using :AUToscale to Automate Oscilloscope Setup
- Using Other Oscilloscope Setup Commands
- Capturing Data with the :DIGitize Command
- Reading Query Responses from the Oscilloscope
- Reading Query Results into String Variables
- Reading Query Results into Numeric Variables
- Reading Definite-Length Block Query Response Data
- Sending Multiple Queries and Reading Results
- Checking Instrument Status
- Other Ways of Sending Commands
- Commands Quick Reference
- Common (*) Commands
- *CLS (Clear Status)
- *ESE (Standard Event Status Enable)
- *ESR (Standard Event Status Register)
- *IDN (Identification Number)
- *LRN (Learn Device Setup)
- *OPC (Operation Complete)
- *OPT (Option Identification)
- *RCL (Recall)
- *RST (Reset)
- *SAV (Save)
- *SRE (Service Request Enable)
- *STB (Read Status Byte)
- *TRG (Trigger)
- *TST (Self Test)
- *WAI (Wait To Continue)
- Root (:) Commands
- :ACTivity
- :AER (Arm Event Register)
- :AUToscale
- :AUToscale:AMODE
- :AUToscale:CHANnels
- :AUToscale:FDEBug
- :BLANk
- :DIGitize
- :MTEenable (Mask Test Event Enable Register)
- :MTERegister[:EVENt] (Mask Test Event Event Register)
- :OPEE (Operation Status Enable Register)
- :OPERegister:CONDition (Operation Status Condition Register)
- :OPERegister[:EVENt] (Operation Status Event Register)
- :OVLenable (Overload Event Enable Register)
- :OVLRegister (Overload Event Register)
- :RUN
- :SERial
- :SINGle
- :STATus
- :STOP
- :TER (Trigger Event Register)
- :VIEW
- :ACQuire Commands
- :BUS
Commands - :CALibrate Commands
- :CHANnel
Commands - :DEMO Commands
- :DIGital
Commands - :DISPlay Commands
- :EXTernal Trigger Commands
- :FUNCtion Commands
- :HARDcopy Commands
- :LISTer Commands
- :MARKer Commands
- :MEASure Commands
- :MEASure:ALL
- :MEASure:AREa
- :MEASure:BWIDth
- :MEASure:CLEar
- :MEASure:COUNter
- :MEASure:DEFine
- :MEASure:DELay
- :MEASure:DUTYcycle
- :MEASure:FALLtime
- :MEASure:FREQuency
- :MEASure:NEDGes
- :MEASure:NPULses
- :MEASure:NWIDth
- :MEASure:OVERshoot
- :MEASure:PEDGes
- :MEASure:PERiod
- :MEASure:PHASe
- :MEASure:PPULses
- :MEASure:PREShoot
- :MEASure:PWIDth
- :MEASure:RESults
- :MEASure:RISetime
- :MEASure:SDEViation
- :MEASure:SHOW
- :MEASure:SOURce
- :MEASure:STATistics
- :MEASure:STATistics:INCRement
- :MEASure:STATistics:RESet
- :MEASure:TEDGe
- :MEASure:TVALue
- :MEASure:VAMPlitude
- :MEASure:VAVerage
- :MEASure:VBASe
- :MEASure:VMAX
- :MEASure:VMIN
- :MEASure:VPP
- :MEASure:VRATio
- :MEASure:VRMS
- :MEASure:VTIMe
- :MEASure:VTOP
- :MEASure:WINDow
- :MEASure:XMAX
- :MEASure:XMIN
- :MTESt Commands
- :MTESt:ALL
- :MTESt:AMASk:CREate
- :MTESt:AMASk:SOURce
- :MTESt:AMASk:UNITs
- :MTESt:AMASk:XDELta
- :MTESt:AMASk:YDELta
- :MTESt:COUNt:FWAVeforms
- :MTESt:COUNt:RESet
- :MTESt:COUNt:TIME
- :MTESt:COUNt:WAVeforms
- :MTESt:DATA
- :MTESt:DELete
- :MTESt:ENABle
- :MTESt:LOCK
- :MTESt:RMODe
- :MTESt:RMODe:FACTion:MEASure
- :MTESt:RMODe:FACTion:PRINt
- :MTESt:RMODe:FACTion:SAVE
- :MTESt:RMODe:FACTion:STOP
- :MTESt:RMODe:SIGMa
- :MTESt:RMODe:TIME
- :MTESt:RMODe:WAVeforms
- :MTESt:SCALe:BIND
- :MTESt:SCALe:X1
- :MTESt:SCALe:XDELta
- :MTESt:SCALe:Y1
- :MTESt:SCALe:Y2
- :MTESt:SOURce
- :MTESt:TITLe
- :POD Commands
- :RECall Commands
- :SAVE Commands
- :SAVE:FILename
- :SAVE:IMAGe[:STARt]
- :SAVE:IMAGe:FACTors
- :SAVE:IMAGe:FORMat
- :SAVE:IMAGe:INKSaver
- :SAVE:IMAGe:PALette
- :SAVE:LISTer[:STARt]
- :SAVE:MASK[:STARt]
- :SAVE:PWD
- :SAVE:SETup[:STARt]
- :SAVE:WAVeform[:STARt]
- :SAVE:WAVeform:FORMat
- :SAVE:WAVeform:LENGth
- :SAVE:WAVeform:SEGMented
- :SAVE:WMEMory:SOURce
- :SAVE:WMEMory[:STARt]
- :SBUS
Commands - General :SBUS
Commands - :SBUS
:CAN Commands - :SBUS
:CAN:COUNt:ERRor - :SBUS
:CAN:COUNt:OVERload - :SBUS
:CAN:COUNt:RESet - :SBUS
:CAN:COUNt:TOTal - :SBUS
:CAN:COUNt:UTILization - :SBUS
:CAN:SAMPlepoint - :SBUS
:CAN:SIGNal:BAUDrate - :SBUS
:CAN:SIGNal:DEFinition - :SBUS
:CAN:SOURce - :SBUS
:CAN:TRIGger - :SBUS
:CAN:TRIGger:PATTern:DATA - :SBUS
:CAN:TRIGger:PATTern:DATA:LENGth - :SBUS
:CAN:TRIGger:PATTern:ID - :SBUS
:CAN:TRIGger:PATTern:ID:MODE
- :SBUS
- :SBUS
:I2S Commands - :SBUS
:IIC Commands - :SBUS
:LIN Commands - :SBUS
:SPI Commands - :SBUS
:SPI:BITorder - :SBUS
:SPI:CLOCk:SLOPe - :SBUS
:SPI:CLOCk:TIMeout - :SBUS
:SPI:FRAMing - :SBUS
:SPI:SOURce:CLOCk - :SBUS
:SPI:SOURce:DATA - :SBUS
:SPI:SOURce:FRAMe - :SBUS
:SPI:SOURce:MISO - :SBUS
:SPI:SOURce:MOSI - :SBUS
:SPI:TRIGger:PATTern:MISO:DATA - :SBUS
:SPI:TRIGger:PATTern:MISO:WIDTh - :SBUS
:SPI:TRIGger:PATTern:MOSI:DATA - :SBUS
:SPI:TRIGger:PATTern:MOSI:WIDTh - :SBUS
:SPI:TRIGger:TYPE - :SBUS
:SPI:WIDTh
- :SBUS
- :SBUS
:UART Commands - :SBUS
:UART:BASE - :SBUS
:UART:BAUDrate - :SBUS
:UART:BITorder - :SBUS
:UART:COUNt:ERRor - :SBUS
:UART:COUNt:RESet - :SBUS
:UART:COUNt:RXFRames - :SBUS
:UART:COUNt:TXFRames - :SBUS
:UART:FRAMing - :SBUS
:UART:PARity - :SBUS
:UART:POLarity - :SBUS
:UART:SOURce:RX - :SBUS
:UART:SOURce:TX - :SBUS
:UART:TRIGger:BASE - :SBUS
:UART:TRIGger:BURSt - :SBUS
:UART:TRIGger:DATA - :SBUS
:UART:TRIGger:IDLE - :SBUS
:UART:TRIGger:QUALifier - :SBUS
:UART:TRIGger:TYPE - :SBUS
:UART:WIDTh
- :SBUS
- General :SBUS
- :SEARch Commands
- :SYSTem Commands
- :TIMebase Commands
- :TRIGger Commands
- :WAVeform Commands
- :WAVeform:BYTeorder
- :WAVeform:COUNt
- :WAVeform:DATA
- :WAVeform:FORMat
- :WAVeform:POINts
- :WAVeform:POINts:MODE
- :WAVeform:PREamble
- :WAVeform:SEGMented:COUNt
- :WAVeform:SEGMented:TTAG
- :WAVeform:SOURce
- :WAVeform:SOURce:SUBSource
- :WAVeform:TYPE
- :WAVeform:UNSigned
- :WAVeform:VIEW
- :WAVeform:XINCrement
- :WAVeform:XORigin
- :WAVeform:XREFerence
- :WAVeform:YINCrement
- :WAVeform:YORigin
- :WAVeform:YREFerence
- :WGEN Commands
- :WMEMory
Commands - Obsolete and Discontinued Commands
- :CHANnel:ACTivity
- :CHANnel:LABel
- :CHANnel:THReshold
- :CHANnel2:SKEW
- :CHANnel
:INPut - :CHANnel
:PMODe - :DISPlay:CONNect
- :DISPlay:ORDer
- :ERASe
- :EXTernal:PMODe
- :FUNCtion:SOURce
- :FUNCtion:VIEW
- :HARDcopy:DESTination
- :HARDcopy:FILename
- :HARDcopy:GRAYscale
- :HARDcopy:IGColors
- :HARDcopy:PDRiver
- :MEASure:LOWer
- :MEASure:SCRatch
- :MEASure:TDELta
- :MEASure:THResholds
- :MEASure:TMAX
- :MEASure:TMIN
- :MEASure:TSTArt
- :MEASure:TSTOp
- :MEASure:TVOLt
- :MEASure:UPPer
- :MEASure:VDELta
- :MEASure:VSTArt
- :MEASure:VSTOp
- :MTESt:AMASk:{SAVE | STORe}
- :MTESt:AVERage
- :MTESt:AVERage:COUNt
- :MTESt:LOAD
- :MTESt:RUMode
- :MTESt:RUMode:SOFailure
- :MTESt:{STARt | STOP}
- :MTESt:TRIGger:SOURce
- :PRINt?
- :SAVE:IMAGe:AREA
- :SBUS
:LIN:SIGNal:DEFinition - :TIMebase:DELay
- :TRIGger:THReshold
- :TRIGger:TV:TVMode
- Error Messages
- Status Reporting
- Status Reporting Data Structures
- Status Byte Register (STB)
- Service Request Enable Register (SRE)
- Trigger Event Register (TER)
- Output Queue
- Message Queue
- (Standard) Event Status Register (ESR)
- (Standard) Event Status Enable Register (ESE)
- Error Queue
- Operation Status Event Register (:OPERegister[:EVENt])
- Operation Status Condition Register (:OPERegister:CONDition)
- Arm Event Register (AER)
- Overload Event Register (:OVLRegister)
- Mask Test Event Event Register (:MTERegister[:EVENt])
- Clearing Registers and Queues
- Status Reporting Decision Chart
- Synchronizing Acquisitions
- More About Oscilloscope Commands
- Programming Examples
- Index
968 Agilent InfiniiVision 3000 X-Series Oscilloscopes Programmer's Guide
Index
square wave duty cycle, waveform
generator, 750
square waveform generator output, 746
SRE (Service Request Enable Register), 145,
835
SRQ (Service Request interrupt), 165, 169
standard deviation measured on
waveform, 360
Standard Event Status Enable Register
(ESE), 130, 840
Standard Event Status Register (ESR), 132, 839
standard for video, 701
standard, LIN, 510
start acquisition, 148, 163, 180, 182
start and stop edges, 338
start cursor, 797
start measurement, 330
start print job, 303
start time, 669, 797
start time marker, 794
state memory, 143
state of instrument, 135, 625
statistics increment, 365
statistics reset, 366
statistics results, 356
statistics, type of, 364
status, 146, 183, 185
Status Byte Register (STB), 144, 146, 147
, 833
status data structure clear, 129
status registers, 54
status reporting, 829
STB (Status Byte Register), 144, 146, 147, 833
step size for frequency span, 284
stop, 163, 184
stop acquisition, 184
stop cursor, 798
stop displaying channel, 162
stop displaying math function, 162
stop displaying pod, 162
stop on mask test failure, 408
stop time, 669, 798
storage, 143
store instrument setup, 135, 143
store setup, 143
storing calibration information, 214
string variables, 52
string variables, reading multiple query results
into, 53
string variables, reading query results into
multiple, 53
string, quoted ASCII, 122
subnet mask, 36
subsource, waveform source, 733
subsystem commands, 3, 865
subtract math function, 271, 278, 729
subtract math function as g(t) source,
274
sweep mode, trigger, 641, 650
sweep speed set to fast to measure fall
time, 343
sweep speed set to fast to measure rise
time, 359
switch disable, 620
sync break, LIN, 511
syntax elements, 121
syntax rules, program data, 864
syntax, optional terms, 121
syntax, program message, 861
SYSTem commands, 615
system commands, 617, 618, 619, 620, 625,
627
system commands introduction, 616
T
tdelta, 793
tedge, 367
telnet ports 5024 and 5025, 717
Telnet sockets, 55
temporary message, 618
TER (Trigger Event Register), 185, 836
termination conditions, mask test, 404
test sigma, mask test run, 409
test, self, 149
text, writing to display, 618
threshold, 253, 423, 776, 818
threshold voltage (lower) for
measurement, 791
threshold voltage (upper) for
measurement, 801
thresholds, 338, 794
thresholds used to measure period, 351
thresholds, how autoscale affects, 157
time base, 631, 632, 633, 634, 635, 817
time base commands introduction, 630
time base reset conditions, 141, 622
time base window, 637, 638, 639
time between points, 793
time buckets, 189, 190
time delay, 817
time delta
, 793
time difference between data points, 737
time duration, 669, 675, 676, 679
time holdoff for trigger, 645
time interval, 367, 369, 793
time interval between trigger and
occurrence, 799
time marker sets start time, 794
time per division, 633
time record, 285
time reference, lister, 308
time specified, 379
time, calibration, 220
time, mask test run, 410
time, runt pulse search, 576
time, runt trigger, 684
time, setup and hold trigger, 689, 690
time, start marker, 797
time, stop marker, 798
time, system, 627
time, transition search, 581
time, transition trigger, 695
time/div, how autoscale affects, 157
time-at-max measurement, 795
time-at-min measurement, 796
TIMebase commands, 629
timebase vernier, 636
TIMebase:MODE, 50
time-ordered label list, 260
timeout, SPI clock, 522
timing measurement
, 330
title channels, 229
title, mask test, 418
tolerance, automask, 394, 395
top of waveform value measured, 380
total frame count (CAN), 463
total waveforms in mask test, 399
trace memory, 183
track measurements, 361
trademarks, 2
transfer instrument state, 135, 625
TRANsition SEARch commands, 577
transition search qualifier, 578
transition search slope, 579
transition search time, 581
transition trigger qualifier, 692
transition trigger slope, 693
transition trigger source, 580, 694
transition trigger time, 695
transmit word size, I2S, 492
tree traversal rules, 865
TRG (Trigger), 145, 147, 148
TRIG OUT BNC, 215
trigger armed event register, 171, 173
trigger burst, UART, 551
trigger channel source, 670, 700
TRIGger commands, 641
TRIGger commands, general, 643
trigger data, UART, 552
trigger duration
, 675, 676
TRIGger EBURst commands, 651
TRIGger EDGE commands, 656
trigger edge coupling, 657
trigger edge slope, 660
trigger event bit, 185
Trigger Event Register (TER), 836
TRIGger GLITch commands, 662
trigger holdoff, 645
trigger idle, UART, 553
TRIGger IIC commands, 494
trigger level constants, 231
trigger level voltage, 658
trigger level, high, 646
trigger level, low, 647
TRIGger LIN commands, 504
trigger occurred, 147
TRIGger PATTern commands, 671
trigger pattern qualifier, 677
trigger qualifier, UART, 554
trigger reset conditions, 141, 622
TRIGger RUNT commands, 680
TRIGger SHOLd commands, 685
trigger SPI clock slope, 521
TRIGger SPI commands, 518
trigger status bit, 185
trigger sweep mode, 641
TRIGger TV commands, 691, 696