|
|
@ -589,11 +589,15 @@ int32_t PipetteModule::do_pipette_shake_up(int32_t ul, int32_t zmotor_v, int32_t |
|
|
|
return err::kpipette_error_pump_load_val_is_not_empty; |
|
|
|
} |
|
|
|
|
|
|
|
if (ul > m_config.limit_ul) { |
|
|
|
return err::kparam_out_of_range; |
|
|
|
} |
|
|
|
|
|
|
|
m_thread.stop(); |
|
|
|
creg.module_status = 1; |
|
|
|
m_thread.start( |
|
|
|
|
|
|
|
[this, ul, zmotor_v,times]() { //
|
|
|
|
[this, ul, zmotor_v, times]() { //
|
|
|
|
auto submotor = m_zmotor->getMotor(); |
|
|
|
pipette_enable_zmotor(1); |
|
|
|
DO_IN_THREAD(befor_run()); |
|
|
@ -601,7 +605,7 @@ int32_t PipetteModule::do_pipette_shake_up(int32_t ul, int32_t zmotor_v, int32_t |
|
|
|
|
|
|
|
int32_t startpos = 0; |
|
|
|
int32_t endpos = 0; |
|
|
|
int32_t dotimes = 0; |
|
|
|
int32_t dotimes = 0; |
|
|
|
|
|
|
|
// 吸液
|
|
|
|
startpos = submotor->getXACTUAL(); |
|
|
|