MDO3000 Programmer Manual.pdf - 第799页
Commands Listed in Alphabetical Order Arguments <QString> is a t ime in the form "hh:mm:ss" where hh refers to a two-digit hour number , mm refers to a two-digit minute number from 00 to 59, and ss refers…

Commands Listed in Alphabetical Order
NOTE. The TEKSe
cure command can take up to five minutes to complete. The
oscilloscope is inoperable during this p eriod.
Group
Miscellaneo
us
Syntax
TEKSecure
Examples
TEKSECURE initializes both waveform and setup memories.
This is a program example of how to generate an SRQ when
TEKSECURE
completes:
# Bit 0 of t he DESE (Device Event Status Enable Reg ister)
# enables OPC to be repo rted to t he SESR (Standard Event
# Status Register)
DESE 255
# Bit 0 of t he ESER (Event Status Enable Register)
# enables OPC to be summ arized in the ESB (Event St atus #
Bit) of the SBR (Status Byte Register)
*ESE 255
# Bit 5 of t he SRE ( Service Request Enable Register)
enables
# the generation of SRQ when the ESB bit of the SBR
becomes # TRUE
*SRE 32
TEKSECURE;*OPC
When the TEKSECURE operation has completed, the OPC bit of the SESR will be
TRUE and SRQ will have been generated.
TIMe
This command specifies the time that the oscilloscope displays.
Group
Miscellaneous
Syntax
TIMe <Q String>
TIMe?
Related Commands
DATE
2-768 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual

Commands Listed in Alphabetical Order
Arguments
<QString> is a t
ime in the form "hh:mm:ss" where hh refers to a two-digit hour
number, mm refers to a two-digit minute number from 00 to 59, and ss refers to a
two-digit second number from 00 to 59.
Examples
TIME "14:00:00" sets the time to exactly 2:00 p.m.
TIME? might return :TIME "14:05:17” indicating the current time is set to 2:05
p.m. and 17 seconds.
TOTaluptime? (Query Only)
This query returns the total number of hours that the oscilloscope has been
powered on since the nonvolatile memory was last programmed (usually sincethe
initial manufacturing process).
Group
Miscellaneous
Syntax
TOTaluptime?
*TRG (No Query Form)
Performs a group execute trigger on commands defined by *DDT.
Group
Miscellaneous
Syntax
*TRG
Related Commands
*DDT
Examples
*TRG immediately executes all commands that have been defined by *DDT.
TRIGger (No Query Form)
Forces a trigger event to occur.
Group
Trigger
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-769

Commands Listed in Alphabetical Order
Syntax
TRIGger FORCe
TRIGger?
Arguments
FORCe creates a trigger event. If TRIGger:STATE is set to READy, the acquisition
will complete. Otherwise, this command will be ignored.
Examples
TRIGGER FORCE forces a trigger event to occur.
TRIGger:A
Sets the A trigger level automatically to 50% of the range of the minimum and
maximum values of the trigger input signal. The query returns current A trigger
parameters. The trigger level is the voltage threshold through which the trigger
source signal must pass to generate a trigger event. This command w
orks for the
following cases: Edge Trigger (when source is not AC line or power), Logic
Trigger (when Clock Source is not Off or Logic Pattern is Don't Care), and Pulse
Width Trigger.
Group
Trigger
Syntax
TRIGger:A SETLevel
TRIGger:A?
Related Commands
TRIGger:A:EDGE?,
TRIGger:A:LOGIc?,
Arguments
SETLevel sets the A trigger level to 50% of the range of the minimum and
maximum values of the trigger input signal.
Examples
TRIGGER:A SETLEVEL sets the A trigger level to 50% of the range of the
minimum and maximum values of the trigger input signal.
TRIGGER:A? might return a long response with A trigger parameters,
some of which could be as follows:
:TRIGGER:A:MODE AUTO;TYP E
EDGE;LEVEL 20.0000E-3; LEVEL:CH1 20.0000E-3;CH2 0.0000
;
CH3 0.0 000;CH4 0.0000;:TRIGGER:A:UPPERTHRESHOLD:CH1
1.4000;CH2 800.0000E-3 ;CH3 8 00 .0000E-3;CH4
800.0000E-3;:TRIGGER:A:LOWERTHRESHOLD:CH1 20.0000E-3;CH2
0.0000;CH3 0.0000;CH4 0.0000;:TRIG GER:A:HOLDOFF:TIME
20.0000E-9;:TRIGGER:A:EDGE:SOURCE CH1;COUPLING
DC;SLOPE RISE;:TRIGGER :A:LOGIC:CLASS SETHOLD;FUNC
TION
2-770 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual