Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

What DLLs am I missing to deploy my DAQ Assistant component?

Hey guys,

 

I used the "Add Item..." and "NI DAQ Component" from within Visual Studio 2005 to create a component for use in my own DLL that is part of a larger application.

 

When I create my setup and deployment project, I have selected all the project outputs to be included in my *.msi package, and I then install the package on another machine.

 

All is well, except that I am getting an error when my DLL attempts to load the class that was created by the DAQ Component Wizard.  I have used Lutz's Reflector to look inside my DLL, and the DAQ Component is present.

 

The error is "System.TypeLoadException: Could not load type 'ELX.SensorsComponent' from assembly 'ELXNeuralDAQ, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.

 

I have attached a screenshot of the Reflector window that shows my DLL, and a screenshot of the setup DLLs and merge modules that were detected.

 

What am I missing?

 

Thanks,

 

Larry

 

Download All
0 Kudos
Message 1 of 5
(4,114 Views)

Also, I forgot to include this screenshot, which shows the files that were deployed to the target system....

0 Kudos
Message 2 of 5
(4,113 Views)

Hello Larry,

 

I noticed that you are including the special pre-release TDMS assembly that I sent you earlier in your deployment. Because there may exist some complications deploying this pre release software, it would be best for me to contact you directly to work through the options. Is it ok for me to contact you through email? 

 

Thanks!

 

NickB

National Instruments 

0 Kudos
Message 3 of 5
(4,047 Views)

NickB,

 

That would be great!  My email is lroy@embeddedLogixInc.com or lroy@emlogix.net.

 

Larry

 

0 Kudos
Message 4 of 5
(4,026 Views)

Whoops.  I had an older version of DAQmx on my target system, and the newer version on my dev system created some new types that aren't available in the older DAQmx.

 

After I upgraded the target to the same DAQmx level, all is well!

 

Thanks!

0 Kudos
Message 5 of 5
(3,983 Views)