LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with FGEN Driver in VB

Hi,

 

I am trying to use a .dll driver I created with LabVIEW in VB.  However, when I try to debug a VB project using functions from the .dll, I get the error shown in the attached image.  The text reads "Could not load file or assembly 'NationalInstruments.LabVIEW.Interop, Version=1.0.0.0, Culture=neutral, PublicKeyToken=daeb5dc76be4e32a' or one of its dependencies. The system cannot find the file specified."

 

I should note that this computer does not actually have LabVIEW on it.  I am suspecting that may be related to the problem.

 

I am using Visual Studio 2008, version 9.0.30729.1 SP.  I am also using .NET version 3.5 SP1.  I am also using NI Measurement Studio 8.6.35.465

 

Let me know if there are any other important details I should provide related to this.

 

Thanks,

Billy

 

note:  This is a cross-post from the Measurement Studio forum.

0 Kudos
Message 1 of 11
(4,257 Views)
Do you have the LabVIEW runtime installed?

It's also not clear off the type of dll you created. A c type or .net.
0 Kudos
Message 2 of 11
(4,244 Views)

It is a .net Interop dll.  I'm fairly certain LabVIEW runtime is not installed.  Is there a way to verify this?

 

Thanks

0 Kudos
Message 3 of 11
(4,218 Views)
Why don't you just install it?
0 Kudos
Message 4 of 11
(4,212 Views)

The nature of this project requires that we can't install any new software on this machine.  The idea to use a LabVIEW-generated driver was conceived by someone who didn't have an exact knowledge of the machine itself and what NI software it already has.

 

If there is no LabVIEW runtime on the machine, is it still possible to use this dll?

 

Thanks

0 Kudos
Message 5 of 11
(4,207 Views)
No.
0 Kudos
Message 6 of 11
(4,202 Views)

Is there a way to wrap the driver such that it can be used?  Is the NI FGEN .net wrapper usable without LabVIEW Runtime?

 

Thanks

0 Kudos
Message 7 of 11
(4,193 Views)
If you use LabVIEW, the runtime is required. Does NI not provide a .NET api?
0 Kudos
Message 8 of 11
(4,191 Views)

Okay, so after running a search I have determined that the machine does in fact have LabVIEW runtime.

 

Given that, is there another possible cause for the error in my inital post?

 

Thanks

0 Kudos
Message 9 of 11
(4,186 Views)
I don't have enough experience with .NET to suggest anything other than double checking the path as the error mentions, sorry.
0 Kudos
Message 10 of 11
(4,182 Views)