hi - i am sending hex code over a NI USB-485 cable, using VISA commands and sometimes, i get errors and the hex being returned gets mixed up with whats being received from before........i have to turn the power to my board on and off to clear all the junk but isn't there a way in labview to clear all the junk instead? thanks!
Make a while loop that will read characters until there are no more. Use Characters at Port and Read VIs until the count is equal to zero. Let me know if you need an example.