03-05-2022 07:09 PM
Arduino DAQ
What does the symbol by my serical com mean. For example Com port 10. The problem I have been getting is that even when my arduino is unplugged the com port stays active even when i check device manager and it shows gone. I have been getting a lot of error 5003.
03-05-2022 10:20 PM - edited 03-05-2022 10:20 PM
I think it means it was verified that it exists.
03-06-2022 06:45 AM - edited 03-06-2022 06:45 AM
It basically means that LabVIEW has opened the resource either explicitedly by executing VISA Open, or implicitly by calling another VISA function with that VISA name. There is no reliable way to detect that a device has been removed so VISA does not try to do that.
You need to explicitly call VISA Close to let VISA know that the port is not used anymore and all resources can be released. Then that icon will also disappear.
03-06-2022 11:40 AM
Thanks I used a close VISA before my initiate and that seemed to help my error 5003 unable to communicate with arduino.
03-06-2022 01:00 PM
@Pohlr1 wrote:
Thanks I used a close VISA before my initiate and that seemed to help my error 5003 unable to communicate with arduino.
So what you're really telling me is that you aren't closing the serial port (via VISA Close) after you are done using it. 😉
03-06-2022 04:02 PM
@Pohlr1 wrote:
Thanks I used a close VISA before my initiate and that seemed to help my error 5003 unable to communicate with arduino.
The idea is normally to close the port after you are done with it not before you want to use it again!