LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I use the NI DAQmxbase C functions to develop a Smart Device application using a NI USB or NI ENET 9234 C module with Visual Studio for an iMX31 (ARM 11) embedded computer running Win CE 5.0 or 6.0?

I have an embedded application running on a iMX31 (ARM 11) that does fairly high performance analog input (24 bit, 50K samples/second).  I use Microsoft Visual Studio 2005 C/C++ for the develoment environment and have currently built versions of the application for Win CE 5.0 and 6.0 without Labview or NI hardware.  I have used the NI 9234 with great success on several Labview applications in the past and I'd like to use the 9234 on this embedded application with VS2005 C/C++. The NI documentation hints that I should be able to do this (maybe I'm overly optimistic) and I'm wondering if anyone else has?   I've tried the Evaluation versions of Labview Mobile and Labview Touch panel to build a C application using the NI DAQmx base C function inside Visual Studio without success.  I can compile and link the ContAcq IntClk LV example project for an x86 platform using NIDAQmx but not for a ARM platform using NIDAQmxbase.lib.  I get the same linker error   error LNK2019: unresolved external symbol referred to in Knowledge Base Document ID 4HAEE7QQ  even though I've set up (or think I've set up ) VS2005 as the KB article indicates.

 

If anyone has used the C functions and NIDAQmxbase library inside a VS2005 Smart Device project, I'd greatly appreciate your comments.

 

Thanks 

0 Kudos
Message 1 of 6
(3,359 Views)

Hello geneM,

 

I don't know too much about this, but have you seen this KB as well?   It has a few more steps you can try.

ColeR
Field Engineer
0 Kudos
Message 2 of 6
(3,332 Views)

ColeR

 

Thanks for the suggestion.  I had seen that KB and it is pretty much what I'm doing (or at least trying to do) with the Visual Studio 2005 Development environment.

 

Gene

0 Kudos
Message 3 of 6
(3,321 Views)

Hello Gene,

 

I have been checking into this for you and have found out that what you are trying to do cannot be done.  At least not in the current manner you are hoping for.  The internal architecture of DAQmx Base requires the cross-compiling capability of the LabVIEW Mobile Module. While a stand-alone compiler can compile DAQmx Base calls for desktop processors, it cannot compile DAQmx Base calls for ARM.

 

If your application requirements exclude the LabVIEW toolchain, then the remaining option is the USB Driver Development Kit which is avaliable here, but you will have to contact your local field sales representative to discuss support options as standard phone and e-mail support are not available for the NI Measurement Hardware DDK. 

 

NI Measurement Hardware Driver Development Kit
http://digital.ni.com/express.nsf/bycode/exyv4w?opendocument&lang=en&node=seminar_US

ColeR
Field Engineer
0 Kudos
Message 4 of 6
(3,304 Views)

Cole

 

Thanks for continuing to work on this.  Now I understand what the problem is.  I guess the nidaqmxbase.lib is not compiled for the ARM family.  Too bad, is this worth putting in a product enhancement request (or something like that)?  Anyway, I'm going to see if I can get a VI working on my CE device with the LV Touch Panel Module when I get back from vacation in 2 weeks.  Thanks again for the help

 

Gene

0 Kudos
Message 5 of 6
(3,298 Views)

Hello Gene,

 

We always invite feedback for any of our products and it is always worth putting in a feature request.  If nothing else, it alerts developers to how people are pushing the boundaries of what our hardware can and cannot do. You can go here and click on this to offer your suggestion. 

ScreenShot030.png

ColeR
Field Engineer
Message 6 of 6
(3,278 Views)