372 Keysight InfiniiVision DSOX1204A/G Oscilloscopes Programmer's Guide
20 :MEASure Commands
:MEASure:PHASe
(see page 798)
Command Syntax
:MEASure:PHASe [<source1>][,<source2>]
<source1>, <source2> ::= {CHANnel<n> | FUNCtion | MATH | WMEMory<r>}
<n> ::= 1 to (# analog channels) in NR1 format
<r> ::= 1-2 in NR1 format
The :MEASure:PHASe command places the instrument in the continuous
measurement mode and starts a phase measurement.
Query Syntax
:MEASure:PHASe? [<source1>][,<source2>]
The :MEASure:PHASe? query measures and returns the phase between the
specified sources.
A phase measurement is a combination of the period and delay measurements.
First, the period is measured on source1. Then the delay is measured between
source1 and source2. The edges used for delay are the source1 rising edge used
for the period measurement closest to the horizontal reference and the rising edge
on source 2. See :MEASure:DELay for more detail on selecting the 2nd edge.
The phase is calculated as follows:
phase = (delay / period of input 1) x 360
Return Format
<value><NL>
<value> ::= the phase angle value in degrees in NR3 format
See Also • "Introduction to :MEASure Commands" on page 350
• ":MEASure:DELay" on page 359
• ":MEASure:PERiod" on page 371
• ":MEASure:SOURce" on page 380