ChannelPlpFlexRay
Summary
Represents a PLP (Probe logging protocol) FlexRay Channel Adapter.
See also
- 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.
- encode(message: MessageFlexray, request_counter: int64 = 0) Array[uint8]
Returns the encoded FlexRay message as a byte array.
- Parameters
message (
MessageFlexray
) – the encoded FlexRay messagerequest_counter (
int64
) – request counter
- Returns
the encoded FlexRay message as a byte array
- Return type
- 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
- Returns
The record handler responsible for recording.
- Return type
- 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