Behavior Experience Types: CATSimWatchListResult

This page discusses:

Inheritance Path

ObjectType
 Feature
  CATSimWatchListResult

Attributes

Name Type Comment
ParentScenario Feature Parent feature
SignalOperatorsName List List of strings with the variable names stored in this probe
SignalOperatorsType List List of variable types stored in this probe
SignalOperatorsValue List List of lists, each list being the time-series with variable values
TimeValues List List of time values stored in the probe
VariablesName List List of strings with the parameter names resulting from signal operators
VariablesType List List of parameter types resulting from signal operators
VariablesValues List List of parameter values resulting from signal operators

Example

let reportTxt(String)
let iVar=0
iVar = iWatchList.VariablesName.IndexOf("J2.w",1)
if (iVar>0)
{
	let valuesList(list)
	valuesList = iWatchList.VariablesValues.GetItem(iVar)
	
	let curAttr(ANGULAR_VELOCITY)
	let i(Integer)
	i=1 	
	for i while i <= iWatchList.TimeValues.Size()
	{
		curAttr = valuesList.GetItem(i)
		reportTxt = reportTxt + "| t=" + ToString(iWatchList.TimeValues.GetItem(i))
		reportTxt = reportTxt + " x=" + ToString(curAttr)
	}
}