C2xSetStationBaseAttributes
Valid for: CANoe DEFunction Syntax
Int64 C2xSetStationBaseAttributes(char* stationName, float latitude, float longitude, float elevation, float direction, float speed);
Description
Assigns the data latitude, longitude, direction and speed to a dynamically added station of a scenario.Parameters
- stationName: Name of the station.
- Latitude: Latitude of the station (multiplier 10000000.0).
- Longitude: Longitude of the station (multiplier 10000000.0).
- Elevation: Elevation of the station.
- Direction: Heading in euler degrees.
- Speed: Speed in m/s.
Return Values
- 0: OK
- -1: Error