SCPI.CALCulate(Ch).SELected.FUNCtion.PPOLarity

Object type

Property (Read-Write)

Syntax

All revision:

SCPI.CALCulate(Ch).SELected.FUNCtion.PPOLarity = Param

Param = SCPI.CALCulate(Ch).SELected.FUNCtion.PPOLarity

 

In revision A.9.60 and above, the following syntax is also supported:

SCPI.CALCulate(Ch).TRACe(Tr).FUNCtion.PPOLarity = Param

Param = SCPI.CALCulate(Ch).TRACe(Tr).FUNCtion.PPOLarity

Description

This command sets/gets the polarity when performing the peak search with the SCPI.CALCulate(Ch).SELected.FUNCtion.EXECute object, for the active trace of the selected channel (Ch).

 

In revision A.9.60 and above, you can select the trace and set/get the polarity when performing the peak search with the SCPI.CALCulate(Ch).SELected.FUNCtion.EXECute object for the trace just by executing the above TRACe(Tr) command. You do not need to execute SCPI.CALCulate(Ch).PARameter(Tr).SELect.

Variable

Parameter

Param

Description

Polarity for peak search

Data type

Character string type (String)

Range

Select from the following:

  • "POSitive": Specifies the positive peak.

  • "NEGative": Specifies the negative peak.

  • "BOTH": Specifies both the positive peak and the negative peak.

Preset value

"POSitive"

Examples

Dim PeakPol As String
SCPI.CALCulate(1).PARameter(1).SELect
SCPI.CALCulate(1).SELected.FUNCtion.TYPE = "peak"
SCPI.CALCulate(1).SELected.FUNCtion.PPOLarity = "both"
PeakPol = SCPI.CALCulate(1).SELected.FUNCtion.PPOLarity

Related objects

SCPI.CALCulate(Ch).SELected.FUNCtion.DATA

SCPI.CALCulate(Ch).PARameter(Tr).SELect

SCPI.CALCulate(Ch).SELected.FUNCtion.TYPE

SCPI.CALCulate(Ch).SELected.FUNCtion.PEXCursion

SCPI.CALCulate(Ch).SELected.FUNCtion.EXECute

Equivalent key

No equivalent key is available on the front panel.

Equivalent SCPI command

Syntax

All revision:

:CALCulate{[1]-160}[:SELected]:FUNCtion:PPOLarity {POSitive|
NEGative|BOTH}

:CALCulate{[1]-160}[:SELected]:FUNCtion:PPOLarity?

 

In revision A.9.60 and above, the following syntax is also supported:

:CALCulate{[1]-160}:TRACe{[1]-16}:FUNCtion:PPOLarity {POSitive|
NEGative|BOTH}

:CALCulate{[1]-160}:TRACe{[1]-16}:FUNCtion:PPOLarity?

Query response

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

Example of use

10 OUTPUT 717;":CALC1:FUNC:PPOL BOTH"
20 OUTPUT 717;":CALC1:FUNC:PPOL?"
30 ENTER 717;A$