# <CLimitLinePoint> Element

`<CLimitLinePoint>` defines a limit line point (X,Y) that establishes the beginning or end of a limit line segment. Points within a limit line must be defined in ascending order of X values. The only exception is when two consecutive points have the same X value, as when creating a vertical limit line segment between two segments having different amplitudes. Any number of adjacent points can have the same Y value. The maximum number of points in a limit line is 2048, which results in 2047 limit line segments. If points are not defined in ascending X values, the file will fail to load and an error will be reported.

Time and amplitude values are interpreted to be in the window's current vertical and horizontal units.

- Introduction to creating Limit Line Test files

## Parent Elements

`<CLimitLine>`

## Child Elements

None.

## Attributes

Name | Value | Description
--- | --- | ---
X | string | Sets the point's time.
Y | string | Sets the point's amplitude.

## Example

    <CLimitLineTestData Name="Compliance Test">
     <!-- Define Upper Limit Line -->
     <CLimitLine Name="top rail" IsMaxLine="True">
      <CLimitLinePoint X="0" Y="150e-03" />  <!-- Define the first point -->
      <CLimitLinePoint X="500e-12" Y="150e-03" />  <!-- Define another point -->
      <CLimitLinePoint X="600e-12" Y="400e-03" />  <!-- Define another point -->
      <CLimitLinePoint X="900e-09" Y="400e-03" />  <!-- Define another point -->
     </CLimitLine>  <!-- Finish the line --><!-- Define Lower Limit Line -->
     <CLimitLine Name="bottom rail" IsMaxLine="False">
      <CLimitLinePoint X="0" Y="-150e-03" />
      <CLimitLinePoint X="500e-12" Y="-150e-03" />
      <CLimitLinePoint X="600e-12" Y="-400e-03" />
      <CLimitLinePoint X="900e-09" Y="-400e-03" />
     </CLimitLine>
    </CLimitLineTestData>