Skip to main content

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.

C2xCreateStation

Valid for: CANoe DE

Function Syntax

Int64 C2xCreateStation(char* stationName);

Description

Creates a station and assigns it to the currently loaded scenario. If no scenario is loaded, a temporary scenario is created after measurement is started.

Parameters

  • stationName: Name of the station. The name must match the name of the node in the database.

Return Values

  • 0: OK
  • -1: Error

Example

on start
{
  C2xCreateStation("Station1");
}