Skip to main content

StmCreate_CSV (non-cyclical)

Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DE

Function Syntax

To stimulate signals:
To stimulate signals with the Interaction Layer (IL):
To stimulate environment variables:
To stimulate system variables:

Constructor

TestStimulus::CreateCSV

Description

Creates stimulus generator with csv file as data source.

Parameters

  • aMessage: Existing message (dbMsg type) in DB.
  • aDBSignal: Existing signal (dbSignal type) in DB.
  • aFile: Existing file to set the stimulus variable. If file not exists: EDI Invalid data input (measurement stops)
  • EnvVarHandle: Existing environment variable (EnvVar type) in DB.
  • SystemVariable: Existing system variable (sysVar type).

Return Values

  • 0: Stimulus could not be created and must not be referenced
  • > 0: Stimulus was created successfully and may be referenced using the handle
Later this ID can be used to control the stimuli.

Example

Stimulus Generator: CSV File as Data Source