12-24-2010 04:09 AM
Hello,
i have a problem with the instrument driver am using. it is mxox802x driver which i downloaded from the instrument drivers from national instrument.
the problem that i have is that when i use this driver in vb.net using measurement studio, it keeps giving me that the dll can not be loaded !!!!!
so what should i do????? help please !!
12-24-2010 04:51 AM
12-24-2010 05:36 AM
thanks,
i tried to search for the dll, it is mxox802x_32.dll, and i didn't find any thing related to it. i even trid to create the dll form the .fp file in labwindows/cvi
and also had no luck to add it as a reference as it is not a com dll.
12-24-2010 12:20 PM
12-25-2010 09:52 AM
Hello,
thanks a lot
here is the link:
thanks again
12-25-2010 11:29 AM
did you follow this article
12-25-2010 11:38 AM
Yes i did exactly the same
with no luck at all
12-28-2010 09:58 AM
Hi Ala Ayesh,
I tried out the instrument driver and could get it to load into Measurement Studio.
I used the following steps:
Downloaded the driver
Opened a new NI Windows Application (from the Measurement Studio project types).
Right clicked on the project (in the Project Explorer) and selected "Add New Item".
Selected "NI Instrument Driver"
Selected the fp file of the instrument driver and left all the settings default.
I get a generated vb or cs file with a class for the instrument driver.
From here I can go into the main vb or cs function and reference the instrument driver and build it just fine.
Where exactly is the error coming from? (a screenshot would be helpful)
Thank you!
12-28-2010 11:06 AM - edited 12-28-2010 11:06 AM
Thanks Mr.Christopher
i did exactly the same as you did.
the file attached shows a screen shot for the error .
thank you a lot again
12-28-2010 12:22 PM
Hi Ala Ayesh,
You're going to have to compile the C code into a dll so that the .NET wrapper can reference it, then place it into the folder with your build. I placed it in the bin/debug folder of my build.
Hope this helps!