10-01-2014 03:43 PM
I am trying to find root cause of an issue where I can load my app and execute it multiple times without issue. When I close my app, sometimes NI max no longer lists any instruments. This causes a failure the next time I load my application. The only way to correct this is to reboot the system. I have stepped through my app and am reasonably certain that all references/handls are being closed. Any other suggestions on what to look for? I attached screen shots of the NI max error message and NI max show all the inst and showing no inst.
10-02-2014 09:09 AM
What app are you closing? Is this a VI in LabVIEW? If so, how are you closing LabVIEW?
Also, I cannot see the screenshots that you attached. Could you please attach them again using the Insert/edit image button in the post editor?
Thanks,
10-02-2014 11:29 AM
We have a GUI that loads the labview test application. Each app initializes and closes its own instrument handles. The GUI has been used for several years with seeing this issue. I have been working on my app for several months and just started seeing this issue in the last couple weeks. Makes me wonder if the controller is bad.
10-02-2014 11:35 AM
Here are the screenshots
10-02-2014 11:45 AM
3rd time is the charm?
10-02-2014 12:12 PM
Do you know if any drivers have been upgraded recently or if there have been any changes made since your application last worked?
10-02-2014 12:23 PM
I am not aware of any driver updates. One change we did make was to convert the SMU from a 4130 to a 4132.
Pat
10-02-2014 12:43 PM
Are you using the Real Time PXIe-8115?
Also, have you looked into this troubleshooting article?
Lastly, are you able to post your code? I am interested in seeing specifically how you deal with your VISA resources.
10-02-2014 02:03 PM
Yes I am using an 8115.
I did look at the troubleshooting article and did follow it. Not sure if this article applies though. It is addressing not finding instruments at start up which is not my issue. I am seeing the instruments just fine at start up but after running my app NI max drops out.
Pat
10-02-2014 03:35 PM
Ok. Are you programming on the Real Time side?