Documentation Index
Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
C2xGetStationColor
CAPL Functions » Car2x » C2xGetStationColor Valid for: CANoe DEFunction Syntax
Description
Retrieve the color associated with the ITS Station in the Station Manager. The ITS Station can be identified by its handle or by the name of the associated node in the database.Parameters
- stationHandle: Handle of the ITS station.
- dbNodeName: Name of the database node associated with the station.
- Note: CAPL Macro
%NODE_NAME%can be used as value for the dbNodeName parameter to get the station color for a calling ECU CAPL node.
- Note: CAPL Macro
Return Values
- RGB Value (0xBBGGRR): The station color encoded as RGB Value (0xBBGGRR).
- -1: Error, specified station and/or attribute name do not exist in the scenario.