LegacyPdu
- class mtf.libs.mtf_pybinder.LegacyPdu
- __init__(*args, **kwargs)
- __new__(**kwargs)
- apply_faulty_corrupt_crc(self: mtf.libs.mtf_pybinder.LegacyPdu, on_off: bool) bool
Apply Fault Corrupt Crc for specific pdu
- apply_faulty_corrupt_data_id_nibble(self: mtf.libs.mtf_pybinder.LegacyPdu, on_off: bool) bool
Apply Fault Corrupt Data Id Nibble
- apply_faulty_halt_alive_counter(self: mtf.libs.mtf_pybinder.LegacyPdu, on_off: bool) bool
Apply Fault Halt Alive Counter
- disable_event_controlled_sending(self: mtf.libs.mtf_pybinder.LegacyPdu, on_off: bool) None
Disable event-controlled sending for this PDU.
- property full_path
Get pdu path
- get_all_cyclic_timings(self: mtf.libs.mtf_pybinder.LegacyPdu) list[mtf::com::network::signal_based::CyclicTiming]
Get all cyclic timings
- get_frame(self: mtf.libs.mtf_pybinder.LegacyPdu) mtf::pybinder::LegacyFrame
Get frame instance
- static get_instance(channel_name: str, frame_id: int | str | mtf.libs.mtf_pybinder.FrFrameIdParts, pdu_name: str) mtf.libs.mtf_pybinder.LegacyPdu
Get a pdu instance
- get_last_value(self: mtf.libs.mtf_pybinder.LegacyPdu) list[int]
Get last received value
- get_signal_by_name(self: mtf.libs.mtf_pybinder.LegacyPdu, signal_name: str) mtf.libs.mtf_pybinder.LegacySignal
Get Signal instance by name
- get_signals(self: mtf.libs.mtf_pybinder.LegacyPdu) list[mtf.libs.mtf_pybinder.LegacySignal]
Get all Signal instances contained in the PDU
- property name
Get pdu name
- set_pdu_bits_value(self: mtf.libs.mtf_pybinder.LegacyPdu, signal_value: int | list[int], start_bit: int, nb_bits: int, bit_order: int, update_and_send: bool = True) bool
Set pdu bits raw value
- transmit(self: mtf.libs.mtf_pybinder.LegacyPdu, payload: list[int], force: bool) bool
- “Transmit the Pdu with the given payload.
set force to True in order to force the transmission i.e ignore triggering conditions