Command/Query
:CALCulate<Ch>[:SELected]:MARKer<Mk>:FUNCtion:PPOLarity {POSitive|NEGative|BOTH}
:CALCulate<Ch>[:SELected]:MARKer<Mk>:FUNCtion:PPOLarity?
This command sets/gets the peak polarity type with marker 1 to 9 (MK:1-9) and reference marker (Mk:10).
| 
 Parameter  | 
 Selection Option  | 
| 
 Description  | 
 Peak polarity type  | 
| 
 Data Type  | 
 Character string type (String)  | 
| 
 Range  | 
 POSitive|NEGative|BOTH  | 
| 
 Preset Value  | 
 POSitive  | 
{POS|NEG|BOTH}<newline><^END>
Dim Var as String
Var= "POS"
Ana.WriteString ":CALC1:MARK1:FUNC:PPOL " & Var, True
Ana.WriteString ":CALC1:MARK1:FUNC:PPOL?", True
Var=Ana.ReadString
Marker Search > Peak > Peak Polarity
SCPI.CALCULATE(Ch).SELECTED.MARKER(Mk).FUNCTION.PPOLARITY