I send a command through the serial port, and I have any problem. I think that the problem is when I receive the answer!!!
The "odd" point is that when I execute the programm step by step, there is any problem, but when I run the vi, I don´t receive the answer.
I wrote some days ago, and people gave me some solutions. They suggested me that I had a problem of timeout, and they told me that one solution was to wait until I get the number of bytes that make up the answer using bytes at the port, and putting it inside a while loop, but it doesn´t work, well, sometimes it works and other times it doesn´t work!!!! I tried other solutions like wait time but without any result!!!
D
o you have any solution????
I attach the vi, maybe, it was useful to detect the mistake!!!!
Thank you!!
Graci