Trace - Lines    Related Topics

The commands in the Lines submenu define limits for the measurement results, visualize them in the diagrams and activate/deactivate the limit check. The analyzer provides upper, lower, and ripple limits. Besides the menu provides a horizontal line for each trace.

Limit lines are available for all Cartesian diagram types (Trace – Format). For polar diagrams, the functions of the Lines submenu except the Global Check are grayed. The limit lines are hidden and the limit check (except the global check and the global ripple check) is disabled when a Cartesian trace format is replaced by a polar diagram.  


Define Limit Line

Opens a dialog to define the limit line for the active trace on a segment-by-segment basis. In each segment the limit line is defined as a straight line connecting two points.  

Choose one of the following methods to efficiently create and handle limit lines:

The Define Limit Line dialog contains a table to edit the individual segments of the limit line; see below. The active trace is indicated in the title bar of the dialog. The three buttons below the table extend or shorten the segment list.  

The buttons to the right of the table are used to import and export limit line data.

Imported traces are polygonal curves with n points and n 1 segments. The number of points n is set via Channel – Sweep – Number of Points. The n 1 segments are appended to the current segment table for further editing. Existing limit line segments are not overwritten.

To import a limit line file (*.limit) you can also use the Windows Explorer and simply double-click the file or drag and drop the file into the NWA application. You have to switch on the limit check separately. Use the paste marker list for convenient entry of Start and Stop values.

Columns in the segment table

The table contains an automatically assigned current number for each segment plus the following editable columns:

The limit line segment is calculated as a straight line connecting the two points (<Start Stimulus>, <Start Response>) and (<Stop Stimulus>, <Stop Response>); see Rules for Limit Line Definition.

Remote control:

CALCulate<Chn>:LIMit:CONTrol[:DATA]
CALCulate<Chn>:LIMit:DATA

CALCulate<Chn>:LIMit:SEGment<Seg>...

CALCulate<Chn>:LIMit:UPPer...

CALCulate<Chn>:LIMit:LOWer...

CALCulate<Chn>:LIMit:DELete:ALL

MMEMory:STORe:LIMit

MMEMory:LOAD:LIMit


Multi-Selection of Limit Line Segments

In the Define Limit Line dialog it is possible to edit several limit line segments at the same time. Selection of one or more segments (use the left mouse key and the Shift key of an external keyboard) and a right-click on the dark grey Seg. area opens a context menu:

The context menu provides the following functions:

Remote control:

CALCulate<Chn>:LIMit:UPPer...
CALCulate<Chn>:LIMit:LOWer...


Rules for Limit Line Definition

The analyzer places very few restrictions on the definition of limit line segments. The following rules ensure a maximum of flexibility:

The following figure shows a limit line consisting of 3 upper and 2 lower limit line segments. To pass the limit check, the trace must be confined to the shaded area.  

As a consequence of the limit line rules, the limit check will always pass a DUT if no limit lines are defined.


File Import Settings

The Properties of Imported Segments dialog appears before a trace is imported into the Define Limit Line dialog.

The dialog assigns common properties to all limit line segments generated by the imported trace.  

Remote control:

CALCulate<Chn>:LIMit:LOWer:FEED <stimulus_offset>,<response_offset>[,<trace_name>]
CALCulate<Chn>:LIMit:UPPer:FEED <stimulus_offset>,<response_offset>[,<trace_name>]

MMEMory:LOAD:LIMit


File Format for Limit Lines

The analyzer uses a simple ASCII format to export limit line data. By default, the limit line file has the extension *.limit and is stored in the directory shown in the Export Limit Line and Import Limit Line dialogs. The file starts with a preamble containing the channel and trace name and the header of the segment list. The following lines contain the entries of all editable columns of the list.

Example of a limit line file   

The limit line:

is described by the limit line file:

Remote control:

MMEMory:LOAD:LIMit "Trc_name","file_name"
MMEMory:STORe:LIMit "Trc_name","file_name"


Show Limit Line

Shows or hides the limit line associated with the active trace in a Cartesian diagram area. A checkmark appears next to the menu item when the limit line is shown.

In the diagram, upper and lower limit lines can be displayed with different colors. Limit line segments with disabled limit check (see Define Limit Line) can also be colored differently. The limit line colors are defined in the Define User Color Scheme dialog (Display – Display Config. – Color Scheme...).

Display of the limit line and limit check are independent of each other: Hiding the limit line does not switch off the limit check.

Remote control:

CALCulate<Chn>:LIMit:DISPlay[:STATe] ON | OFF


Limit Check

Switches the limit check of the active trace on or off. A checkmark appears next to the menu item when the limit check is enabled.

When the limit check is switched on, a PASS or FAIL message is displayed in the center of the diagram. If the limit check fails at a measurement point, the two trace segments to the left and right of the point can change their color. The Limit Fail Trace color is defined in the Define User Color Scheme dialog (Display – Display Config. – Color Scheme...). An acoustic signal (Global Beep) and a TTL signal indicating pass or fail can be generated in addition.

Limit check and display of the limit lines are independent of each other: With disabled limit check, the limit line can still be displayed.

If no limit lines are defined for the active trace, the limit check can be switched on but will always PASS the trace.

Limits are checked at the actual measurement points, whereas a limit failure is indicated for the trace segments on both sides of a failed point. A small number of points causes wide trace segments so that the out-of tolerance regions can appear wider as they are.

Markers show interpolated values. As a consequence, a trace segment can be failed, whereas a marker placed on the segment may show a response value within the allowed range. This is shown in the example below, with an upper limit line at 26 dB, and a marker response value of 25.968 dB. The small circles correspond to the sweep points; the orange part of the trace is failed.  

Remote control:

CALCulate<Chn>:LIMit:STATe ON | OFF
CALCulate<Chn>:LIMit:LOWer:STATe ON | OFF

CALCulate<Chn>:LIMit:UPPer:STATe ON | OFF

CALCulate<Chn>:LIMit:FAIL?