Skip to main content

C2xGetStationPropertyInt64

Valid for: CANoe DE

Function Syntax

int64 C2xGetStationPropertyInt64(char* propertyName); // form 1
int64 C2xGetStationPropertyInt64(char* stationName, char* propertyName); // form 2

Description

This function returns the value of a station property of type int64 that was assigned in a V2x scenario.

Parameters

  • stationName: Name of the station.
  • propertyName: Name of the station’s property. Possible property values are:
    • StartOffset
    • ID

Return Values

  • Value: Value of type int64
  • -1: Error

Example

on start
{
  int64 result;
  result = C2xGetStationPropertyInt64("Station1", "StartOffset");
}