Skip to main content

C2xGetStationAttributeInt64

Valid for: CANoe DE

Function Syntax

Description

This function returns the actual value of the integer-typed scenario attribute. Form 1 of the function returns values of an attribute of the calling (current) station. Form 2 allows to get values of all attributes of any station in the scenario, even if the scenario station does not have an assigned database node.

Parameters

  • stationName: Scenario station name.
  • attributeName: Name of the scenario attribute which belongs to the scenario station specified by stationName parameter.

Return Values

The integer value of the attribute at the time of function call.
  • -1: Error, specified station and/or attribute name do not exist in the scenario.

Example