Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

labview interface description node won't work when compiled

Solved!
Go to solution

Hi,

 

I have a vi which finds VISA resources and looks at their interface name in order to select which one to connect to.

 

I have a strange problem where, if I run the vi in labview it works fine. When the vi is compiled into an exe, it doesn't work.

 

I've traced the problem to the 'Intf Inst Name' property node which gives the interface description. When run in Labview, this property node returns the interface description, as expected.

 

When I compile the vi, this property node is returning blank strings.

 

The closest post I could find to this kind of problem was this

 

http://forums.ni.com/t5/Instrument-Control-GPIB-Serial/why-VISA-Property-Interface-Information-Inter...

 

However, the exe is running as an administrator, so I don't think it's an issue with permissions.

 

Any help would be greatly appreciated.

 

 

0 Kudos
Message 1 of 2
(3,833 Views)
Solution
Accepted by topic author sinkovich

I have no idea what was causing this, but I uninstalled the device drivers for the harware I was using, reinstalled and then rebooted the computer and now it works fine.

0 Kudos
Message 2 of 2
(3,829 Views)