Property (Read-Write)
SCPI.CALCulate(Ch).SELected.FUNCtion.PPOLarity = Param
Param = SCPI.CALCulate(Ch).SELected.FUNCtion.PPOLarity
The following syntax is also supported:
SCPI.CALCulate(Ch).TRACe(Tr).FUNCtion.PPOLarity = Param
Param = SCPI.CALCulate(Ch).TRACe(Tr).FUNCtion.PPOLarity
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).
Optionally, 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.
Parameter |
Param |
Description |
Polarity for peak search |
Data type |
Character string type (String) |
Range |
Select from the following:
|
Preset value |
"POSitive" |
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
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
No equivalent key is available on the front panel.
:CALCulate{[1]-160}[:SELected]:FUNCtion:PPOLarity {POSitive|
NEGative|BOTH}
:CALCulate{[1]-160}[:SELected]:FUNCtion:PPOLarity?
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?
{POS|NEG|BOTH}<newline><^END>
10 OUTPUT 717;":CALC1:FUNC:PPOL BOTH"
20 OUTPUT 717;":CALC1:FUNC:PPOL?"
30 ENTER 717;A$