I am using Labview to Drive some RS232 programmable motors. However, once I am done using labview, I want to communicate with the motors using their software. This gives me an error message "Port Already Open".
My guess is that I am not properly terminating the visa session when I am exiting labview.
What would the proper way to close Com5 be, I would appreciate an example. This would have to be outside of the while loop since I don't believe that I would want to terminate the session on every loop, and maybe tied to the stop button of the while loop?