Skip to content
logo
ecu.test 2025.3 Help
Port NULL - MessageBased 🛈
  • 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
        • Ports
          • Port NULL - MessageBased 🛈
            • Stimulation
            • Properties 🛈
            • Jobs 🛈
              • Ask
              • Configure
              • Read
              • ReadRaw
              • Write
              • WriteRaw
      • 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
      • 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 🛈
      • Ask
      • Configure
      • Read
      • ReadRaw
      • Write
      • WriteRaw

    Port NULL - MessageBased 🛈¶

    Stimulation¶

    This port has no stimulus capabilities.

    Properties 🛈¶

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    Device name

    string

    Name of device to be used

    Termination character

    string

    Character specifying the end of a message as a double-digit hex number.

    Notation should be “0x..”.

    Default values are:

    0x0A for line-feed and

    0x0D für carriage-return.

    If this property is empty the device’s default character will be used.

    Timeout

    5000

    int

    Maximum duration of an operation in ms

    Chunk size

    20480

    int

    Maximum size of data to be transferred

    Baud rate

    9600

    [50, 75, 110, 134, 150, 200, 300, 600, 1200, 1800, 2400, 4800, 9600, 14400, 19200, 38400, 57600, 115200, 230400, 460800, 500000, 576000, 921600, 1000000, 1152000, 1500000, 2000000, 2500000, 3000000, 3500000, 4000000]

    int

    Connunication speed (serial devices only)

    Jobs 🛈¶

    Ask¶

    Combined Write and Read

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    big_endian

    False

    [False, True]

    bool

    Data is in big endian format

    datatype

    ‘float4’

    [‘float4’, ‘float8’, ‘int8’, ‘int16’, ‘int32’, ‘int64’, ‘uint8’, ‘uint16’, ‘uint32’, ‘uint64’]

    string

    Data type (only for ieee or binary)

    decode

    ‘none’

    [‘none’, ‘ascii_string’, ‘ascii_decimal’, ‘ascii_hex’, ‘ascii_octal’, ‘ascii_float’, ‘ieee’, ‘binary’]

    string

    Decoding to apply

    header_size

    0

    int

    Length of the header to skip in bytes (only for ieee and binary)

    instruction

    string

    Command which will be transferred to device

    separator

    ‘,’

    string

    Separator character (only for ascii_*)

    Return value

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    result

    string

    Configure¶

    Changes a setting on a device (cf. https://pyvisa.readthedocs.org/en/stable/api/resources.html entries without parentheses)

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    settingName

    string

    Name of the setting to be changed on the device, e.g. encoding or read_termination

    settingValue

    object

    Value of the setting to be changed on the device

    Return value

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    result

    string

    Read¶

    Receives a string from the device and optionally decodes it.

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    big_endian

    False

    [False, True]

    bool

    Data is in big endian format

    datatype

    ‘float4’

    [‘float4’, ‘float8’, ‘int8’, ‘int16’, ‘int32’, ‘int64’, ‘uint8’, ‘uint16’, ‘uint32’, ‘uint64’]

    string

    Data type (only for ieee or binary)

    decode

    ‘none’

    [‘none’, ‘ascii_string’, ‘ascii_decimal’, ‘ascii_hex’, ‘ascii_octal’, ‘ascii_float’, ‘ieee’, ‘binary’]

    string

    Decoding to apply

    header_size

    0

    int

    Length of the header to skip in bytes (only for ieee and binary)

    separator

    ‘,’

    string

    Separator character (only for ascii_*)

    Return value

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    result

    string

    ReadRaw¶

    Read the specified number of bytes from the device and optionally decode the message. No waiting for or removing of termination characters.

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    big_endian

    False

    [False, True]

    bool

    Data is in big endian format

    datatype

    ‘float4’

    [‘float4’, ‘float8’, ‘int8’, ‘int16’, ‘int32’, ‘int64’, ‘uint8’, ‘uint16’, ‘uint32’, ‘uint64’]

    string

    Data type (only for ieee or binary)

    decode

    ‘none’

    [‘none’, ‘ascii_string’, ‘ascii_decimal’, ‘ascii_hex’, ‘ascii_octal’, ‘ascii_float’, ‘ieee’, ‘binary’]

    string

    Decoding to apply

    header_size

    0

    int

    Length of the header to skip in bytes (only for ieee and binary)

    separator

    ‘,’

    string

    Separator character (only for ascii_*)

    size

    int

    Number of bytes to read

    Return value

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    result

    ByteStream

    data read (as ByteStream)

    Write¶

    Sends a string to the device

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    instruction

    string

    Command which will be transferred to device

    Return value

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    result

    int

    Number of written bytes

    WriteRaw¶

    Sends a string to the device. No pre-treatment (cutting off termination characters etc.)

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    instruction

    ByteStream

    Command which will be transferred to device

    Return value

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    result

    int

    Number of written bytes

    2025-12-05
    Previous
    NI: VISA
    Next
    Opal-RT: RT-LAB
    © Copyright 2025, tracetronic GmbH.
    Created using Sphinx 8.2.3. and Sphinx-Immaterial
    Logo of tracetronic GmbH
    legal notice privacy policy