Technical data

466 Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
24 Measure Commands
:MEASure:CROSsing
Command :MEASure:CROSsing <source1>, <source2>
The :MEASure:CROSsing command adds the crossing measurement to the
screen. The crossing measurement is the voltage where two signals cross
(uses edges closest to the center of the screen)
<source1> {CHANnel<N> | FUNCtion<N> | WMEMory<N>}
<source2> {CHANnel<N> | FUNCtion<N> | WMEMory<N>}
<hysteresis> a real number
Example This example measures the voltage where channel 1 and 2 cross.
myScope.WriteString ":MEASure:CROSsing CHANnel1, CHANnel2"
Query :MEASure:CROSsing? [<source1>, <source2>]
The :MEASure:CROSsing? query returns the crossing measurement value.
If the <source> parameters are not specified, the two sources specified by
the :MEASure:SOURce command are used.
Returned Format
[:MEASure:CROSsing] <value><NL>
<value> The voltage value where the signals cross.
Example This example places the crossing voltage value in the numeric variable,
varValue, then prints the contents of the variable to the computer's screen.
myScope.WriteString ":SYSTem:HEADer OFF" ' Response headers off.
myScope.WriteString ":MEASure:CROSsing? CHANnel1, CHANnel2"
varValue = myScope.ReadNumber
Debug.Print FormatNumber(varValue, 0)
See Also ":MEASure:SOURce" on page 591