Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

viOpenDefaultRM error 0xbfff0072

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.

0 Kudos
Message 1 of 3
(7,356 Views)

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

Sam S
Applications Engineer
National Instruments
Message 2 of 3
(7,351 Views)

That worked like a charm.

 

Thank you for your help, Sam!

 

 

0 Kudos
Message 3 of 3
(7,344 Views)