Property (Read-Write)
SCPI.CALCulate(Ch).SELected.FUNCtion.PPOLarity = Param
Param = SCPI.CALCulate(Ch).SELected.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).
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]-4}[:SELected]:FUNCtion:PPOLarity {POSitive|
NEGative|BOTH}
:CALCulate{[1]-4}[:SELected]:FUNCtion:PPOLarity?
{POS|NEG|BOTH}<newline><^END>
10 OUTPUT 717;":CALC1:FUNC:PPOL BOTH"
20 OUTPUT 717;":CALC1:FUNC:PPOL?"
30 ENTER 717;A$