Controls the limit segments used for pass / fail testing.
CALCulate:MEASure:LIMit | DELete DISPlay | [:STATe] REPort | ALL? | [:DATA]? | POINts? SEGMent | AMPLitude | STARt | STOP | COUNt? | STIMulus | STARt | STOP | TYPE SOUNd | [:STATe] |
Click a keyword to view the command details.
See Also
Applicable Models: All (Read-Write) Sets data for limit segments. |
|||||||||||
Parameters |
|
||||||||||
<cnum> |
Channel number of the measurement for which limit lines are to be set. There must be a selected measurement on that channel. If unspecified, <cnum> is set to 1. |
||||||||||
<mnum> |
Measurement number for each measurement. There must be a selected measurement on the trace. If unspecified, <mnum> is set to 1. |
||||||||||
<block> |
Data for all limit segments in REAL,64 format. The following is the data format for 1 segment:
|
||||||||||
Examples |
The following writes three max limit segments for a bandpass filter. CALC:MEAS2:LIM:DATA 1,3e5,4e9,-60,0,1,4e9,7.5e9,0,0,1,7.5e9,9e9,0,-30 |
||||||||||
Query Syntax |
CALCulate<cnum>:MEASure<mnum>:LIMit:DATA? |
||||||||||
Return Type |
Depends on FORM:DATA - All 100 predefined limit segments are returned. |
||||||||||
100 limit segments - all values set to 0 |
Applicable Models: All (Write-only) Deletes all limit line data for the selected measurement on the specified channel. |
|
Parameters |
|
<cnum> |
Channel number of the measurement. There must be a selected measurement on that channel. If unspecified, <cnum> is set to 1. |
<mnum> |
Measurement number for each measurement. There must be a selected measurement on the trace. If unspecified, <mnum> is set to 1. |
Examples |
CALC2:MEAS2:LIM:DATA:DEL |
Query Syntax |
Not Applicable |
Not Applicable |
Applicable Models: All (Read-Write) Turns the display of limit segments ON or OFF (if the data trace is turned ON). |
|
Parameters |
|
<cnum> |
Channel number of the measurement. There must be a selected measurement on that channel. If unspecified, <cnum> is set to 1. |
<mnum> |
Measurement number for each measurement. There must be a selected measurement on the trace. If unspecified, <mnum> is set to 1. |
<ON | OFF> |
ON (or 1) - turns the display of limit segments ON. |
Examples |
CALC:MEAS2:LIM:DISP:STAT ON |
Query Syntax |
CALCulate<cnum>:MEASure<mnum>:LIMit:DISPlay[:STATe]? |
Return Type |
Boolean (1 = ON, 0 = OFF) |
ON |
Applicable Models: All (Read-only) Returns the Pass / Fail status of the limit line test. Returns 1 (Fail) if any data point fails for any limit segment. Limit display (CALC:LIM:DISP) does NOT have to be ON. |
|
Parameters |
|
<cnum> |
Channel number of the measurement. There must be a selected measurement on that channel. If unspecified, <cnum> is set to 1. |
<mnum> |
Measurement number for each measurement. There must be a selected measurement on the trace. If unspecified, <mnum> is set to 1. |
Examples |
CALC:MEAS2LIM:FAIL? |
Return Type |
Boolean
|
Not Applicable |
Applicable Models: All (Read-only) Reads the bandwidth test results (stimulus value, limit test result, upper limit value and lower limit value of all measurement points), for the active trace of selected channel. |
|
Parameters |
|
<cnum> |
Channel number of the measurement. There must be a selected measurement on that channel. If unspecified, <cnum> is set to 1. |
<mnum> |
Measurement number for each measurement. There must be a selected measurement on the trace. If unspecified, <mnum> is set to 1. |
<block> |
Depends on FORM:DATA If the number of the measurement points is N, <Block> = <first stimulus>,<test result>,<upper limit>,<lower limit>, …, <Nth stimulus>,<test result>,<upper limit>,<lower limit> Where <test result>= -1: No limit, 0:Fail, 1:Pass |
Examples |
CALC:MEAS:LIM:REP:ALL? |
Return Type |
Variant |
Depend on the preset status |
Applicable Models: All (Read-only) Reads the stimulus values (frequency, power level or time) at all the measurement points that failed the limit test, for the active trace of selected channel. |
|
Parameters |
|
<cnum> |
Channel number of the measurement. There must be a selected measurement on that channel. If unspecified, <cnum> is set to 1. |
<mnum> |
Measurement number for each measurement. There must be a selected measurement on the trace. If unspecified, <mnum> is set to 1. |
<block> |
Depends on FORM:DATA If the number of the measurement points that failed the limit test is N, <block>=<First failed stimulus>, ..., <Nth failed stimulus>. |
Examples |
CALC:MEAS:LIM:REP:DATA? |
Return Type |
Numeric |
9.91E37 |
Applicable Models: All (Read-only) Reads the number of the measurement points that failed the limit test, for the active trace of selected channel. |
|
Parameters |
|
<cnum> |
Channel number of the measurement. There must be a selected measurement on that channel. If unspecified, <cnum> is set to 1. |
<mnum> |
Measurement number for each measurement. There must be a selected measurement on the trace. If unspecified, <mnum> is set to 1. |
Examples |
CALC:MEAS:LIM:REP:POIN? |
Query Syntax |
Numeric |
0 |
Applicable Models: All (Read-Write) Sets the start (beginning) of the Y-axis amplitude (response) value. |
|
Parameters |
|
<cnum> |
Channel number of the measurement. There must be a selected measurement on that channel. If unspecified, <cnum> is set to 1. |
<mnum> |
Measurement number for each measurement. There must be a selected measurement on the trace. If unspecified, <mnum> is set to 1. |
<snum> |
Segment number; if unspecified, value is set to 1. |
<num> |
Choose any number between: -500 and 500 Display value is limited to the Maximum and Minimum displayed Y-axis values. |
Examples |
CALC:MEAS2LIM:SEGM1:AMPL:STAR 10 |
Query Syntax |
CALCulate<cnum>:MEASure<mnum>:LIMit:SEGMent<snum>AMPLitude:STARt? |
Return Type |
Numeric |
0 |
Applicable Models: All (Read-Write) Sets the stop (end) of the Y-axis amplitude (response) value. |
|
Parameters |
|
<cnum> |
Channel number of the measurement. There must be a selected measurement on that channel. If unspecified, <cnum> is set to 1. |
<mnum> |
Measurement number for each measurement. There must be a selected measurement on the trace. If unspecified, <mnum> is set to 1. |
<snum> |
Segment number; if unspecified, value is set to 1. |
<num> |
Choose any number between: -500 and 500 Display value is limited to the Maximum and Minimum displayed Y-axis values. |
Examples |
CALC:MEAS:LIM:SEGM1:AMPL:STOP 10 |
Query Syntax |
CALCulate<cnum>:MEASure<mnum>:LIMit:SEGMent<snum>AMPLitude:STOP? |
Return Type |
Numeric |
0 |
Applicable Models: All (Read-only) Returns the number of segments used in a limit test. All segments are counted, whether they are on or not. |
|
Parameters |
Not Applicable |
<mnum> |
Measurement number for each measurement. There must be a selected measurement on the trace. If unspecified, <mnum> is set to 1. |
Examples |
CALC:MEAS2:LIM:SEGM:COUN? |
Return Type |
Numeric |
Not Applicable |
Applicable Models: All (Read-Write) Sets the start (beginning) of the X-axis stimulus value. |
|
Parameters |
|
<cnum> |
Channel number of the measurement. There must be a selected measurement on that channel. If unspecified, <cnum> is set to 1. |
<mnum> |
Measurement number for each measurement. There must be a selected measurement on the trace. If unspecified, <mnum> is set to 1. |
<snum> |
Segment number; if unspecified, value is set to 1. |
<num> |
Choose any number within the X-axis span of the analyzer. |
Examples |
CALC:MEAS:LIM:SEGM1:STIM:STAR 10 |
Query Syntax |
CALCulate<cnum>:MEASure<mnum>:LIMit:SEGMent<snum>STIMulus:STARt? |
Return Type |
Numeric |
0 |
Applicable Models: All (Read-Write) Sets the stop (end) of the X-axis stimulus value. |
|
Parameters |
|
<cnum> |
Channel number of the measurement. There must be a selected measurement on that channel. If unspecified, <cnum> is set to 1. |
<mnum> |
Measurement number for each measurement. There must be a selected measurement on the trace. If unspecified, <mnum> is set to 1. |
<snum> |
Segment number; if unspecified, value is set to 1. |
<num> |
Choose any number within the X-axis span of the analyzer. |
Examples |
CALC:MEAS2:LIM:SEGM1:AMPL:STOP 10 |
Query Syntax |
CALCulate<cnum>:MEASure<mnum>:LIMit:SEGMent<snum>STIMulus:STOP? |
Return Type |
Numeric |
0 |
Applicable Models: All (Read-Write) Sets the type of limit segment. |
|
Parameters |
|
<cnum> |
Channel number of the measurement. There must be a selected measurement on that channel. If unspecified, <cnum> is set to 1. |
<mnum> |
Measurement number for each measurement. There must be a selected measurement on the trace. If unspecified, <mnum> is set to 1. |
<snum> |
Segment number. Choose any number between: |
<char> |
Choose from: LMIN - a MIN limit segment. Any response data below the MIN value will fail. OFF - the limit segment (display and testing) is turned OFF. |
Examples |
CALC:MEAS2:LIM:SEGM:TYPE LMIN |
Query Syntax |
CALCulate<cnum>:MEASure<mnum>:LIMit:SEGMent<snum>:TYPE? |
Return Type |
Character |
OFF |
Applicable Models: All (Read-Write) Turns limit testing fail sound ON or OFF. |
|
Parameters |
|
<cnum> |
Channel number of the measurement. There must be a selected measurement on that channel. If unspecified, <cnum> is set to 1. |
<mnum> |
Measurement number for each measurement. There must be a selected measurement on the trace. If unspecified, <mnum> is set to 1. |
<ON | OFF> |
ON (or 1) - turns sound ON. |
Examples |
CALC:MEAS2:LIM:SOUN ON |
Query Syntax |
CALCulate<cnum>:MEASure<mnum>:LIMit:SOUNd[:STATe]? |
Return Type |
Boolean (1 = ON, 0 = OFF) |
OFF |
Applicable Models: All (Read-Write) Turns limit segment testing ON or OFF.
|
|
Parameters |
|
<cnum> |
Channel number of the measurement. There must be a selected measurement on that channel. If unspecified, <cnum> is set to 1. |
<mnum> |
Measurement number for each measurement. There must be a selected measurement on the trace. If unspecified, <mnum> is set to 1. |
<ON | OFF> |
ON (or 1) - turns limit testing ON. |
Examples |
CALC:MEAS:LIM:STAT ON |
Query Syntax |
CALCulate<cnum>:MEASure<mnum>:LIMit:STATe? |
Return Type |
Boolean (1 = ON, 0 = OFF) |
OFF |