增加复位时daq断电重启

This commit is contained in:
WIN-20230613SRA\Administrator
2026-07-09 10:05:21 +08:00
parent 3c92f6c285
commit 058f35f0c7
2 changed files with 8 additions and 0 deletions
+2
View File
@@ -460,9 +460,11 @@ def scanner_loop():
daq_set_sample(False)
motor_speed_set(0)
loop_wait(200)
daq_set_power(False)
move_to_bottom(5000)
loop_wait(200)
move_to_origin()
daq_set_power(True)
motor_state = ScannerState.STOP_AT_ORIGIN
print('back to origin')
reset_flag = False