VNA Masterâ„¢Programming Manual : VNA Commands : :CALCulate:LIMit Subsystem
 
:CALCulate:LIMit Subsystem
This subsystem defines the limit lines and controls the limit check.
Limit Alarm
:CALCulate:LIMit:ALARm
Description
Enables/disables the active trace currently selected limit line alarm. Setting the value to ON or 1 turns on the active trace limit alarm. Setting the value to OFF or 0 turns off the active trace limit alarm. The query version of the command returns a 1 if the active trace currently selected limit line alarm is set to ON and returns 0 if set to OFF. Use :CALCulate:LIMit:TYPE to set the currently active limit line.
Syntax:
:CALCulate:LIMit:ALARm OFF|ON|0|1
:CALCulate:LIMit:ALARm?
Cmd Parameter
<boolean> OFF|ON|0|1
Query Response
<bNR1> 0|1
Default Value
OFF or 0 (query returns 0 for OFF)
Example
To turn off limit alarm
:CALCulate:LIMit:ALARm OFF
:CALCulate:LIMit:ALARm 0
To turn on limit alarm
:CALCulate:LIMit:ALARm ON
:CALC:LIM:ALAR 1
Related Command
:CALCulate:LIMit:TYPE
Front Panel Access
Shift 6 (Limit), Limit Alarm
 
Number of Lower Limit Points
:CALCulate<Tr>:LIMit:LOWer:POINt?
Description
Returns the number of points currently in the lower limit line of the given trace <Tr>. <Tr> is the trace number in the range 1 to 4. If no trace number is specified, then the <Tr> parameter defaults to trace number 1.
Syntax:
:CALCulate<Tr>:LIMit:LOWer:POINt?
Cmd Parameter
NA (query Only)
Query Response
<NR1> <integer>
Example
To query for the lower limit total point on trace #2:
:CALC2:LIM:LOW:POIN?
Front Panel Access
NA
Add Lower Limit Point
:CALCulate<Tr>:LIMit:LOWer:POINt:ADD
Description
Adds a new limit point to the lower limit line of the given trace <Tr>. <Tr> is the trace number in the range 1 to 4. If no trace number is specified, then the <Tr> parameter defaults to trace number 1.
Syntax:
:CALCulate<Tr>:LIMit:LOWer:POINt:ADD
Cmd Parameter
NA
Query Response
NA (no query)
Example
To add a point to the lower limit line on trace 2:
:CALC2:LIM:LOW:POIN:ADD
Front Panel Access
Shift 6 (Limit), Limit Edit, Add Point
 
Delete Lower Limit Point
:CALCulate<Tr>:LIMit:LOWer:POINt:DELete
Description
Deletes the lower limit point of the given trace <Tr>. After deletion, the point that is immediately to the left of the point that was deleted becomes the active point. <Tr> is the trace number in the range 1 to 4. If no trace number is specified, then the <Tr> parameter defaults to trace number 1. Note that deletion is valid only if more than 2 limit points are present.
Syntax:
:CALCulate<Tr>:LIMit:LOWer:POINt:DELete
Cmd Parameter
NA
Query Response
NA (no query)
Example
To delete the trace 4 lower limit current active point:
:CALCulate4:LIMit:LOWer:POINt:DELete
Front Panel Access
Shift 6 (Limit), Limit Edit, Delete Point