On Saturday, October 15, 2016 at 10:14:18 PM UTC-6, Michael Okuntsov wrote:
> Hello,
> is there a way, other than time.sleep(), to be sure that the command 
> sent through a serial port has been fully executed? I'm interested 
> specifically in SCPI commands in VA-meters such as Keithley and Tektronix.
> Thanks.

Looks like the out_waiting method on serial.Serial class is what you need. Or 
perhaps use the flush method, the doc seems to say it returns when the write 
completes.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to