Category: Qtvcp
What do you mean by "you could just set the paramEdit directly " ?
STATUS.cmd.wait_complete() doesn't solve my problem.
I tried (in a button_click callback) :
ACTION.CALL_MDI("M68 E4 Q#1217")
while not STATUS.cmd.wait_complete():
time.sleep(0.1)
self.w.doubleSpinBox_DJG.setValue(self.w.lcdnumberDJ.value())
and I have to click twice to see lcdnumberDJ updated
So I try
ACTION.CALL_MDI("M68 E4 Q#1217")
time.sleep(2)
self.w.doubleSpinBox_DJG.setValue(self.w.lcdnumberDJ.value())
I watch motion.analog-out-04 in halshow at the same time, I see it changing immediatly when I click and then lcdnumberDJ appearing 2s later but without being updated. I click a second time and it works.
Do you know why ? I surely need to call some process_message like function between .. ?