AddCartesianLimitLine  

Adds a limit line to a report on the X axis.

UI Access Report2D > Add Limit Line> Specify Points...
Parameters
Name Type Description
<ReportName> String Name of the report.
<Def> Array

Structured array:

Array("NAME:CartesianLimitLine",

Array("NAME:XValues", <integer X values>),

"XUnits:=", <string unit of measure for X>,

Array("NAME:YValues", <integer Y values>),

"YUnits:=", "<string unit of measure for Y>",

"YAxis:=", <string name of associated Y axis>

)

Return Value None.

 

Python Syntax AddCartesianLimitLine (<ReportName>, <Def>)
Python Example

oModule.AddCartesianLimitLine("Project Outputs",

["NAME:CartesianLimitLine",

["NAME:XValues",0, 2, 5, 7, 10, 15],

"XUnits:=", "s",

["NAME:YValues",0.05, 0.3, 0.65, 0.825, 0.95, 1],

"YUnits:=", "mV", "YAxis:=", "Y1"

]

)