09-01-2020 02:01 AM
09-01-2020 09:38 AM
@Alexis_Koul wrote:
Dear GerdW,
Good news. I fixed the problem. What I changed was the Serial.begin and baud rate to 115200 instead of 9600 and apparently is working.
Thanks again,
Alex
Still, transmitting at maximum speed with no control over the rate is not a good idea, it could fill the transmit buffer and the actual data being transmitted over the wire would begin to lag behind the input to your VI. You really need to control the transmit rate to avoid saturating the link. At 115,200 bps, since your message is only a single byte, you could theoretically send it at most 11,520 times per second without buffering. Do you need it to update at a certain rate? How about once per millisecond, would 1000 Hz be frequent enough?
09-02-2020 11:59 PM - edited 09-03-2020 12:02 AM
Hello,
Thank you very much for your feedback. When I had it 9600, it was not working properly. So the 1000 Hz might not be enough. I changed to 80000 bps and is still working fine. Am I allow to do that?
I got your point, and I agree. Please if you can explain me more would be great.
Regards,
Alex