02-13-2009 07:18 AM
Hi
I have a USB-6008 daq device that i want to use for a PDA. I have no experience in labview so im using Visual Studio .NET to develop a mobile application in C# for Windows Mobile 6. I don't have the PDA yet so im trying this against the emulator.
I have programmed the dll imports from the nidaqmxbase.dll. When i run the app i see the file nidaqmxbase.dll getting transfered to the pda emulator but when i try the acquire a sample i get a message: "Can't find PInvoke DLL nidaqmxbase.dll".
Can anyone help me with solving this problem?
Thanks in advance
Dennis Francek
02-19-2009 08:16 AM
Hello Dennis,
Try have a look at these documents and see if there are some help:
How Can I Make DLL Calls to Traditional-DAQ or DAQmxBase Functions in my .NET Program?
Programming with DAQmx Base in VB 6.0, VB.NET and C#
02-19-2009 09:22 AM - edited 02-19-2009 09:22 AM
Hi Dennis-
Actually, it isn't possible to make calls into the NI-DAQmx Base .dll on Windows Mobile without LabVIEW Mobile Module (aka LabVIEW PDA Module). The .dll in question requires the use of LabVIEW to build and deploy an application to the mobile device. Unfortunately there is no C* (where '*' means c++, c, c# or other) API for NI-DAQmx Base.
Also, you should note that the current release of NI-DAQmx Base (as of Feb 2009, NI-DAQmx Base 3.2) is not tested or officially supported on Windows Mobile 6. It may work, but we only tested Windows Mobile 5 for that release.
Hopefully this helps-