01-17-2021 09:10 AM
You've got several issues.
Your have an outer while loop that serves no purpose as it duplicates the inner while loop.
You are configuring the serial port over and over again every iteration. That should be done once when the program starts.
Do you ever need to read and responses from the serial port?
Labels should always be shown with the terminals on the block diagram. You can hide them on the front panel if needed.
Sit down with a piece of paper and write out what steps you want your program to do.
Here is a cleaner version of the same code.
01-17-2021 09:45 AM
Thank you so much,
I don't think I would ever make it.
Yes, this is my next problem, reading different variables on the serial port at the same time!
That is, I want to send and receive variables at the same time.
01-17-2021 09:58 AM
It seems like you have very little experience with serial communication concepts.
I suggest you look at Crossrulz' VIweek presentation