Adding a Parameter in EKL

Adding parameters to checks can be done programmatically using EKL.

This page discusses:

See Also
Adding a Simple Parameter

Simple Parameter

Type Sample
Real
let param(Real)
param = ThisCheck.GetAttributeReal("ParameterName")
Integer
let param(Integer)
param = ThisCheck.GetAttributeInteger("ParameterName")
String
let param(String)
param = ThisCheck.GetAttributeString("ParameterName")
Value with unit
let param(Real)
param = ThisCheck.GetAttributeReal ("ParameterName")
Note: The unit is a MKS one.

Configurable Parameter

Type Sample
String list of values
let ListValue(List)
ListValue = ThisCheck.GetValueList("ParameterName")

Parameter Allowing Simple Selection

Type Sample
Real
let param(Real)
param = ThisCheck.GetAttributeReal("ParameterName")
Integer
let param(Integer)
param = ThisCheck.GetAttributeInteger("ParameterName")
String
let param(String)
param = ThisCheck.GetAttributeString("ParameterName")
Value with unit
let param(Real)
param = ThisCheck.GetAttributeReal ("ParameterName")
Note: The unit is a MKS one.

Parameter Allowing Multi-Selection

Type Sample
String list of values
let ListValues(List)
ListValues = ThisCheck.GetListOfSelected ("ParameterName")