Technical data
Measure Commands 24
Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference 613
:MEASure:TMAX
Command :MEASure:TMAX [<source>]
The :MEASure:TMAX command measures the first time at which the
maximum voltage of the source waveform occurred. Sources are specified
with the :MEASure:SOURce command or with the optional parameter
following the :MEASure:TMAX command.
<source> {CHANnel<N> | FUNCtion<N> | WMEMory<N> | CLOCk | MTRend |
MSPectrum | EQUalized}
MTRend and MSPectrum sources are only available if the oscilloscope has
the EZJIT option installed and the feature is enabled.
The CLOCk source is only available if the oscilloscope has the High Speed
Serial option installed and the feature is enabled.
The EQUalized source is only available if the oscilloscope has the High
Speed Serial option and the Serial Data Equalization option installed and
the features are enabled. This command uses the Feed- Forward Equalized
(FFE) signal as the source.
<N> CHANnel<N> is an integer, 1 - 4.
FUNCtion<N> and WMEMory<N> are:
An integer, 1 - 4, representing the selected function or waveform memory.
Query
:MEASure:TMAX? [<source>]
The :MEASure:TMAX? query returns the time at which the first maximum
voltage occurred.
Returned Format
[:MEASure:TMAX] <time>[,<result_state>]<NL>
<time> Time at which the first maximum voltage occurred or frequency where the
maximum FFT amplitude occurred.
<result_state> If SENDvalid is ON, the result state is returned with the measurement
result. See the :MEASure:RESults table in this chapter for a list of the
result states.
Example This example returns the time at which the first maximum voltage
occurred to the numeric variable, varTime, then prints the contents of the
variable to the computer's screen.
myScope.WriteString ":SYSTEM:HEADER OFF" ' Response headers off.
myScope.WriteString ":MEASURE:TMAX? CHANNEL1"
varTime = myScope.ReadNumber
Debug.Print FormatNumber(varTime, 0)