This commit is contained in:
Markus Kranz 2022-05-23 16:42:27 +02:00
parent bcaac870c1
commit 181e6d62ad

View File

@ -297,6 +297,26 @@ def pack_proc_commands(tc_queue: TcQueueT, op_code: str):
# mgt 1: imtq und hk # mgt 1: imtq und hk
# mgt 2.: imtq + dual side + dipole # mgt 2.: imtq + dual side + dipole
if op_code in OpCodes.MGT_FT_DP:
key = KAI.MGT_FT[0]
pack_acs_command(tc_queue=tc_queue, op_code="acs-a")
sid = make_sid(oids.IMTQ_HANDLER_ID, ImtqSetIds.ENG_HK_SET)
pack_generic_hk_listening_cmds(
tc_queue=tc_queue, proc_key=key, sid=sid, diag=False
)
sid = make_sid(oids.IMTQ_HANDLER_ID, ImtqSetIds.CAL_MTM_SET)
pack_generic_hk_listening_cmds(
tc_queue=tc_queue, proc_key=key, sid=sid, diag=False
)
sid = make_sid(oids.IMTQ_HANDLER_ID, ImtqSetIds.RAW_MTM_SET)
pack_generic_hk_listening_cmds(
tc_queue=tc_queue, proc_key=key, sid=sid, diag=False
)
pack_acs_command(tc_queue=tc_queue, op_code="acs-off")
def listen_to_hk_for_x_seconds( def listen_to_hk_for_x_seconds(