I have a problem with the VISA in LabVIEW. I'm using it to communicate with µC via VCP. Everything works fine except for the very first time I start LabVIEW after a PC start. The error handling I implemented says the recieved data is not correct. When I close and open LabVIEW after that everything works flawlessly. After the next PC restart the problem occurs again till I restart LabVIEW again. Is this a problem with LabVIEW or do you have an idea where i could search for the error?
Thanks in advance 🙂
do you have an idea where i could search for the error?
I would start to search in your VI.
But as you didn't attach the VI you need to debug on your own…
The error handling I implemented says the recieved data is not correct.
When you have implemented this error handling why do you need to restart your VI (or LabVIEW) then???
(Another reason to attach your VI!)
And how does the communication with the uC work? Does it only send data when you requested it? Does it constantly send data? Do you have an Interface Control Document or some sort of documentation on how the communications work (specifically syntax)?