09-15-2014 12:36 AM
Dear all,
I have a very strange problem here. I had a device connected to the serial port, which can be started by sending "start\n".
Firstly, I used the IO in MAX to send "start\n", like the first figure, and the device operated correctly.
Then, I initialized the device, and used the program in the second figure, to write the same "start\n", but this time the device operated wrong.
I think the serial port setting are the same, and the device is not failed (after the second step, I repeated using MAX and still it's OK).
Could anyone to check what's wrong here?
Many thanks!
09-15-2014 03:43 AM
Hi pound,
Try out in your VI to not use carriage return. It should works fine.
Another thing i am sure you did before : OPEN the com !
BR,
Vincent
09-15-2014 08:27 AM
In your LabVIEW code, how do you know that it did not work?
Did you receive and error on the error indicator? You don't have any VISA Read going on, so you aren't trying to read the response.