mtf_burst

class mtf.libs.mtf_pybinder.mtf_burst

Interface to configure and transmit frame bursts

__init__(self: mtf.libs.mtf_pybinder.mtf_burst) None
__new__(**kwargs)
cancel_async(self: mtf.libs.mtf_pybinder.mtf_burst) None

Cancel all asynchronous bursts

clear(self: mtf.libs.mtf_pybinder.mtf_burst) None

Remove all burst configurations

configure_can_frame_callback(self: mtf.libs.mtf_pybinder.mtf_burst, duration_ms: int, frequency: int, channel_list: list[str], stop_on_error: bool, callback: Callable[[], Optional[mtf::core::load_module::CanFrame]], extra_parameters: mtf.libs.mtf_pybinder.ExtraBurstParameters = <mtf.libs.mtf_pybinder.ExtraBurstParameters object at 0x0000020870750D30>) int

Configure burst based on a callback to provide frames

configure_eth_frame_callback(self: mtf.libs.mtf_pybinder.mtf_burst, duration_ms: int, frequency: int, channel_list: list[str], stop_on_error: bool, callback: Callable[[], Optional[mtf::core::load_module::EthernetFrame]], extra_parameters: mtf.libs.mtf_pybinder.ExtraBurstParameters = <mtf.libs.mtf_pybinder.ExtraBurstParameters object at 0x0000020873BBAE70>) int

Configure burst based on a callback to provide frames

configure_flx_frame_callback(self: mtf.libs.mtf_pybinder.mtf_burst, duration_ms: int, frequency: int, channel_list: list[str], stop_on_error: bool, callback: Callable[[], Optional[mtf::core::load_module::FlexrayFrame]], extra_parameters: mtf.libs.mtf_pybinder.ExtraBurstParameters = <mtf.libs.mtf_pybinder.ExtraBurstParameters object at 0x0000020873B36C30>) int

Configure burst based on a callback to provide frames

configure_frame_list(self: mtf.libs.mtf_pybinder.mtf_burst, duration_ms: int, frequency: int, channel_list: list[str], stop_on_error: bool, frames: Union[list[mtf::core::load_module::CanFrame], list[mtf::core::load_module::FlexrayFrame], list[mtf::core::load_module::EthernetFrame]], iterations: int = -1, extra_parameters: mtf.libs.mtf_pybinder.ExtraBurstParameters = <mtf.libs.mtf_pybinder.ExtraBurstParameters object at 0x0000020873BBACB0>) int

Configure burst based on a list of frames

frame_prefetching(self: mtf.libs.mtf_pybinder.mtf_burst, on_off: bool) None

Enable/disable frame prefetching

remove(self: mtf.libs.mtf_pybinder.mtf_burst, handle: int) None

Remove the given burst configuration

transmit(self: mtf.libs.mtf_pybinder.mtf_burst) None

Start sending all configured bursts

transmit_async(self: mtf.libs.mtf_pybinder.mtf_burst) None

Start sending all configured bursts asynchronously

update_eth_injection_method(self: mtf.libs.mtf_pybinder.mtf_burst, channel_name: str, injection_method: mtf::core::EthernetInjectionMethod) bool
wait_until_finished(self: mtf.libs.mtf_pybinder.mtf_burst) None

Wait and block until all asynchronous bursts have finished