LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I have multiple read and write serial ports in series, but whenever I write to one, another one reads it.

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

Message 11 of 13
(330 Views)

@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.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 12 of 13
(325 Views)
Yes, imagine the frustration if a problem arises when an actual experiment is going to be run.
0 Kudos
Message 13 of 13
(323 Views)