07-26-2014 10:47 AM
If the instrument is brand new, that is all the more reason to do it right. Over the lifetime of the instrument many changes will probably be made and any little bugs left behind in the early stages because "it works well enough for now" may become major disruptions later.
The real key to serial communication is to have a robust and well documented communication protocol. The only thing standardized about RS-232 is the voltages and the framing. A well designed communication protocol can run very reliably without the kinds of errors you are seeing and without the need for delays.
Do you have a communications protocol document?
Lynn
07-26-2014 11:02 AM
@johnsold wrote:
If the instrument is brand new, that is all the more reason to do it right. Over the lifetime of the instrument many changes will probably be made and any little bugs left behind in the early stages because "it works well enough for now" may become major disruptions later.
The real key to serial communication is to have a robust and well documented communication protocol. The only thing standardized about RS-232 is the voltages and the framing. A well designed communication protocol can run very reliably without the kinds of errors you are seeing and without the need for delays.
Do you have a communications protocol document?
Lynn
I hadn't considered that this is a brand new instrument. You're right - this may be the ONLY chance to get it right and not doing so now will only lead to heartache down the road.
07-26-2014 11:04 AM