CAPL Script

lookupSysvar

Syntax

sysvar * lookupSysvar(char sysvarPath[]); // form 1

sysvar * lookupSysvar(char namespace[], char sysvarName[]); // form 2

Function

Searches for a system variable definition. If the system variable is not found, test modules/units report anerror in test systemwhile simulation/analysis nodes write a warning into the Write Window, and the function returns an invalidsysvar.

Parameters

sysvarPath Fully qualified name of the variable (including namespaces)

namespace

Namespace(s) of the variable, separated with::

sysvarName

Name of the variable

Return Values

The found system variable or an invalid object.