# :MEASure:EYE:ECTime

Crossing Time Commands

- :MEASure:EYE:ECTime
- :MEASure:EYE:ECTime:FAVorite
- :MEASure:EYE:ECTime:LOCation?
- :MEASure:EYE:ECTime:SOURce
- :MEASure:EYE:ECTime:STATus?
- :MEASure:EYE:ECTime:STATus:DETails?
- :MEASure:EYE:ECTime:STATus:REASon?

## Command Syntax

    :MEASure:EYE:ECTime

## Query Syntax

    :MEASure:EYE:ECTime?

## Description

Moves the Crossing time measurement to the top of the Results table. Displays the measurement if it is not already shown on the table. The query form of the command returns the measured value.

Crossing time is a measure of time from the horizontal reference point to the eye diagram's crossing point. The horizontal reference point defines a specific delay value relative to the trigger event and is marked by the gray triangle shown on the top left or top center edge of the graticule. Crossing time is the time when the crossing data point was sampled, relative to the trigger event.

Use the `:MEASure:EYE:ECTime:SOURce` command to specify the real-time eye diagram on which to make the measurement.

Use `:MEASure:TBASe:GENeral:METHod` to change the definition of the waveform's top/base.

Use the `:<waveform>:THReshold:GENeral:METHod` command to change the definition of the waveform's threshold.

This measurement can be applied to NRZ eye waveforms but not PAM eye waveforms.

## Example Command Sequence

    :MEASure:EYE:ECTime:SOURce ECHannel1
    :MEASure:EYE:ECTime
    :MEASure:EYE:ECTime?

## Measurement Ready?

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

    if ('CORR' in Infiniium.query(':MEASure:EYE:ECTime:STATus?')):
    	measurement = Infiniium.query(':MEASure:EYE:ECTime?')

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:EYE:ECTime:COUNt?') >= Infiniium.query(':ACQuire:COUNt?')):
    	measurement = Infiniium.query(':MEASure:EYE:ECTime?')

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:EYE:ECTime?` query after making the proper instance settings.

If a measurement is installed into Results table (using the `:MEASure:EYE:ECTime` 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.