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: 

dLL made using LabVIEW called in NUnit shows error

I created a simple VI with string input and string output in LabVIEW. I created a .dLL build specification. Once I build the .dLL file, I try to call it from NUnit to run the simple VI. I get this error - "System.BadImangeFormatException : Could not load file or assembly or one of its dependancies. The module was expected to contain an assembly manifest. "
 
I have to create .dLL files to run from NUnit as test platform. Will I be able to do it - Looking at previous posts, it sounds like it is not possible?
 
 
0 Kudos
Message 1 of 4
(3,095 Views)
Does anyone have an answer for question above?
0 Kudos
Message 2 of 4
(3,078 Views)
What is NUnit? For a LabVIEW dll, you have to have the LabVIEW run-time installed. Is it?
0 Kudos
Message 3 of 4
(3,075 Views)
NUnit is for testing .NET assemblies. You cannot directly test LabVIEW DLLs with this since they're not .NET assemblies. Unless, that is, you write a .NET assembly wrapper for the LabVIEW DLL.
0 Kudos
Message 4 of 4
(3,060 Views)