LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Building dll File For PDA

Hi all

i am new in PDA Module
in my project i want to run a .C code that i wrote  in my lab view project for PDA
i wrote the .C code with MS VC++ and succesfully compiled to .DLL file ,
here there is a question (( it might be my problem ))
i compiled my code as a reguler win32 dll file (( is it a problem ?? or the dll must be compiled as a smart phone MFC Dll ?    ))

in the previously compiled code i took in consideration the extern"c" thing

then i built a new VI and used the Call Library Function
to access my function in the .dll file , the Call Library Function
could see the function i wrote , then i wired the terminals


and tried to build the application

but  i got an error " missing vi or c file "


do any body know what the problem might be ??!!



0 Kudos
Message 1 of 4
(2,841 Views)
i forgot to say that :

i read in the knowledge base that i have to include the .c file in the sources files in the building specifications
what does it mean exactly ?? does it mean i have to include the source file of the dll ?
or it needs some modifications before adding ?  ?

i read another article in the knowledge base says that i have to change the decimal symbol in the regional settings
to (.) but it is already set to (.) in my control panel ,

i also want to say that this message appear in a very simple vi that contains nothing but the
Call Library Function
and its parameters

can any body help ? !!??!



0 Kudos
Message 2 of 4
(2,838 Views)
UP !!
0 Kudos
Message 3 of 4
(2,813 Views)

Hi Khallood,

 

I found some great articles that should guide through to calling external code. Please refer to the links below.

 

- This article should pin point the problem you are having;

Why Do I Receive Errors When Calling a C++ DLL from a Call Library Node Using the LabVIEW PDA Module...

 

- This article provides a general guide as to how to call external code with the PDA module;

Calling External Code in LabVIEW PDA and Touch Panel

 

Also, here is an example that shows how it can be done;

- Calling External Code in LabVIEW PDA for Pocket PC - Battery Information Example

 

Hopefully this helps!!

Aashish M
CEO
TransferFi
www.transferfi.com
0 Kudos
Message 4 of 4
(2,790 Views)