Skip to content
logo
ecu.test 2025.3 Help
Port BUSACCESS - CAN ๐Ÿ›ˆ
  • 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
      • 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
        • Ports
          • Port SERVICEACCESS - SERVICE-PASSIVE ๐Ÿ›ˆ
          • Port SERVICEACCESS - SERVICE ๐Ÿ›ˆ
          • Port SERVICEACCESS - TCP-CLIENT-SOCKET ๐Ÿ›ˆ
          • Port SERVICEACCESS - TCP-SERVER-SOCKET ๐Ÿ›ˆ
          • Port SERVICEACCESS - TLS ๐Ÿ›ˆ
          • Port SERVICEACCESS - UDP-SOCKET ๐Ÿ›ˆ
          • Port SERVICEACCESS - ARP ๐Ÿ›ˆ
          • Port BUSACCESS - CAN ๐Ÿ›ˆ
            • Stimulation
            • Properties ๐Ÿ›ˆ
            • Jobs ๐Ÿ›ˆ
              • ClearFrame
              • CloseIsoTpSession
              • DeregisterFrameForInbox
              • DeregisterStreamForInbox
              • DisableSendFrameCyclic
              • GetFirstValue
              • GetLastReceptionTimestamp
              • InitFrame
              • OpenIsoTpSession
              • ReadFrame
              • ReadFrameEx
              • RegisterFrameForInbox
              • RegisterStreamForInbox
              • ResetFirstValue
              • SendFrame
              • SendFrameCyclic
              • SendStream
              • SetFlowControlCTS
              • SetFlowControlWait
              • StartTimeSyncMaster
              • StopTimeSyncMaster
              • UpdateTimeSyncMaster
          • Port BUSACCESS - CAN-FD ๐Ÿ›ˆ
          • Port DIAGNOSTICS - CAN-FD ๐Ÿ›ˆ
          • Port DIAGNOSTICS - CAN-FD_TOLERANT ๐Ÿ›ˆ
          • Port DIAGNOSTICS - CAN ๐Ÿ›ˆ
          • Port ELECTRICERRORSIM - CANWAY ๐Ÿ›ˆ
          • Port LOGGING - DLT-VERBOSE ๐Ÿ›ˆ
          • Port SERVICEACCESS - ETHERNET-RAW ๐Ÿ›ˆ
          • Port BUSACCESS - FLX ๐Ÿ›ˆ
          • Port DIAGNOSTICS - FLX ๐Ÿ›ˆ
          • Port SERVICEACCESS - ICMP-RAW ๐Ÿ›ˆ
          • Port SERVICEACCESS - IPSEC ๐Ÿ›ˆ
          • Port BUSACCESS - LIN ๐Ÿ›ˆ
          • Port SERVICEACCESS - MACSEC ๐Ÿ›ˆ
          • Port MODELACCESS - DEFAULT ๐Ÿ›ˆ
          • Port SERVICEACCESS - RECORDING-PCAP ๐Ÿ›ˆ
          • Port BUSACCESS - SOCKETADAPTOR ๐Ÿ›ˆ
          • Port SERVICEACCESS - UDP-RAW ๐Ÿ›ˆ
          • Port DIAGNOSTICS - DOIP ๐Ÿ›ˆ
          • Port DIAGNOSTICS - J1939 ๐Ÿ›ˆ
          • Port DIAGNOSTICS - KWP2000-CAN ๐Ÿ›ˆ
          • Port DIAGNOSTICS - DOSOAD ๐Ÿ›ˆ
          • Port APPLICATION - XCP-CAN-FD-TOLERANT ๐Ÿ›ˆ
          • Port APPLICATION - XCP-CAN-FD ๐Ÿ›ˆ
          • Port APPLICATION - XCP-CAN ๐Ÿ›ˆ
          • Port APPLICATION - XCP-ETH ๐Ÿ›ˆ
      • 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
    • Properties ๐Ÿ›ˆ
    • Jobs ๐Ÿ›ˆ
      • ClearFrame
      • CloseIsoTpSession
      • DeregisterFrameForInbox
      • DeregisterStreamForInbox
      • DisableSendFrameCyclic
      • GetFirstValue
      • GetLastReceptionTimestamp
      • InitFrame
      • OpenIsoTpSession
      • ReadFrame
      • ReadFrameEx
      • RegisterFrameForInbox
      • RegisterStreamForInbox
      • ResetFirstValue
      • SendFrame
      • SendFrameCyclic
      • SendStream
      • SetFlowControlCTS
      • SetFlowControlWait
      • StartTimeSyncMaster
      • StopTimeSyncMaster
      • UpdateTimeSyncMaster

    Port BUSACCESS - CAN ๐Ÿ›ˆยถ

    VECTOR-HW access to CAN

    Stimulationยถ

    This port supports all features described in Stimulation control.

    Properties ๐Ÿ›ˆยถ

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    Channel number

    โ€˜1โ€™

    string

    Selection of channel number if there is more than one controller of same type.

    Bit rate

    โ€˜500KBโ€™

    [โ€˜10KBโ€™, โ€˜20KBโ€™, โ€˜50KBโ€™, โ€˜83.333KBโ€™, โ€˜100KBโ€™, โ€˜125KBโ€™, โ€˜250KBโ€™, โ€˜500KBโ€™, โ€˜666.667KBโ€™, โ€˜800KBโ€™, โ€˜1000KBโ€™]

    string

    Bit rate

    Do not stop RBS

    โ˜

    bool

    Restbus simulation stays active beyond test case execution.

    Mode

    Standard

    [Standard, Extended, All]

    string

    Addressing mode (Standard = 11bit, Extended = 29bit)

    Listen only

    โ˜

    bool

    Controller is running in passive mode. Automatic ACK is disabled, and sending CAN frames is not possible.

    Receive error frames

    โ˜

    bool

    Receive error frames

    Trace format

    ASC

    [ASC, MDF4, PCAPNG]

    string

    Default file format for bus recordings. PCAPNG for bus is not supported by trace analysis

    Keep TimeMaster active

    โ˜

    bool

    DMCS-TimeMaster stays active after test cases have finished. Will be shutdown together with the configuration

    Bus-DB

    string

    Placeholder value for automatic E2E calculation

    int

    Whenever this value is specified for an E2E signal (e.g. CRC), upon transmission ecu.test automatically replaces it with the correct, calculated value. The purpose of this option is to allow transmission of arbitrary fixed values (unequal to the value chosen here). Leaving this option empty completely disables the feature.

    J1939 mode

    Mode: โ€˜Extendedโ€™

    โ˜

    bool

    Ignore the three most significant bits of the CAN-ID and J1939 source address. Extract signals from J1939-TP and ISOBus-ETP.

    Transmission confirmation

    โ˜

    bool

    Activates acknowledged sending. Bus-Write test steps and Send tool jobs block until the message was successfully transferred on the bus or the confirm timeout expired.

    Timeout for transmission confirmation

    1000

    int

    Period in miliseconds in which a message has to be sent successfully. Otherwise an error is created. (must not be larger than 64535ms). Is only used in active confirm mode.

    Jobs ๐Ÿ›ˆยถ

    ClearFrameยถ

    Erases the receiving buffer of given frame

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    FrameId

    int

    Frame ID

    isExtended

    None

    [False, True]

    bool

    Address format: True for 29 bit, False for 11 bit, None uses the setting โ€œModeโ€ from the test bench configuration

    Return value

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    result

    ByteStream

    ByteStream

    CloseIsoTpSessionยถ

    Closes the ISO TP session.

    Parameterization

    Return value

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    Return

    [False, True]

    bool

    Session successfully closed

    DeregisterFrameForInboxยถ

    Deregisters a frame that is streamed to the inbox

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    FrameId

    int

    Frame ID

    Inbox

    object

    Existing inbox

    isExtended

    None

    [False, True]

    bool

    Address format: True for 29 bit, False for 11 bit, None uses the setting โ€œModeโ€ from the test bench configuration

    DeregisterStreamForInboxยถ

    Deregisters an ISO TP session.

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    conId

    int

    Connection ID

    DisableSendFrameCyclicยถ

    Deactivate cyclic transmission of a message with given id

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    FrameId

    int

    Frame ID

    isExtended

    None

    [False, True]

    bool

    Address format: True for 29 bit, False for 11 bit, None uses the setting โ€œModeโ€ from the test bench configuration

    GetFirstValueยถ

    Returns the first value of the signal received since the test case started.

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    FrameName

    string

    Frame name

    NodeName

    string

    Name of the electronic control unit

    RawValue

    False

    [False, True]

    bool

    If โ€˜Trueโ€™, the Raw value is returned.

    Reset

    False

    [False, True]

    bool

    If โ€˜Trueโ€™ the first received value will be deleted after it has been read

    SignalName

    string

    Signal name

    GetLastReceptionTimestampยถ

    Get the last reception timestamp in seconds

    InitFrameยถ

    Registers the message ID for later use, e.g. ReadFrame

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    FrameId

    int

    Frame ID

    isExtended

    None

    [False, True]

    bool

    Address format: True for 29 bit, False for 11 bit, None uses the setting โ€œModeโ€ from the test bench configuration

    OpenIsoTpSessionยถ

    Opens an ISO TP session.

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    addressByte

    ByteStream

    Network target address or address extension (only relevant for extended or mixed addressing) - ByteStream of length 1

    addressMode

    0

    int

    Code of addressing mode - Integer (0: Standard Addressing | 1: Extended Addressing)

    blockSize

    0

    int

    Number (0 - 255) of consecutive frames that can be received without an intermediate flow control - Integer

    fillByte

    ByteStream

    Byte to fill messages (optional) - ByteStream of lenght 1

    flowControlAddressByte

    ByteStream

    Different network destination address or address extension for FlowControl (only relevant for extended and mixed addressing) - ByteStream of length 1

    flowControlId

    int

    Message ID for flow control messages (optional) - Hex (optional Integer)

    isExtended

    -1

    int

    Use Extended CAN-ID format? (1=yes / 29 Bits; 0=no / 11 Bits; -1 = Use setting from TBC)

    maxFrameLength

    0

    int

    Maximum length of a frame in bytes (applies to both start, consecutive and last frames); if this value is set to 0, the maximum value described in ISO 10681-2 is used - Integer

    requestId

    int

    Message ID for ECU requests - Hex (optional Integer)

    responseId

    int

    Message ID for ECU responses - Hex (optional Integer)

    separationTime

    0

    int

    Minimal time separation between successive fragments 0x00..0x7F => 0..127ms, 0x80..0xf0 => reserved, 0xf1..0xf9 => 100.900ยตs, 0xfa..0xff => reserved - Integer

    Return value

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    Return

    int

    Connection ID

    ReadFrameยถ

    Reads the given frame ID (use InitCanFrame before!)

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    doDelete

    False

    [False, True]

    bool

    Deletes the Frame after reading if โ€œTrueโ€

    FrameId

    int

    Frame ID

    isExtended

    None

    [False, True]

    bool

    Address format: True for 29 bit, False for 11 bit, None uses the setting โ€œModeโ€ from the test bench configuration

    Return value

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    result

    ByteStream

    ByteStream

    ReadFrameExยถ

    Reads the given frame ID (use InitCanFrame before!)

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    doDelete

    False

    [False, True]

    bool

    Deletes the Frame after reading if โ€œTrueโ€

    FrameId

    int

    Frame ID

    isExtended

    None

    [False, True]

    bool

    Address format: True for 29 bit, False for 11 bit, None uses the setting โ€œModeโ€ from the test bench configuration

    Return value

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    result

    object

    CanFrame

    RegisterFrameForInboxยถ

    Registers a frame to be streamed to an inbox.

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    FrameId

    int

    Frame ID

    Inbox

    object

    Existing inbox

    isExtended

    None

    [False, True]

    bool

    Address format: True for 29 bit, False for 11 bit, None uses the setting โ€œModeโ€ from the test bench configuration

    saveAsCanFrame

    False

    [False, True]

    bool

    If True, the frame is saved as a CanFrame object, else as a ByteStream

    RegisterStreamForInboxยถ

    Registers an ISO TP session to be streamed into an Inbox.

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    conId

    int

    Connection ID

    inbox

    object

    Existing inbox

    ResetFirstValueยถ

    Erases the first received value of the given signal

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    FrameName

    string

    Frame name

    NodeName

    string

    Name of the electronic control unit

    SignalName

    string

    Signal name

    SendFrameยถ

    Sends message with given ID and data. Message ID must be registered in advance via the job โ€œInitFrameโ€.

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    DataByteStream

    ByteStream

    data to be send

    FrameId

    int

    Frame ID

    isExtended

    None

    [False, True]

    bool

    Address format: True for 29 bit, False for 11 bit, None uses the setting โ€œModeโ€ from the test bench configuration

    SendFrameCyclicยถ

    Cyclic transmission of a message with given ID and data. Message ID must be registered in advance via the job โ€œInitFrameโ€.

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    Count

    int

    Number of sending repetitions

    DataByteStream

    ByteStream

    data to be send

    FrameId

    int

    Frame ID

    Interval

    int

    Cycle time in ms

    isExtended

    None

    [False, True]

    bool

    Address format: True for 29 bit, False for 11 bit, None uses the setting โ€œModeโ€ from the test bench configuration

    SendStreamยถ

    Send a data stream via ISO-TP.

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    conId

    int

    Connection ID

    data

    object

    Payload to be sent via ISO-TP

    timeout

    int

    Timeout for sending the message in milliseconds

    SetFlowControlCTSยถ

    Activates to always send a Flow Control โ€œContinueToSendโ€ message in response to a segmented request. Also new values can be assigned to the internal parameters BlockSize and SeparationTime.

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    BlockSize

    int

    Number (0 - 255) of consecutive frames that can be received without an intermediate flow control - Integer

    If None the most recent setting from the test configuration, the OpenDiagSession job or the previous SetFlowControlCTS call is kept.

    SeparationTime

    int

    Minimal time separation between successive fragments 0x00..0x7F => 0..127ms, 0x80..0xf0 => reserved, 0xf1..0xf9 => 100.900ยตs, 0xfa..0xff => reserved - Integer

    If None the most recent setting from the test configuration, the OpenDiagSession job or the previous SetFlowControlCTS call is kept.

    SessionId

    object

    Handle of the diagnostic session. This can be either the name of the SUT specified in the TCF, the handle returned by the OpenDiagSession job or None (can only be used if there is one SUT specified).

    SetFlowControlWaitยถ

    Activates to always send a Flow Control โ€œWaitโ€ messages in response to a segmented request. Note: While activated no segmented message can be received. Use the Job SetFlowControlCTS to reset this behaviour.

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    SessionId

    object

    Handle of the diagnostic session. This can be either the name of the SUT specified in the TCF, the handle returned by the OpenDiagSession job or None (can only be used if there is one SUT specified).

    WaitTimeInterval

    0

    int

    Wait time interval in ms. If set to 0, Flow Control โ€œWaitโ€ messages are only sent once, to respond to a segmented request. If set to a value greater than 0, Flow Control โ€œWaitโ€ messages will be sent periodically with the given interval in between.

    StartTimeSyncMasterยถ

    Starts timing synchronization as time master via CAN - only one time master should be active at any given time

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    FrameId

    int

    ID of the Sync and FollowUp frames

    FupDataId

    object

    Data IDs for FUP messages for identification during CRC calculation (list with 16 integers)

    FupDelay

    45000000

    int

    Delay in nanoseconds between a Sync and a FollowUp frame

    HwTimstampOffset

    0

    int

    Offset in nanoseconds (positive or negative) that gets added to hardware timestamps

    SequenceCounterFreeze

    False

    [False, True]

    bool

    Freeze the SequenceCounter

    SequenceCounterFupOffset

    0

    int

    SequenceCounter offset between Sync and Fup

    SequenceCounterInit

    0

    int

    Start value of SequenceCounter

    SyncDataId

    object

    Data IDs for SYNC messages for identification during CRC calculation (list with 16 integers)

    SyncInterval

    900000000

    int

    Interval in nanoseconds between two Sync frames

    TimeDomain

    int

    Specifies the time domain which should be synchronized

    UseExtFrameId

    None

    [False, True]

    bool

    Use Extended Frame IDs. With None, Extended Frame IDs are used if the mode is set to โ€˜Extendedโ€™or โ€˜Allโ€™ in the TBC.

    UserByte

    0x00

    int

    Optional byte of user data

    StopTimeSyncMasterยถ

    Stoppt die Zeitsynchronisation als TimeMaster รผber CAN

    UpdateTimeSyncMasterยถ

    Will update the parameters if the TimeMaster is running.

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    FrameId

    int

    ID of the Sync and FollowUp frames

    FupDataId

    object

    Data IDs for FUP messages for identification during CRC calculation (list with 16 integers)

    FupDelay

    45000000

    int

    Delay in nanoseconds between a Sync and a FollowUp frame

    HwTimstampOffset

    0

    int

    Offset in nanoseconds (positive or negative) that gets added to hardware timestamps

    SequenceCounterFreeze

    False

    [False, True]

    bool

    Freeze the SequenceCounter

    SequenceCounterFupOffset

    0

    int

    SequenceCounter offset between Sync and Fup

    SequenceCounterInit

    0

    int

    Start value of SequenceCounter

    SyncDataId

    object

    Data IDs for SYNC messages for identification during CRC calculation (list with 16 integers)

    SyncInterval

    900000000

    int

    Interval in nanoseconds between two Sync frames

    TimeDomain

    int

    Specifies the time domain which should be synchronized

    UseExtFrameId

    None

    [False, True]

    bool

    Use Extended Frame IDs. With None, Extended Frame IDs are used if the mode is set to โ€˜Extendedโ€™or โ€˜Allโ€™ in the TBC.

    UserByte

    0x00

    int

    Optional byte of user data

    2025-12-05
    Previous
    Port SERVICEACCESS - ARP ๐Ÿ›ˆ
    Next
    Port BUSACCESS - CAN-FD ๐Ÿ›ˆ
    © Copyright 2025, tracetronic GmbH.
    Created using Sphinx 8.2.3. and Sphinx-Immaterial
    Logo of tracetronic GmbH
    legal notice privacy policy