Arrow;
Looking at your vi, I have some comments:
- There is no data dependency between the
Serial Port Write and
Serial Port Read functions. Although you place the VIs one next to the other, that does not guarantee the order of execution, so you may have a race condition in which the read from serial is happening before sending the command with
Serial Port Write function.
- I think this command need to be executed only once. If need to confirm, you can place a button to resend the command and then read the serial port. The way is working now is repeating the read/write every 1/10 of a second or so!!
I took the risk to modify your vi to resolve this issues, and the resulting vi is attached. This is only a recommendation.
I hope this is of help
Best regards;
Enrique Vargas
www.vartortech.com