426 Agilent InfiniiVision 3000 X-Series Oscilloscopes Programmer's Guide
20 :MEASure Commands
:MEASure:FREQuency
(see page 1138)
Command Syntax
:MEASure:FREQuency [<source>]
<source> ::= {<digital channels> | CHANnel<n> | FUNCtion | MATH
| WMEMory<r>}
<digital channels> ::= DIGital<d> for the MSO models
<n> ::= 1 to (# of analog channels) in NR1 format
<r> ::= 1-2 in NR1 format
<d> ::= 0 to (# digital channels - 1) in NR1 format
The :MEASure:FREQuency command installs a screen measurement and
starts a frequency measurement. If the optional source parameter is
specified, the current source is modified.
IF the edge on the screen closest to the trigger reference is rising:
THEN frequency = 1/(time at trailing rising edge - time at leading rising
edge)
ELSE frequency = 1/(time at trailing falling edge - time at leading falling
edge)
Query Syntax
:MEASure:FREQuency? [<source>]
The :MEASure:FREQuency? query measures and outputs the frequency of
the cycle on the screen closest to the trigger reference.
Return Format
<source><NL>
<source> ::= frequency in Hertz in NR3 format
See Also • "Introduction to :MEASure Commands" on page 406
• ":MEASure:SOURce" on page 444
• ":MEASure:PERiod" on page 433
Example Code • "Example Code" on page 445
This command is not available if the source is FFT (Fast Fourier Transform).