Command/Query
:CALCulate<Ch>[:SELected]:FUNCtion:PPOLarity {POSitive|NEGative|BOTH}
:CALCulate<Ch>[:SELected]:FUNCtion:PPOLarity?
This command sets/gets the polarity when performing the peak search with :CALC:FUNC:EXEC.
Parameter |
Selection Option |
Description |
Peak polarity type |
Data Type |
Character string type (String) |
Range |
"POSitive": Positive peak. "NEGative": Negative peak. "BOTH":Both the positive peak and the negative peak |
Preset Value |
POSitive |
{POS|NEG|BOTH}<newline><^END>
Dim Var as String
Var= "POS"
Ana.WriteString ":CALC1:FUNC:PPOL " & Var, True
Ana.WriteString ":CALC1:FUNC:PPOL?", True
Var=Ana.ReadString
No equivalent key is available on the front panel.
SCPI.CALCULATE(Ch).SELECTED.FUNCTION.PPOLARITY