10-18-2013 12:12 PM
Hi
i,m trying to communicate with a microcontroller based device.However i'm facing problems.
by default when i send the string "5N" to microcntoller from any serial terminal(like hypertrminal), the microcontroller based device responds with the
following string.
"1111111111111111111111111E"
this works fine while using hyper terminal.now i want to parse the data from device using Labview.so i created a vi to send 5N and to read out the data from device.But the problem is that it works only sometimes.i have noted that when the vi is executed 1st time in a row, it writes the data, but fails to read the data.the program never exists the loop. then i press abort and run vi again,this time it writes as well read successfully. id dont know what is the problem. check the attached vi. please help. sometimes it shows time out error (but time out set is enough). by the way is it neccessary to send \n\r after each string from the device to labview and viceversa. is there any problem with my loop & open and close visa functions
10-18-2013 01:21 PM