lookupServiceSignalNumber
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
Description
Searches for a SOME/IP Service Signal in the database(s). If the Service Signal is not found or if the name is not unique, test modules/units report an error in test system while simulation/analysis nodes write a warning into the Write Window, and the function returns an invalidserviceSignal. If the lookupServiceSignalNumber function is used during the measurement, the collection of signal values only begins at this point.
Notes: It is recommended to use this function only in special cases or during measurement start, since searching for the database definition may impact realtime performance.
lookupServiceSignalNumber can be used to access a Service Signal, which was specified by a string during measurement. The function makes it possible to write dynamic tests with Service Signals, where the name of the Service Signal is not given at compile-time.
lookupServiceSignalNumber is for Service Signals, which can be represented as number. For data and string types see lookupServiceSignalData and lookupServiceSignalString.
Parameters
- serviceSignalName: The qualifier of the Service Signal.