Skip to main content

StmCreate_CSV (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).
  • CycleTime: ms; 1 < x < ∞
    Defines the cycle in which the signal value in the message buffer is being updated. There is no effect to the bus.
    Defines the cycle in which the value of the environment or system variable is being updated.

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