Keysight InfiniiVision M9241A Scpi Programmer's Manual page 503

Pxie oscilloscopes
Hide thumbs Also See for InfiniiVision M9241A:
Table of Contents

Advertisement

This query is not available if the source is FFT (Fast Fourier Transform).
NOTE
Return Format
<value><NL>
<value> ::= time in seconds of the specified transition in NR3 format
:MEASure:TEDGe
Code
See complete example programs at:
starting on page 1363
See Also
Keysight InfiniiVision M9241/42/43A PXIe Oscilloscopes SCPI Programmer's Guide
' Make a delay measurement between channel 1 and 2.
Dim dblChan1Edge1 As Double
Dim dblChan2Edge1 As Double
Dim dblChan1Edge2 As Double
Dim dblDelay As Double
Dim dblPeriod As Double
Dim dblPhase As Double
' Query time at 1st rising edge on ch1.
myScope.WriteString ":MEASURE:TEDGE? +1, CHAN1"
' Read time at edge 1 on ch 1.
dblChan1Edge1 = myScope.ReadNumber
' Query time at 1st rising edge on ch2.
myScope.WriteString ":MEASURE:TEDGE? +1, CHAN2"
' Read time at edge 1 on ch 2.
dblChan2Edge1 = myScope.ReadNumber
' Calculate delay time between ch1 and ch2.
dblDelay = dblChan2Edge1 - dblChan1Edge1
' Write calculated delay time to screen.
MsgBox "Delay = " + vbCrLf + CStr(dblDelay)
' Make a phase difference measurement between channel 1 and 2.
' Query time at 1st rising edge on ch1.
myScope.WriteString ":MEASURE:TEDGE? +2, CHAN1"
' Read time at edge 2 on ch 1.
dblChan1Edge2 = myScope.ReadNumber
' Calculate period of ch 1.
dblPeriod = dblChan1Edge2 - dblChan1Edge1
' Calculate phase difference between ch1 and ch2.
dblPhase = (dblDelay / dblPeriod) * 360
MsgBox "Phase = " + vbCrLf + CStr(dblPhase)
"Introduction to :MEASure Commands"
":MEASure:TVALue"
on page 504
":MEASure:VTIMe"
on page 514
Chapter
40, "Programming Examples,"
on page 448
21
:MEASure Commands
503

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the InfiniiVision M9241A and is the answer not in the manual?

This manual is also suitable for:

Infiniivision m9242aInfiniivision m9243a

Table of Contents