07-11-2008 02:44 PM
07-11-2008 02:50 PM
07-11-2008 02:52 PM - edited 07-11-2008 02:52 PM
Steve,
You should use the VISA Close.vi before exiting the application. This will release the port.
Missed it by that much!
07-12-2008 08:27 AM
As with any software, you should always shut down gracefully. In the case of VISA communication with the serial port, at a minimum, you would want to close the port. Otherwise, you will not be able to access it using other software like HyperTerminal.
Also... remember that using the "Abort Execution" button to stop a running VI does NOT gracefully end the program. It does not release any resources, such as the COM port.
R
07-14-2008 10:16 AM
Thanks everyone for the great information. I've modified my code to complete all VISA communications in progress and then close out the VISA session.
Steve