ulfsri/pyGascard

Repeated code looping

Closed this issue ยท 1 comments

๐Ÿš€ Feature Request

It seems like a lot of the functions will repeatedly call a command until it returns in the right mode. I'm guessing this is an issue because the Gascard continually outputs and it will grab before it switches. Perhaps we could use the flush function in the comm.py or something else to clear it before grabbing?

๐Ÿ”ˆ Motivation

Don't have to keep recalling function until we get the return we expect.

๐Ÿ›ฐ Alternatives

๐Ÿ“Ž Additional context

image