TV test procedures #89

Merged
muellerr merged 22 commits from kranz/master into develop 2022-05-25 15:01:10 +02:00
Showing only changes of commit 55a6e98850 - Show all commits

View File

@ -579,7 +579,7 @@ def activate_mgts_alternately(
duration=30000, duration=30000,
) )
tc_queue.appendleft(command.pack_command_tuple()) tc_queue.appendleft(command.pack_command_tuple())
tc_queue.appendleft((QueueCommands.WAIT, 10.0)) tc_queue.appendleft((QueueCommands.WAIT, 40.0))
command = pack_dipole_command( command = pack_dipole_command(
object_id=oids.IMTQ_HANDLER_ID, object_id=oids.IMTQ_HANDLER_ID,
@ -589,7 +589,7 @@ def activate_mgts_alternately(
duration=30000, duration=30000,
) )
tc_queue.appendleft(command.pack_command_tuple()) tc_queue.appendleft(command.pack_command_tuple())
tc_queue.appendleft((QueueCommands.WAIT, 10.0)) tc_queue.appendleft((QueueCommands.WAIT, 40.0))
command = pack_dipole_command( command = pack_dipole_command(
object_id=oids.IMTQ_HANDLER_ID, object_id=oids.IMTQ_HANDLER_ID,
@ -599,7 +599,7 @@ def activate_mgts_alternately(
duration=30000, duration=30000,
) )
tc_queue.appendleft(command.pack_command_tuple()) tc_queue.appendleft(command.pack_command_tuple())
tc_queue.appendleft((QueueCommands.WAIT, 10.0)) tc_queue.appendleft((QueueCommands.WAIT, 40.0))
command = pack_dipole_command( command = pack_dipole_command(
object_id=oids.IMTQ_HANDLER_ID, object_id=oids.IMTQ_HANDLER_ID,
@ -609,7 +609,7 @@ def activate_mgts_alternately(
duration=30000, duration=30000,
) )
tc_queue.appendleft(command.pack_command_tuple()) tc_queue.appendleft(command.pack_command_tuple())
tc_queue.appendleft((QueueCommands.WAIT, 10.0)) tc_queue.appendleft((QueueCommands.WAIT, 40.0))
command = pack_dipole_command( command = pack_dipole_command(
object_id=oids.IMTQ_HANDLER_ID, object_id=oids.IMTQ_HANDLER_ID,
@ -619,7 +619,7 @@ def activate_mgts_alternately(
duration=30000, duration=30000,
) )
tc_queue.appendleft(command.pack_command_tuple()) tc_queue.appendleft(command.pack_command_tuple())
tc_queue.appendleft((QueueCommands.WAIT, 10.0)) tc_queue.appendleft((QueueCommands.WAIT, 40.0))
command = pack_dipole_command( command = pack_dipole_command(
object_id=oids.IMTQ_HANDLER_ID, object_id=oids.IMTQ_HANDLER_ID,
@ -629,7 +629,7 @@ def activate_mgts_alternately(
duration=30000, duration=30000,
) )
tc_queue.appendleft(command.pack_command_tuple()) tc_queue.appendleft(command.pack_command_tuple())
tc_queue.appendleft((QueueCommands.WAIT, 10.0)) tc_queue.appendleft((QueueCommands.WAIT, 40.0))
def activate_one_rw_in_sequence( def activate_one_rw_in_sequence(
@ -706,13 +706,13 @@ def activate_two_rws_in_sequence(tc_queue: TcQueueT):
tc_queue.appendleft((QueueCommands.WAIT, 5.0)) tc_queue.appendleft((QueueCommands.WAIT, 5.0))
command = pack_set_speed_command( command = pack_set_speed_command(
object_id=oids.RW1_ID, object_id=oids.RW1_ID,
speed=20000, speed=-20000,
ramp_time=10000, ramp_time=10000,
) )
tc_queue.appendleft(command.pack_command_tuple()) tc_queue.appendleft(command.pack_command_tuple())
command = pack_set_speed_command( command = pack_set_speed_command(
object_id=oids.RW3_ID, object_id=oids.RW3_ID,
speed=20000, speed=-20000,
ramp_time=10000, ramp_time=10000,
) )
tc_queue.appendleft(command.pack_command_tuple()) tc_queue.appendleft(command.pack_command_tuple())
@ -733,13 +733,13 @@ def activate_two_rws_in_sequence(tc_queue: TcQueueT):
# RW2+4 speed cmd # RW2+4 speed cmd
command = pack_set_speed_command( command = pack_set_speed_command(
object_id=oids.RW2_ID, object_id=oids.RW2_ID,
speed=20000, speed=-20000,
ramp_time=10000, ramp_time=10000,
) )
tc_queue.appendleft(command.pack_command_tuple()) tc_queue.appendleft(command.pack_command_tuple())
command = pack_set_speed_command( command = pack_set_speed_command(
object_id=oids.RW4_ID, object_id=oids.RW4_ID,
speed=20000, speed=-20000,
ramp_time=10000, ramp_time=10000,
) )
tc_queue.appendleft(command.pack_command_tuple()) tc_queue.appendleft(command.pack_command_tuple())