12 lines
287 B
Python
12 lines
287 B
Python
test_bg_scan_state.assertReady()
|
|
test_bg_scan_state = State.Busy
|
|
test_bg_scan_result = None
|
|
|
|
try:
|
|
r1 = lscan(ao1, (ai1,av1,wf1), 0, 40, 100, 0.05)
|
|
test_bg_scan_result = "Ok"
|
|
except:
|
|
test_bg_scan_result = str(sys.exc_info()[1])
|
|
finally:
|
|
test_bg_scan_state = State.Ready
|