:CALC<Ch>:FUNC:PPOL

Type

Command/Query

Syntax

:CALCulate<Ch>[:SELected]:FUNCtion:PPOLarity {POSitive|NEGative|BOTH}

:CALCulate<Ch>[:SELected]:FUNCtion:PPOLarity?

Description

This command sets/gets the polarity when performing the peak search with :CALC:FUNC:EXEC.

Variable

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

Query Response

{POS|NEG|BOTH}<newline><^END>

Examples

Dim Var as String
Var= "POS"
Ana.WriteString ":CALC1:FUNC:PPOL " & Var, True
Ana.WriteString ":CALC1:FUNC:PPOL?", True
Var=Ana.ReadString

Related Commands

:CALC:FUNC:EXEC

:CALC:FUNC:TYPE

Equivalent Softkey

No equivalent key is available on the front panel.

COM Command Syntax (Internal Control Only)

SCPI.CALCULATE(Ch).SELECTED.FUNCTION.PPOLARITY