Agilent Technologies Infiniium 90000 Series Programmer's Manual page 543

Oscilloscopes
Hide thumbs Also See for Infiniium 90000 Series:
Table of Contents

Advertisement

25
Measure Commands
myScope.WriteString ":MEASure:FREQuency CHANnel1"
Query
:MEASure:FREQuency? [<source>[,<direction>]]
The :MEASure:FREQuency? query returns the measured frequency.
Returned Format
[:MEASure:FREQuency] <value>[,<result_state>]<NL>
<value>
The frequency value in Hertz of the first complete cycle on the screen
using the mid- threshold levels of the waveform.
<result_state>
If SENDvalid is ON, the result state is returned with the measurement
result. See the :MEASure:RESults table in this chapter for a list of the
result states.
Example
This example places the current frequency of the waveform in the numeric
variable, varFreq, then prints the contents of the variable to the
computer's screen.
myScope.WriteString ":SYSTem:HEADer OFF"
' Response headers off.
myScope.WriteString ":MEASure:FREQuency? CHANnel1"
varFreq = myScope.ReadNumber
Debug.Print FormatNumber(varFreq, 0)
Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
543

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents