ChannelPlpFlexRay

Summary

Represents a PLP (Probe logging protocol) FlexRay Channel Adapter.

See also

ChannelPlp

Methods
Properties

Structure

class ChannelPlpFlexRay
clear_slots()

Send a UDP message to remove key slot configuration and all the configured Tx buffers.

configure_slot(slot_id: uint16, startup: bool = False, sync: bool = False, leading: bool = False)

Sends a UDP message to configure the key slot id.

Parameters
  • slot_id (uint16) – The slot ID

  • startup (bool) – Enables node startup

  • sync (bool) – Indicates that the node will run in synchronous mode

  • leading (bool) – Indicates running as a leading node

encode(message: MessageFlexray, request_counter: int64 = 0) Array[uint8]

Returns the encoded FlexRay message as a byte array.

Parameters
  • message (MessageFlexray) – the encoded FlexRay message

  • request_counter (int64) – request counter

Returns

the encoded FlexRay message as a byte array

Return type

Array[uint8]

start_node(wakeup: bool = False)

Sends a UDP message to start the node

Parameters

wakeup (bool) – Indicates waking up the node

start_record(file: str, filter: Filter = None) IRecordHandler

Starts recording the traffic on the adapter to an output file.

Parameters
  • file (str) – The file to record into.

  • filter (Filter) – Filter to use to narrow down packets to capture

Returns

The record handler responsible for recording.

Return type

IRecordHandler

stop_node(abort: bool = False)

Sends a UDP message to stop the node

Parameters

abort (bool) – Indicates aborting current communication

stop_record()

stops capturing transmission

cluster_name

The name of the cluster that is mapped to the channel.

Type

str

name

The channel name. This Property is Read Only.

Type

str