ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

System.BadImage.FormatException

Solved!
Go to solution

Hello All

 

I typically use C# with Measurement studio to create class libraries that can be called from LabVIEW using .NET constructors. Recently I uninstalled LabVIEW and reinstalled it. Ever since, I've not been able to call any .NET DLL in LabVIEW.

 

I use .NET 4.0, LabVIEW 2011 sp1, Visual Studio 2010. I've attached a copy of the error I get.

Any help would be appreciated.

 

Thanks


Kudos are the best way to say thanks 🙂
0 Kudos
Message 1 of 3
(3,349 Views)
Solution
Accepted by winterishere8

Hi Spartan00,

 

I have found another forum post that has someone getting the same error as you. Try the mentioned steps in the replies and see if you can fix that error.

 

http://forums.ni.com/t5/LabVIEW/NET-DLL-System-BadImageFormatException/m-p/1831403#M626820

 

DylanC

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

Yes there was a typo in my config file. NI application engineer helped solve the issue. Thank you.


Kudos are the best way to say thanks 🙂
0 Kudos
Message 3 of 3
(3,329 Views)