logo资料库

基于USB的泰克示波器与MATLAB的波形传输-泰克程序.pdf

第1页 / 共261页
第2页 / 共261页
第3页 / 共261页
第4页 / 共261页
第5页 / 共261页
第6页 / 共261页
第7页 / 共261页
第8页 / 共261页
资料共261页,剩余部分请下载后查看
toc
Preface
Related Documents
Conventions
Getting Started
Getting Started
Syntax and Commands
Command Syntax
Command Syntax
Command and Query Structure
Command Entry
Constructed Mnemonics
Argument Types
Command Groups
Acquisition Commands
Calibration and Diagnostic Commands
Cursor Commands
Data Logging Commands
Display Commands
File System Commands (TDS2MEM Module, TDS1000B, TDS2000B, TDS200
Hard Copy Commands
Horizontal Commands
Limit Test Commands
Math Commands
Measurement Commands
Miscellaneous Commands
PictBridge Commands (TDS2000C, TDS1000B and TDS2000B Only)
Power and Battery-Related Commands (TPS2000 Only)
Power Measurement (TPS2000 with TPS2PWR1 Power Analysis Applicat
RS-232 Commands(TDS200, TDS1000, TDS2000, and TPS2000 Only)
Save and Recall Commands
Status and Error Commands
Trigger Commands
Vertical Commands
Waveform Commands
Command Descriptions
Manual Conventions
ACQuire? (Query Only)
ACQuire:MODe
ACQuire:NUMACq? (Query Only)
ACQuire:NUMAVg
ACQuire:STATE
ACQuire:STOPAfter
ALLEv? (Query Only)
AUTORange (No Query Form)
AUTORange:STATE
AUTORange:SETTings
AUTOSet (No Query Form)
AUTOSet:ENABLE
AUTOSet:SIGNAL? (Query Only)
AUTOSet:VIEW (No Query Form)
BUSY? (Query Only)
*CAL? (Query Only)
CALibrate:ABOrt (No Query Form)
CALibrate:CONTINUE (No Query Form)
CALibrate:FACtory (No Query Form)
CALibrate:INTERNAL (No Query Form)
CALibrate:STATUS? (Query Only)
CH x ? (Query Only)
CH x:BANdwidth
CH x:COUPling
CH x:CURRENTPRObe
CH x:INVert
CH x:POSition
CH x:PRObe
CH x:SCAle
CH x:VOLts
CH x:YUNit
*CLS (No Query Form)
CURSor? (Query Only)
CURSor:FUNCtion
CURSor:HBArs? (Query Only)
CURSor:HBArs:DELTa? (Query Only)
CURSor:HBArs:POSITION x
CURSor:HBArs:UNIts? (Query Only)
CURSor:SELect:SOUrce
CURSor:VBArs? (Query Only)
CURSor:VBArs:DELTa? (Query Only)
CURSor:VBArs:HDELTa? (Query Only)
CURSor:VBArs:HPOS x ? (Query Only)
CURSor:VBArs:POSITION x
CURSor:VBArs:SLOPE? (Query Only)
CURSor:VBArs:UNIts
CURSor:VBArs:VDELTa? (Query Only)
CURVe
DATa
DATa:DESTination
DATa:ENCdg
DATa:SOUrce
DATa:STARt
DATa:STOP
DATa:TARget
DATa:WIDth
DATALOGging? (Query Only)
DATALOGging:DURAtion
DATALOGging:SOURCE
DATALOGging:STATE
DATE
*DDT (No Query Form)
DESE
DIAg:RESUlt:FLAg? (Query Only)
DIAg:RESUlt:LOG? (Query Only)
DISplay? (Query Only)
DISplay:BRIGHTness
DISplay:CONTRast
DISplay:FORMat
DISplay:INVert
DISplay:PERSistence
DISplay:STYle
ERRLOG:FIRST? (Query Only)
ERRLOG:NEXT? (Query Only)
*ESE (No Query Form)
*ESR? (Query Only)
EVENT? (Query Only)
EVMsg? (Query Only)
EVQty? (Query Only)
FACtory
FILESystem? (Query Only)
FILESystem:CWD
FILESystem:DELEte (No Query Form)
FILESystem:DIR? (Query Only)
FILESystem:FORMat (No Query Form)
FILESystem:FREESpace? (Query Only)
FILESystem:MKDir (No Query Form)
FILESystem:REName (No Query Form)
FILESystem:RMDir (No Query Form)
HARDCopy
HARDCopy:BUTTON
HARDCopy:FORMat
HARDCopy:INKSaver
HARDCopy:LAYout
HARDCopy:PORT
HARmonics? (Query Only)
HARmonics:ENABle
HARmonics:FREquency? (Query Only)
HARmonics:HRMS? (Query Only)
HARmonics:PERCent? (Query Only)
HARmonics:PHAse? (Query Only)
HARmonics:RMS? (Query Only)
HARmonics:SAVe (No Query Form)
HARmonics:SELect
HARmonics:SETUp
HARmonics:SHOW
HARmonics:SOUrce
HARmonics:THDF? (Query Only)
HARmonics:THDR? (Query Only)
HDR
HEADer
HORizontal? (Query Only)
HORizontal:DELay? (Query Only)
HORizontal:DELay:POSition
HORizontal:DELay:SCAle
HORizontal:DELay:SECdiv
HORizontal:MAIn? (Query Only)
HORizontal:MAIn:POSition
HORizontal:MAIn:SCAle
HORizontal:MAIn:SECdiv
HORizontal:POSition
HORizontal:RECOrdlength? (Query Only)
HORizontal:SCAle
HORizontal:SECdiv
HORizontal:VIEW
ID? (Query Only)
*IDN? (Query Only)
LANGuage
LIMit? (Query Only)
LIMit:COMpare
LIMit:RESUlt:FAIL? (Query Only)
LIMit:RESUlt:PASS? (Query Only)
LIMit:RESUlt:TOTAL? (Query Only)
LIMit:SAVEIMAge
LIMit:SAVEWFM
LIMit:SOUrce
LIMit:STATE
LIMit:STOPAfter:MODe
LIMit:STOPAfter:TIMe
LIMit:STOPAfter:VIOLation
LIMit:STOPAfter:WAVEform
LIMit:TEMPLate (No Query Form)
LIMit:TEMPLate:DESTination
LIMit:TEMPLate:SOUrce
LIMit:TEMPLate:TOLerance:HORizontal
LIMit:TEMPLate:TOLerance:VERTical
LOCk
*LRN? (Query Only)
MATH? (Query Only)
MATH:DEFINE
MATH:FFT? (Query Only)
MATH:FFT:HORizontal:POSition
MATH:FFT:HORizontal:SCAle
MATH:FFT:VERtical:POSition
MATH:FFT:VERtical:SCAle
MATH:VERtical? (Query Only)
MATH:VERtical:POSition
MATH:VERtical:SCAle
MEASUrement? (Query Only)
MEASUrement:IMMed? (Query Only)
MEASUrement:IMMed:SOUrce[1]
MEASUrement:IMMed:SOURCE2
MEASUrement:IMMed:TYPe
MEASUrement:IMMed:UNIts? (Query Only)
MEASUrement:IMMed:VALue? (Query Only)
MEASUrement:MEAS x ? (Query Only)
MEASUrement:MEAS x:SOUrce
MEASUrement:MEAS x:TYPe
MEASUrement:MEAS x:UNIts? (Query Only)
MEASUrement:MEAS x:VALue? (Query Only)
*OPC
PICTBridge:DEF (No Query Form)
PICTBridge:PAPERSIZE
PICTBridge:IMAGESIZE
PICTBridge:PAPERTYPE
PICTBridge:PRINTQUAL
PICTBridge:DATEPRINT
PICTBridge:IDPRINT
POWer? (Query Only)
POWer:AC:PRESENt? (Query Only)
POWer:BATTERY x:GASgauge? (Query Only)
POWer:BATTERY x:STATUS? (Query Only)
POWer:BATTERIES:TIME? (Query Only)
POWer:BUTTONLIGHT
POWerANALYSIS:SOUrces
*PSC (No Query Form)
*RCL (No Query Form)
RECAll:SETUp (No Query Form)
RECAll:WAVEForm (No Query Form)
REM (No Query Form)
RS232? (Query Only)
RS232:BAUd
RS232:HARDFlagging
RS232:PARity
RS232:SOFTFlagging
RS232:TRANsmit:TERMinator
*RST
*SAV (No Query Form)
SAVe:IMAge (No Query Form)
SAVe:IMAge:FILEFormat (No Query Form)
SAVe:SETUp (No Query Form)
SAVe:WAVEform (No Query Form)
SELect? (Query Only)
SELect: wfm
SET? (Query Only)
*SRE (No Query Form)
*STB? (Query Only)
SWLoss?
SWLoss:ACQuire
SWLoss:AVErage:CONDUCTION? (Query Only)
SWLoss:AVErage:N? (Query Only)
SWLoss:AVErage:TOTAL? (Query Only)
SWLoss:AVErage:TURNOFF? (Query Only)
SWLoss:AVErage:TURNON? (Query Only)
SWLoss:ENABLe
SWLoss:LEVELS (No Query Form)
SWLoss:LOG:CONDUCTION? (Query Only)
SWLoss:LOG:INDEX
SWLoss:LOG:TOTAL? (Query Only)
SWLoss:LOG:TURNOFF? (Query Only)
SWLoss:LOG:TURNON? (Query Only)
SWLoss:SAVE
SWLoss:SOURCES
SWLoss:STOPAfter
SWLoss:TOFFEND
SWLoss:TONEND
SWLoss:TOFFSTART
SWLoss:TONSTART
SWLoss:UNITs
SWLoss:VALue:CONDUCTION?
SWLoss:VALue:TOTAL? (Query Only)
SWLoss:VALue:TURNOFF? (Query Only)
SWLoss:VALue:TURNON? (Query Only)
SWLoss:VSAT
TIMe
*TRG (No Query Form)
TRIGger
TRIGger:MAIn
TRIGger:MAIn:EDGE? (Query Only)
TRIGger:MAIn:EDGE:COUPling
TRIGger:MAIn:EDGE:SLOpe
TRIGger:MAIn:EDGE:SOUrce
TRIGger:MAIn:FREQuency? (Query Only)
TRIGger:MAIn:HOLDOff? (Query Only)
TRIGger:MAIn:HOLDOff:VALue
TRIGger:MAIn:LEVel
TRIGger:MAIn:MODe
TRIGger:MAIn:PULse? (Query Only)
TRIGger:MAIn:PULse:SOUrce
TRIGger:MAIn:PULse:WIDth? (Query Only)
TRIGger:MAIn:PULse:WIDth:POLarity
TRIGger:MAIn:PULse:WIDth:WHEN
TRIGger:MAIn:PULse:WIDth:WIDth
TRIGger:MAIn:TYPe
TRIGger:MAIn:VIDeo? (Query Only)
TRIGger:MAIn:VIDeo:LINE
TRIGger:MAIn:VIDeo:POLarity
TRIGger:MAIn:VIDeo:SOUrce
TRIGger:MAIn:VIDeo:STANDard
TRIGger:MAIn:VIDeo:SYNC
TRIGger:STATE? (Query Only)
*TST? (Query Only)
UNLock (No Query Form)
VERBose
*WAI (No Query Form)
WAVEFORMANALYSIS:SOUrce
WAVFrm? (Query Only)
WFMPre? (Query Only)
WFMPre, Additional Commands for Compatibility
WFMPre: wfm ? (Query Only)
WFMPre:BIT_Nr
WFMPre:BN_Fmt
WFMPre:BYT_Nr
WFMPre:BYT_Or
WFMPre:ENCdg
WFMPre:NR_Pt? (Query Only)
WFMPre: wfm:NR_Pt? (Query Only)
WFMPre:PT_Fmt
WFMPre: wfm:PT_Fmt
WFMPre:PT_Off
WFMPre: wfm:PT_Off
WFMPre:WFId? (Query Only)
WFMPre: wfm:WFId?
WFMPre:XINcr
WFMPre: wfm:XINcr
WFMPre:XUNit
WFMPre: wfm:XUNit
WFMPre:XZEro
WFMPre: wfm:XZEro
WFMPre:YMUlt
WFMPre: wfm:YMUlt
WFMPre:YOFf
WFMPre: wfm:YOFf
WFMPre:YUNit
WFMPre: wfm:YUNit
WFMPre:YZEro
WFMPre: wfm:YZEro
Status and Events
Status and Events
Registers
Queues
Event Handling Sequence
Synchronization Methods
Programming Examples
Programming Examples
Appendices
Appendix A: ASCII Code Chart
Appendix B: Factory Setup
TDS1000B, TDS2000B, and TDS2000C Series Oscilloscopes
TPS2000 Series Oscilloscopes
TDS1000 and TDS2000 Series Oscilloscopes
TDS210 and TDS220 Oscilloscopes
TDS224 Oscilloscopes
Appendix C: Reserved Words
Glossary
Glossary
xx TDS200, TDS1000/TDS2000, TDS1000B/TDS2000B, TDS2000C, and TPS2000 Series Digital Oscilloscopes Programmer ZZZ *P077044400* 077-0444-00
xx ZZZ TDS200, TDS1000/TDS2000, TDS1000B/TDS2000B, TDS2000C, and TPS2000 Series Digital Oscilloscopes Programmer www.tektronix.com 077-0444-00
Copyright © Tektronix. All rights reserved. Licensed software products are owned by Tektronix or its subsidiaries or suppliers, and are protected by national copyright laws and international treaty provisions. Tektronix products are covered by U.S. and foreign patents, issued and pending. Information in this publication supersedes that in all previously published material. Specifications and price change privileges reserved. TEKTRONIX and TEK are registered trademarks of Tektronix, Inc. OpenChoice® is a registered trademark of Tektronix Inc. Tektronix is an authorized licensee of the CompactFlash® trademark. PictBridge is a trademark of the Standard of Camera & Imaging Products Association CIPA DC-001-2003 Digital Photo Solutions for Imaging Devices. Contacting Tektronix Tektronix, Inc. 14150 SW Karl Braun Drive P.O. Box 500 Beaverton, OR 97077 USA For product information, sales, service, and technical support: In North America, call 1-800-833-9200. Worldwide, visit www.tektronix.com to find contacts in your area.
Table of Contents Preface .............................................................................................................. Related Documents ........................................................................................... Conventions ................................................................................................... iii iii vi Getting Started Getting Started .................................................................................................... 1-1 Syntax and Commands Command Syntax................................................................................................. Command Syntax ............................................................................................ Command and Query Structure ............................................................................ Command Entry.............................................................................................. Constructed Mnemonics .................................................................................... Argument Types.............................................................................................. Command Groups .............................................................................................. Acquisition Commands ................................................................................... Calibration and Diagnostic Commands ................................................................. Cursor Commands ......................................................................................... Data Logging Commands................................................................................. Display Commands........................................................................................ File System Commands (TDS2MEM Module, TDS1000B, TDS2000B, TDS2000C, and TPS2000 Only) ................................................................................................... Hard Copy Commands .................................................................................... Horizontal Commands .................................................................................... Limit Test Commands..................................................................................... Math Commands........................................................................................... Measurement Commands ................................................................................. Miscellaneous Commands ................................................................................ PictBridge Commands (TDS2000C, TDS1000B and TDS2000B Only)............................ Power and Battery-Related Commands (TPS2000 Only) ............................................. Power Measurement (TPS2000 with TPS2PWR1 Power Analysis Application Key Installed Only) ................................................................................................... RS-232 Commands(TDS200, TDS1000, TDS2000, and TPS2000 Only) .......................... Save and Recall Commands .............................................................................. Status and Error Commands.............................................................................. Trigger Commands ........................................................................................ Vertical Commands........................................................................................ Waveform Commands..................................................................................... 2-1 2-1 2-2 2-4 2-6 2-7 2-11 2-11 2-11 2-12 2-13 2-13 2-13 2-14 2-15 2-16 2-17 2-17 2-18 2-19 2-20 2-20 2-23 2-23 2-24 2-24 2-26 2-26 i TDS200, TDS1000/2000, TDS1000B/2000B, TDS2000C, TPS2000 Programmer
Table of Contents Command Descriptions ........................................................................................ Manual Conventions....................................................................................... 2-31 2-31 Status and Events Status and Events ................................................................................................. Registers ...................................................................................................... Queues ........................................................................................................ Event Handling Sequence................................................................................... Synchronization Methods................................................................................... 3-1 3-1 3-4 3-5 3-7 Programming Examples Programming Examples ......................................................................................... 4-1 Appendices Appendix A: ASCII Code Chart ............................................................................... A-1 Appendix B: Factory Setup..................................................................................... B-1 TDS1000B, TDS2000B, and TDS2000C Series Oscilloscopes ....................................... B-1 TPS2000 Series Oscilloscopes ............................................................................ B-2 TDS1000 and TDS2000 Series Oscilloscopes........................................................... B-4 TDS210 and TDS220 Oscilloscopes ..................................................................... B-5 TDS224 Oscilloscopes ..................................................................................... B-6 Appendix C: Reserved Words.................................................................................. C-1 Glossary ii TDS200, TDS1000/2000, TDS1000B/2000B, TDS2000C, TPS2000 Programmer
Preface This programmer manual provides information on how to remotely operate your oscilloscope. You can use communication ports and protocols, such as for the RS-232, the General Purpose Interface Bus (GPIB), or Universal Serial Bus (USB) standards, to remotely control and operate your oscilloscope. This document supports the following products: TPS2000 Series instruments, any version. TDS2000C Series instruments, any version. TDS1000B and TDS2000B Series instruments, any version. TDS2CM or TDS2CMA, any version, when used in TDS1000 or TDS2000 Series instruments, any version. TDS2MEM any version, when used in most TDS1000 or TDS2000 Series instruments (except TDS1001 and TDS2004 models), any version. TDS2CM, TDS2CMA, or TDS2MM any version, when used in a TDS224 instrument, any version. TDS2CM or TDS2CMA version CMV:v1.04 and above, or TDS2MM any version, when used in TDS210 and TDS220 instruments with FV:v1.09 and above. Related Documents Each series of oscilloscopes has a different set of documentation. TPS2000 Series Manuals For general operation, refer to the TPS2000 Series Digital Storage Oscilloscope User Manual, a standard accessory. Table i: Related documents Language English French Italian German Spanish Japanese Portuguese Simplified Chinese Traditional Chinese TPS2000 Series user manual part number 071-1441-XX 071-1442-XX 071-1443-XX 071-1444-XX 071-1445-XX 071-1446-XX 071-1447-XX 071-1448-XX 071-1449-XX TDS200, TDS1000/2000, TDS1000B/2000B, TDS2000C, TPS2000 Programmer iii
Preface Table i: Related documents (cont.) Language Korean Russian TPS2000 Series user manual part number 071-1450-XX 071-1451-XX For information on the TPS2PWR1 Power Analysis Application, refer to the TPS2PWR1 Power Analysis Application User Manual, an optional accessory available in eleven languages. Language English French Italian German Spanish Japanese Portuguese Simplified Chinese Traditional Chinese Korean Russian TDS2PWR1 user manual part number 071-1452-XX 071-1453-XX 071-1454-XX 071-1455-XX 071-1456-XX 071-1457-XX 071-1458-XX 071-1459-XX 071-1460-XX 071-1461-XX 071-1462-XX TDS2000C Series manuals For general operation, refer to the TDS2000C Series Digital Storage Oscilloscope User Manual, a standard accessory. Language English French Italian German Spanish Japanese Portuguese Simplified Chinese Traditional Chinese Korean Russian TDS2000C user manual part number 071-2722-XX 071-2723-XX 071-2724-XX 071-2725-XX 071-2726-XX 071-2727-XX 071-2728-XX 071-2729-XX 071-2730-XX 071-2731-XX 071-2732-XX iv TDS200, TDS1000/2000, TDS1000B/2000B, TDS2000C, TPS2000 Programmer
分享到:
收藏