ComChannel

class mtf.libs.mtf_pybinder.ComChannel

Com channel class

__init__(*args, **kwargs)
__new__(**kwargs)
get_all_frames(self: mtf.libs.mtf_pybinder.ComChannel) list[mtf.libs.mtf_pybinder.ComFrame]

Retrieve all frame instances.

get_frame_by_id(self: mtf.libs.mtf_pybinder.ComChannel, id: int) mtf.libs.mtf_pybinder.ComFrame

Retrieve a frame instance by identifier.

get_frames_by_frame_name(self: mtf.libs.mtf_pybinder.ComChannel, frame_name: str) list[mtf.libs.mtf_pybinder.ComFrame]

Retrieve a list of frame instances by name.

property short_name

Retrieve the channel short name.

start_frames(self: mtf.libs.mtf_pybinder.ComChannel, frame_ids: set[int]) bool

Start transmission for all frames with the specified IDs. Returns True if transmission started successfully for all frames, False otherwise.

stop_frames(self: mtf.libs.mtf_pybinder.ComChannel, frame_ids: set[int]) bool

Stop transmission for all frames with the specified IDs. Returns True if transmission stopped successfully for all frames, False otherwise.