17
Function Commands
:FUNCtion<F>?
Query
:FUNCtion<F>?
The :FUNCtion<F>? query returns the currently defined source(s) for the
function.
Returned Format
[:FUNCtion<F>:<operator>] {<operand>[,<operand>]}<NL>
<F>
An integer, 1- 16, representing the selected function.
<operator>
Active math operation for the selected function. For example, ADD,
AVERage, COMMonmode, DIFF, DIVide, FFTMagnitude, FFTPhase,
HIGHpass, INTegrate, INVert, LOWPass, MAGNify, MAXimum, MINimum,
MULTiply, SMOoth, SUBTract, or VERSus.
<operand>
Any allowable source for the selected FUNCtion, including channels,
differential channels, common mode channels. waveform memories 1- 4,
functions 1- 4, a constant, jitter measurement trend, and jitter spectrum. If
the function is applied to a constant, the source returns the constant.
See the discussion of possible operands in the introduction to
"Function Commands," starting on page 319.
Example
This example returns the currently defined source for function 1.
myScope.WriteString ":FUNCTION1?"
If the headers are off (see :SYSTem:HEADer), the query returns only the
operands, not the operator.
myScope.WriteString ":SYST:HEAD ON"
myScope.WriteString ":FUNC1:ADD CHAN1,CHAN2"
myScope.WriteString ":FUNC1?"
strSettings = myScope.ReadString
myScope.WriteString ":SYST:HEAD OFF"
myScope.WriteString ":FUNC1?"
strSettings = myScope.ReadString
322
' Returns ":FUNC1:ADD CHAN1,CHAN2".
' Returns "CHAN1,CHAN2".
Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
Chapter
17,