05-12-2010 09:58 AM
Hi,
I'me trying to make an vizualisation for an beckhoff cp7706 control panel by making in Labview an .exe-file for a touch panel Windows CE 5.0.
I used an example "calling extarnal code (DLL Method)" to give it a try. When trying to use the tcAdsDll i get different errors and i can't even build it. If I'me using the OS Info.dll it works on an x86 device but not on an ARM. What am I doing wrong?
Greats
Dieter
05-17-2010 06:41 AM
Hi Dieter
On a mobile device, you need to use the dll as a 'stubb dll' to have access to the functions & configure the call library function node in your VI. Once you create the executable, you have to add a .lib or .c file of your library to the additional files in the source files category of your build specifications.
Take a look through this article:
http://digital.ni.com/public.nsf/allkb/517300B49212795986256DDD00623FEE?OpenDocument
It provides an explanation how to use the library on a mobile device.
07-06-2010 01:51 AM
Hello Dieter,
I have the same problem. Did you found a solution?
Greats
Johannes
07-06-2010 01:57 AM
Hi Nookie
The issue was determined as the dll being compiled to use a THUMB instruction set, and not an ARM instruction set, which is the one Labview uses when compiling for ARM. Some newer ARM cpu's can handle both but LabVIEW compiles for ARM and this causes the error. You can try building your VI for a windows mobile 5 target. In this case, the code is compiled for THUMB and you should be able to run the exe on the touch panel.
01-02-2013 03:23 PM
Hello Everyone,
did anyone manage to get this going? I have many problems making the .exe for CE and I'm really looking for a working sample.
Regards, Rimco
01-14-2013 06:44 AM
Hello Rimco,
Do you have exactly the same issue?