10-08-2019 03:27 PM
Good day,
I followed the instructions on this website: https://www.instructables.com/id/Interface-Arduino-With-Labview/. I get the error -1073807360 (clear VISA). How can I solve this error? When I shut down my laptop and start my laptop, I click on labview with the code. I run the code and everything looks fine. When I open Arduino software and upload code on the website, and run labview code again, I get the error -1073807360 (clear VISA).
10-08-2019 04:09 PM
You probably aren't closing the VISA reference.
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P6USSA0&l=en-US
10-08-2019 08:00 PM - edited 10-08-2019 08:01 PM
You've written "clear VISA" twice in your post. I don't see "VISA Clear" in the example that you linked, do you mean "VISA Close"? Or more likely, were you supposed to use that VI but accidentally placed "VISA Clear"?
Or did I misunderstand? (clear VISA != VISA Clear, after all...)
As a second option, are you closing the port opened with the Arduino software before trying to open it with LabVIEW? This means not having things like the monitor or serial plotter open, and might require you to explicitly disconnect (or close the Arduino software).
The serial port can only be opened by one application at a time.