03-14-2011 05:42 PM
Hi,
I'm getting the above error whenever viOpenDefaultRM is made by the VB code (viClose call returns 0x3FFF0082, or resource uninitialized.)
Looking through the boards I found that this is a common issue with serial ports. The suggested solution is executed through LabView, tough, with no alternative offered.
This is clearly a NI-MAX (measurement & automation explorer) issue because you can reboot the machine, go straight to NI-MAX, and see that there is an issue with the serial bus (yellow exclamation sign on bus icon.) When I try to initiate a Visa session, in NI-MAX, I get the same error that the VB viOpenDefaultRM call returns (resource busy, but there's no cable on the port let alone a device on the bus.) Sadly, I haven't seen any NI-MAX functionality to either close a ghost session, or reset the port.
I've attempted to use both the latest NI-Visa drivers 4.6.2 as well as the legacy driver being used on other similar machines in our lab 3.1.1 with the same results. The OS is Win2k.
I'd appreciate any help in working though this issue.
03-15-2011 10:58 AM
I believe this deals exactly with what your refering too 🙂 let me know if this helps!!!
http://digital.ni.com/public.nsf/allkb/936298454061FE5886256C2A0060B321?OpenDocument
03-15-2011 11:48 AM
That worked like a charm.
Thank you for your help, Sam!