Skip to content
logo
ecu.test 2025.3 Help
Port MODELACCESS - DEFAULT 🛈
  • English
  • Deutsch
Initializing search
    • Getting Started
    • Overview
    • ecu.test Main program
    • Further included programs
    • Tools
      • A&D: iTest
      • ASAM: ACI
      • ASAM: iLinkRT
      • ASAM: XIL
      • ASAP: STEP
      • ATI: VISION
      • AVL: LYNX
      • AVL: PUMA
      • Basler: pylon
      • Beckhoff: TwinCAT
      • Digiteq: FG4 MultiBox
      • Digiteq: MGB
      • dSPACE: AURELION
      • dSPACE: ControlDesk
      • dSPACE: ModelDesk
      • dSPACE: MotionDesk
      • dSPACE: RTMaps
      • dSPACE: XIL API
      • EA: UTA 12
      • EMVA: GenICam
      • ESI: SimulationX
      • ETAS: BOA
      • ETAS: COSYM-SIL
      • ETAS: INCA
      • ETAS: LABCAR-PINCONTROL
      • FEP
      • FEP3
      • FEV: MorphĂ©e
      • froglogic: Squish
      • Google: ADB
      • Göpel: Video Dragon
      • Hexagon: VTD
      • HMS: ACT - Restbussimulation
      • HMS: Legacy Bus Interfaces (VCI V2)
      • HMS: VCI V4
      • HORIBA FuelCon: TestWork
      • IDS: uEye
      • IPETRONIK: ETHOS
      • IPG: CarMakerHeadless
      • IPG: CarMaker|RealTimeMaker
      • JS Foundation: Appium
      • Keysight: CDS
      • Keysight: ESD
      • KS Engineers: TornadoACI
      • Lauterbach: TRACE32
      • MAGNA: BluePiraT
      • Mathworks: MATLAB & Simulink
      • Mechanical Simulation Corporation: CarSim
      • MicroNova: NovaCarts
      • Modelica Association: FMI
      • MOTEON: MTB
      • NI: LabVIEW
      • NI: VeriStand
      • NI: VISA
      • Opal-RT: RT-LAB
      • PEAK: PCAN
      • PLS: UDE
      • QUANCOM: QLIB
      • RA Consulting: DiagRA D
      • ROS2
      • SAE: PassThru
      • SFC: Selenium
      • Softing: DTS
      • Speedgoat: SimulinkRealTimeXIL
        • Ports
          • Port MODELACCESS - DEFAULT 🛈
            • Stimulation
            • Supported execution modes
            • Properties 🛈
            • Jobs 🛈
              • DownloadParameterSets
              • ExecuteTargetScript
              • GetAllStimulations
              • GetConfigState
              • GetRecordingFilesStates
              • GetSimulationState
              • GetSimulationTime
              • GetStimulationState
              • PauseSimulation
              • PauseStimulation
              • ResumeStimulation
              • StartSimulation
              • StopSimulation
              • TriggerClientEvent
          • Port APPLICATION - DEFAULT 🛈
          • Port BUSACCESS - GENERIC 🛈
          • Port BUSACCESS - MODEL BASED 🛈
      • Synopsys: Silver
      • Synopsys: SilverXIL
      • Synopsys: Virtualizer
      • Technica: BTS
      • Technica: CM
      • The GNU Project: GDB
      • TOSUN: libTSCAN API
      • tracetronic: Ethernet
      • tracetronic: Multimedia
      • tracetronic: RemoteCommand
      • tracetronic: RemoteCommandLinux
      • tracetronic: Serial interface
      • tracetronic: SocketCAN
      • tracetronic: SSH MultiConnect
      • tracetronic: ZeroMQ
      • TTTech: TTXConnexion
      • Typhoon HIL: THCC
      • Vector: CANape
      • Vector: CANoe / CANalyzer
      • Vector: DYNA4
      • Vector: SIL Kit
      • Vector: XL API
      • Vehinfo: LABCAR
      • ViGEM: CCA
      • VW: ODIS
      • X2E: Xoraya
      • Tools with stimulus support
    • Test execution
    • Trace analysis
    • Workspace
    • Handling
    • Test management
    • test.guide
    • Extensions
    • Specific Tutorials
    • API references
    • System requirements
    • ecu.test on Linux
    • ecu.test code
    • ecu.test agent
    • ecu.test lab
    • Stimulation
    • Supported execution modes
    • Properties 🛈
    • Jobs 🛈
      • DownloadParameterSets
      • ExecuteTargetScript
      • GetAllStimulations
      • GetConfigState
      • GetRecordingFilesStates
      • GetSimulationState
      • GetSimulationTime
      • GetStimulationState
      • PauseSimulation
      • PauseStimulation
      • ResumeStimulation
      • StartSimulation
      • StopSimulation
      • TriggerClientEvent

    Port MODELACCESS - DEFAULT đŸ›ˆÂ¶

    XIL-API-MAPort

    Stimulation¶

    Restrictions:

    • Trace files being referenced by a DataFileSegment in an STI file are not converted automatically by ecu.test.

    • It is up to the user to check whether the trace format being used is supported by the tool.

    Supported execution modes¶

    See also: Temporal behaviour: Real time and simulation time modes

    Preferred time source/mode: Real-time

    Real-time:

    To use real-time mode, the Test configuration in the Execution tab must be configured as the source ‘real time’.

    Stepwise simulation time:

    To use the stepwise simulation mode, the port in the Test configuration in the Execution tab must be selected and the mode set to ‘stepwise’. Wait-until-true expressions are evaluated - if possible - by the tool. If the tool cannot evaluate them, the evaluation will be done by ecu.test. This can lead to lower performance. Invalid expressions are only noted in the log if the log level is set to “Maximum”.

    Continuous simulation time:

    To use the continuous simulation mode, the port in the Test configuration in the Execution tab must be selected and the mode set to ‘continuous’.

    Properties đŸ›ˆÂ¶

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    Configuration file

    string

    Path to the configuration file of the MAPort. Path has to be either absolute, or relative to the model directory. If <auto>, the configuration file the TCF references to will be used.

    Support for online model querying

    ☑

    bool

    (De-)Activates the interface for online querying of model information by the test configuration

    Overwrite configuration parameters

    ‘<none>’

    string

    Allows the port configuration parameters in the specified configuration file to be overwritten. The parameter paths, including the new values, must be specified in a JSON format, e.g. ‘{“sample.path”: value}’. The parameter paths to be overwritten must already be defined in the port configuration file.

    Separator in model paths

    ‘/’

    [‘/’, ‘.’]

    string

    Specifies the separator used in model paths. With it, model variables are visually grouped e.g. within the model tab.

    Replace current configuration

    ☐

    bool

    “True” replaces the current configuration with the selected one. Otherwise the running configuration will be used.

    Start simulation

    ‘start’

    [‘start’, ‘test start’, ‘no start’]


    Display values:

    • ‘start’: ‘Start’

    • ‘test start’: ‘On start of test’

    • ‘no start’: ‘Do not start’

    string

    Specifies when the simulation is started.

    “Start”: The simulation is started when the configuration starts.

    “On start of test”: The simulation is started when the execution of a test case starts.

    “Do not start”: The simulation will not be started. The resulting port state depends on the “Replace current configuration” setting. An already running and simulating application will not be stopped.

    Stop simulation

    ‘stop’

    [‘stop’, ‘test stop’, ‘no stop’]


    Display values:

    • ‘stop’: ‘Stop’

    • ‘test stop’: ‘At test stop’

    • ‘no stop’: ‘Do not stop’

    string

    Specifies when the simulation is stopped.

    “Stop”: The simulation is stopped when the configuration stops.

    “At test stop”: The simulation is stopped when the execution of the test case stops.

    “Do not stop”: The simulation is not stopped implicitly.

    Recording format

    MF4

    [CSV, MDF, MF4]

    string

    File format for recording

    Delimiter

    Recording format: ‘CSV’

    ‘;’

    [‘;’, ‘,’]

    string

    Delimiter of CSV file

    Recording down-sampling rate

    <default>

    int

    This value can be specified to store only every N-th signal value. “<default>” means that the down-sampling rate is not specified and the vendor default is to be used.

    Recording start timeout âČs❳

    30

    int

    Maximum allowed duration until the tool has actually started the capture after manually starting a capture.

    Default recording acquisition rate

    ‘Tool-Default’

    string

    Recording acquisition rate to use as fallback, if no acquisition rate has been provided for the variable (”*” and “?” may be used as wildcards).

    “Tool-Default” uses the first available acquisition rate.

    Enforce default recording acquisition rate

    ☐

    bool

    The default recording acquisition rate is enforced for all quantities when recording.

    Model time refresh rate

    0

    float

    Defines the interval (in seconds) at which the model time should be queried for synchronization with the test case. Value 0 causes a query after each simulation step.

    Parameter files

    string

    A comma separated list of parameter files. The files will be transferred to the XIL server on start of configuration.

    Paths can be absolute or relative to the tool host base path.

    Adapt matrix layout

    ☐

    bool

    Convert matrices from row layout (XIL) to column layout (ecu.test). In contrast to ASAM XIL, which implements the row layout for storing matrices, ecu.test uses the column layout. If this option is set, matrices are adapted to the internally implemented column layout when they are read in and before they are used in ecu.test. As a result, matrices are displayed correctly and indexing is done consistently according to the scheme [column][row]. If this option is not set, the missing adaptation of the layout causes that one works with the transposed matrix (see e.g. display in report). Thus, indexing the transposed matrix according to the above scheme in ecu.test is equivalent to indexing the (non-transposed) original matrix using the scheme [row][column] from the tool’s point of view. An unset option corresponds to the former behavior. It is recommended to set this for new test cases.

    Jobs đŸ›ˆÂ¶

    DownloadParameterSets¶

    Loads a single or multiple parameter files to the XIL server.

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    parameterFilePaths

    string

    A comma separated list of parameter files.

    ExecuteTargetScript¶

    Loads a target script to the target system and executes it. The execution time is limited by the tool’s setting “Timeout for tool call”.

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    inputParameters

    {}

    object

    Input parameters for Target Script as dictionary {“parameterName”: “parameterValue”}. Only primitive data types are supported.

    outputParameterNames

    []

    object

    List of output parameters to be returned. These are read from the target script after execution. To be entered as a list of strings. Only primitive data types are supported.

    targetScriptPath

    uri

    Absolute or relative path to target script on this machine. Relative paths are resolved relative to the workspace directory.

    Return value

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    result

    object

    Values of output parameters as dictionary {“outputParameter”: “valueAfterExecution”}. The target script parameters to be returned need to be specified before execution with the respective job parameter.

    GetAllStimulations¶

    Get list of initialized stimuli files

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    RunningOnly

    False

    [False, True]

    bool

    Return only active (running and paused) Stimuli.

    Return value

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    return

    object

    List of active stimulation files

    GetConfigState¶

    Returns the current status of the specified configuration parameter. The parameter must be given as a complete path.

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    configParam

    string

    Path of the configuration parameter within the configuration file of the port, e.g. “sample.path.value”.

    Return value

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    return

    string

    Value of the configuration parameter

    GetRecordingFilesStates¶

    Get dictionary containing all recording files and their corresponding recording state

    Parameterization

    Return value

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    return

    object

    Dictionary containing file names and corresponding state (“activated”,”configured”, “running” or “finished”)

    GetSimulationState¶

    Get status of simulation

    Parameterization

    Return value

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    return

    string

    “disconnected”, “running”, “paused”, “stopped”, “not initialized” or “unknown: <MAPortState>”. The state “paused” is available since XiL-version 2.1.

    GetSimulationTime¶

    Request simulation time

    GetStimulationState¶

    GetStatus of stimulation

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    InstanceIdentifier

    string

    Instance identifier of the stimulus of which to query the state.

    Return value

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    return

    string

    “configuration”, “ready”, “running”, “paused”, “finished”, “stopped”, “not started” or “unkown: <SignalGeneratorState>”

    PauseSimulation¶

    Pauses the simulation and sets the state to “paused”.

    PauseStimulation¶

    Pause stimulation

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    InstanceIdentifier

    string

    Instance identifier of the stimulus that is to be paused.

    ResumeStimulation¶

    Resume paused stimulation

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    InstanceIdentifier

    string

    Instance identifier of the stimulus that is to be resumed.

    StartSimulation¶

    Starts the simulation. If the connection is operated in SiL mode, the port state is set to “paused”. In HiL mode, the state “running” is established directly.

    StopSimulation¶

    Ends the simulation and sets the state to “stopped”.

    TriggerClientEvent¶

    Inserts an event into all running recordings of the port.

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    description

    string

    Description of the event (freely selectable).

    eventId

    0

    int

    ID of the event (freely selectable). Range of valid values: 0-18446744073709551615.

    2025-12-05
    Previous
    Speedgoat: SimulinkRealTimeXIL
    Next
    Port APPLICATION - DEFAULT 🛈
    © Copyright 2025, tracetronic GmbH.
    Created using Sphinx 8.2.3. and Sphinx-Immaterial
    Logo of tracetronic GmbH
    legal notice privacy policy