Home › Forums › HTBasic Forum › Resetting HTBasic and NI-VISA to start up conditions › Reply To: Resetting HTBasic and NI-VISA to start up conditions
Thanks Tony for the additional information.
Could you provide more details around when communication seems to stop? For example:
1. How long is “A short period of time”? Minutes, Hours, Days?
2. When it stops working, is there an error displayed in the currently running program (If so, what error), and the program execution is stopped? Or is it always between runs that it goes from working, to not working?
3. To expand on #2, is it always after re-launching HTBasic that it appears to stop working, or is it working and then subsequently not working, in the same instance of HTBasic?
4. When you say unloading the driver and then re-loading it does not solve the issue, are you unloading it from inside Device Setup? When you re-load the driver, does it show it loaded correctly, but still doesn’t communicate? or does it simply fail to load?
5. Have you tried using the HTBasic reset utility after communication stops, to clear the registry and then re-add and re-load the driver? Does that resolve the issue, without requiring a reboot?
What I suspect is happening is that an error is occurring that is causing the current Visa Session not to work, but that the session is also not getting closed correctly, blocking new sessions from getting opened. What I don’t understand, is that unloading the driver should closes the session, so why does that not resolve your issue. Answers to my above questions will hopefully help me to narrow down what is happening so that we can propose a work around, or find a solution.
Thanks,
Pat