getSignalTime
Valid for: CANoe DE • CANoe4SW DE NoteThis function replaces
getSignalTimeByTxNode.
Function Syntax
Description
Gets the time point (unit: 10 microseconds) relative to the measurement start at which the signal was last sent on the bus. NoteIt is recommended to use form 1. The runtime environment is faster with form 1, because the signal object is determined during CAPL code compilation before measurement start. With form 2 the signal object is determined during runtime which influences the performance.
Parameters
- aSignal: The signal to be polled.
Return Values
Time point or 0 if the signal was not sent yet.Example
Special Use Case: Signal is not known before Measurement Start
Function Syntax
Description
Gets the time point (unit: 10 microseconds) relative to the measurement start at which the signal was last sent on the bus. NoteIt is recommended to use this form only in special cases, because the signal object is determined during runtime which influences the performance. Reasons to use this string notation of the function:
- Signal object is not known before measurement start.
- In case of signal ambiguities the unique signal is determined during measurement.
Parameters
- signalName: Name of the signal.
You have to use further objects to identify the signal uniquely. They are: channel, database name (alias), node name and message name. The exact qualification syntax is:
[Channel::][Database name (alias)::][Node::][Message::]Signal
The order and completeness of the objects from right to left is important (see example).