forked from M-Labs/artiq
1
0
Fork 0

test_moninj: set loop_out as output

This commit is contained in:
Sebastien Bourdeauducq 2020-07-19 17:59:43 +08:00
parent 8510bf4e55
commit 553a49e194
1 changed files with 1 additions and 0 deletions

View File

@ -38,6 +38,7 @@ class MonInjTest(ExperimentCase):
moninj_comm.monitor_injection(True, loop_out_channel, TTLOverride.level.en.value) moninj_comm.monitor_injection(True, loop_out_channel, TTLOverride.level.en.value)
loop.run_until_complete(asyncio.sleep(0.5)) loop.run_until_complete(asyncio.sleep(0.5))
moninj_comm.inject(loop_out_channel, TTLOverride.level.value, 0) moninj_comm.inject(loop_out_channel, TTLOverride.level.value, 0)
moninj_comm.inject(loop_out_channel, TTLOverride.level.oe.value, 1)
moninj_comm.inject(loop_out_channel, TTLOverride.level.en.value, 1) moninj_comm.inject(loop_out_channel, TTLOverride.level.en.value, 1)
loop.run_until_complete(asyncio.sleep(0.5)) loop.run_until_complete(asyncio.sleep(0.5))
moninj_comm.get_injection_status(loop_out_channel, TTLOverride.en.value) moninj_comm.get_injection_status(loop_out_channel, TTLOverride.en.value)