LookupTxSignal
Syntax
txSignalRef * LookupTxSignal(char[] path)
Function
Searches for the specified tx signal. The path must be complete including namespaces and endpoint(s): You can downcast the result to a concrete type, see the example.
Parameters
path Path of the Tx signal.
Return Values
The tx signal. An uninitialized object if the signal is not found, which will also be reported in the Write Window or as an error in test system (if the function is called in a test routine).
txSignalRef long errorSignal;char path[200];char signalName[50] = "Mirrors::ErrorSignal";char sender[20] = "LeftMirror";snprintf(path, elcount(path), "%s[%s]", signalName, sender);errorSignal = (txSignalRef long) lookupTxSignal(path);
LookupRxSignal