Technical data

600 Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
24 Measure Commands
:MEASure:THResholds:PERCent
Command :MEASure:THResholds:PERCent <source>,
<upper_pct>,<middle_pct>,<lower_pct
The :MEASure:THResholds:PERCent command sets the upper level, middle
level, and lower level voltages as a percentage of the top and base voltages
which are used to calculate the measurements that use them.
<source> {ALL | 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. Setting the source to ALL does not affect the
individual channel settings which is the behavior as the user interface.
<N> is an integer, 1 - 4.
<upper_pct>
<middle_pct>
<lower_pct>
A real number specifying upper percentage from - 24.8 to 125.0 A real
number specifying the middle percentage from - 24.9 to 124.9. A real
number specifying the lower percentage from - 25.0 to 125.8
Example This example sets the percentage to 100% for the upper level, 50% for the
middle level and 0% for the lower level on channel 2.
myScope.WriteString ":SYSTEM:HEADER OFF" ' Response headers off.
myScope.WriteString ":MEASURE:THRESHOLDS:PERCENT CHANNEL2,100,50,0"
Query :MEASure:THResholds:PERCent? <source>
The :MEASure:THResholds:PERCent? query returns the current settings for
upper level, middle level, and lower level percentages.
Returned Format
[:MEASure:THResholds:PERCent] <upper_pct>,<middle_pcts>,<lower_pct><NL>
Example This example returns the upper level, middle level, and lower level
percentages used to calculate the measurements on channel 1.
myScope.WriteString ":SYSTEM:HEADER OFF" ' Response headers off.
myScope.WriteString ":MEASURE:THRESHOLDS:PERCENT? CHANNEL1"
strThresholdsPct = myScope.ReadString
Debug.Print strThresholdsPct