CAPL Functions » ADAS » GetStationAttributeDouble
GetStationAttributeDouble
Valid for: CANoe DE Note: This CAPL function is also available as C# function.Function Syntax
C#Description
Queries an attribute of a scenario as a value of type double at the runtime of the scenario.Parameters
- stationName: The name of the station from which the attribute shall be got.
- attribute: The name of the attribute which shall be got. Available default (double) attributes:
- Latitude
- Longitude
- Heading
- Elevation
- Acceleration
- Length
- Width
- Height
- Distance
Return Values
C#- The value of the attribute.
- 0: The value of the attribute cannot be found.
- The value of the attribute.
- 0: The value of the attribute cannot be found.