Hey Peter,
It sounds like you have a VISA session left open. First make sure that you are using the VISA open once in your application at the beginning. Then make sure you are wiring all of the VISA Resource names from the Open VISA to the rest of your VIs. Then at the end of your application wire it to the VISA Close.
If you can't find the problem, try starting with one of our example programs. You didn't mention what kind of interface or software you were using, but the Serial Communication.vi in LabVIEW is a good place to start. If you are using GPIB, just replace the VISA Configure Serial Port.vi with the VISA Open. Try writing a simple command that your instrument supports like *IDN? so that it will return some data. Then try to run the applicati
on twice to see if you see the problem.
If the example can run fine you probably need to start going through your application and look for VISA functions that are not wired to the VISA Open. If you call VISA Write/Read without it being connected to the VISA Open it will try to implicitly open the resource and this can cause problems.
I hope this helps out.
JoshuaP
National Instruments