:MEASure:VERTical:CROSsing

Command Syntax

:MEASure:VERTical:CROSsing

Query Syntax

:MEASure:VERTical:CROSsing?

Description

The crossing point measurement determines the voltage at which two waveforms cross (intersect). The edges closest to the middle of the screen are used in the measurement.

The command form installs the Crossing measurement in the Results table or moves it to the top of the Results table if it is already installed.

The query form returns the measured value.

Example Command Sequence

:MEASure:VERTical:CROSsing:SOURce1 CHAN3_1
:MEASure:VERTical:CROSsing:SOURce2 CHAN3_2
:MEASure:VERTical:CROSsing
:MEASure:VERTical:CROSsing?

Measurement Ready?

To confirm that the measurement is ready to read, you can query the measurement's status:

if ('CORR' in Infiniium.query(':MEASure:VERTical:CROSsing:STATus?')):
	measurement = Infiniium.query(':MEASure:VERTical:CROSsing?')

If averaging is turned on (:ACQuire:SMODe AVERage), you can also confirm if the measurement result is ready by comparing the number of specified averages (:ACQuire:COUNt?) versus the number of measurement sweeps that have occurred (:ACQuire:COUNt?). The technique uses the :COUNt? common measurement query. For example,

if (Infiniium.query(':MEASure:VERTical:CROSsing:COUNt?') >= Infiniium.query(':ACQuire:COUNt?')):
	measurement = Infiniium.query(':MEASure:VERTical:CROSsing?')

You can also use an acquisition limit test to test that a number of waveforms or samples have completed before returning a measurement. Refer to the :LTESt:ACQuire:CTYPe command.

Querying Measurement Results and Statistics

You can query measurement results using the :MEASure:VERTical:CROSsing? query after making the proper instance settings.

If a measurement is installed into Results table (using the :MEASure:VERTical:CROSsing command) and you have made the proper instance settings, you can query statistics using common child queries.

Also, you can query measurement results and statistics directly from the Results table (without having to make the proper instance settings beforehand). See Querying Measurement Results and Statistics.