LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

different type refnums

Hi,

 

Can someone tell me what's the difference between the attached VI's? (Test & Test2). "Test2.vi" is an example that I'm trying to reproduce in "test.vi". "Test2.vi" works fine but the "test.vi" shows a broken wire. Error message says:

"Wired refnums are of diffrent types. The type of the source is Automation reference of class. The type of sink is Automation reference of class." What's wrong??

Download All
0 Kudos
Message 1 of 4
(2,856 Views)

I'm not sure but i think that you messed up with the interface. Excel has two different versions of interfaces. If you work with Excel 2007, the up-to-date API is 12.0. But the very same Excel also supports the Excel 5.0 API.

You cannot mix that two in a single application.

 

hope this helps,

Norbert 

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 4
(2,847 Views)
I made a new vi, selected "MS excel 11.0 vers.1.5". No help, still the same error. I'm using office 2003.
0 Kudos
Message 3 of 4
(2,842 Views)
Ok, now I got it...used wrong workbook object...Thanks for help.
0 Kudos
Message 4 of 4
(2,839 Views)