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 !!
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.
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)
i did exactly the same as you did.
the file attached shows a screen shot for the error .
thank you a lot again
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!