:MEASure:HORizontal:DTIMe
Command Syntax
:MEASure:HORizontal:DTIMe
Query Syntax
:MEASure:HORizontal:DTIMe?
Description
Moves the delta time (time delay) measurement between two edges to the top of the Results table. This measurement may be compatible with PAM signals, depending on the PAM waveform. Displays the measurement if it is not already shown on the table. The query form of the command returns the measured value. Delta time is the time difference from the first specified edge on source one to the next specified edge on source two. Use the child commands to specify the source waveforms and their associated edge number (:MEASure:HORizontal:DTIMe:ENUMber{1:2}), direction :MEASure:HORizontal:DTIMe:EDIRection{1:2}, and threshold :MEASure:HORizontal:DTIMe:ETHReshold{1:2}. Sources can be any displayed waveform, waveform memory, or function. For example, CHAN1_1, WMEMory1, or FUNCtion1. Use the child commands to set the measurement parameters before sending the parent command. Use :MEASure:TBASe:GENeral:METHod to change the definition of the waveform's top/base. Use :<waveform>:THReshold:GENeral:METHod to change the definition of the waveform's threshold.
PAM Compatibility. Because this measurement is based on waveform top and base levels and the passing of the waveform's edge through lower, middle, and upper thresholds, the measurement is not designed for PAM signals. However, the measurement may be able to be made on PAM signals if the waveform top and base definitions are manually set. This can be attempted using the following commands: :MEASure:TBASe:GENeral:METHod, :CHANnel:THReshold:GENeral:TOP, and :CHANnel:THReshold:GENeral:BASE commands.
Example Command Sequence
This sequence defines source one's edge number, direction, and threshold followed by source two's edge number, direction, and threshold. The delta time measurement is then started and the measurement result returned.
:MEASure:HORizontal:DTIMe:SOURce1 CHAN1_1 // Defines first measurement edge :MEASure:HORizontal:DTIMe:ENUMber1 2 :MEASure:HORizontal:DTIMe:EDIRection1 RISing :MEASure:HORizontal:DTIMe:ETHReshold1 MIDDle // Defines second measurement edge :MEASure:HORizontal:DTIMe:SOURce2 WMEMory1 :MEASure:HORizontal:DTIMe:ENUMber2 3 :MEASure:HORizontal:DTIMe:EDIRection2 FALLing :MEASure:HORizontal:DTIMe:ETHReshold2 MIDDle // Perform measurement :MEASure:HORizontal:DTIMe :MEASure:HORizontal:DTIMe?
Measurement Ready?
To confirm that the measurement is ready to read, you can query the measurement's status:
if ('CORR' in Infiniium.query(':MEASure:HORizontal:DTIMe:STATus?')):
measurement = Infiniium.query(':MEASure:HORizontal:DTIMe?')
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:HORizontal:DTIMe:COUNt?') >= Infiniium.query(':ACQuire:COUNt?')):
measurement = Infiniium.query(':MEASure:HORizontal:DTIMe?')
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:HORizontal:DTIMe? query after making the proper instance settings.
If a measurement is installed into Results table (using the :MEASure:HORizontal:DTIMe 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.