Add delay before reading from serial port
It looks like some usb->serial converters require a tiny delay after the
first message is sent to the function generator, or they fail when the
script tries to block on incoming data. This CL adds in the easy fix of
a 100ms delay after a query message. This has virtually no impact since
on test times because we only send 1 query command to the function
generator, and all the other commands have no responses, so the total
time lost is 100ms in a ~10hour test, which is less than
inconsequential.
BUG=chromium:548801
TEST=I used the FW test on the effected machine with this patch and
everything worked smoothly.
Change-Id: I43d2cc2bf9b4892937ae4b0e72c8e3005f12f82a
Signed-off-by: Charlie Mooney <[email protected]>
Reviewed-on: https://chromium-review.googlesource.com/309511
Reviewed-by: Dennis Kempin <[email protected]>
1 file changed