04-18-2006 03:44 PM
04-20-2006
01:18 PM
- last edited on
08-11-2026
03:30 PM
by
Content Cleaner
Hi Roman -
You might want to take a look at the following KnowledgeBase: How To Call External Code in LabVIEW PDA for Palm OS [link removed; article no longer available]. It describes how to call external code in my LabVIEW application for the Palm OS using the Call Library Function Node. The program retrieves battery life information for the device. You can follow the same basic model of this example to perform other calls to external code.
To build the code for PDA, three files are needed: a LabVIEW VI, a Windows stub dll, and a .c or .lib file containing the code for the Palm OS.You must create a normal Windows stub DLL to use the Call Library Function Node. The stub DLL needs only the proper function declaration, as the code that the PDA VI uses is from the .c or .lib file you include in the "Build PDA Application" dialog box. The Visual Studio 6.0 project for the stub DLL and the Metroworks Code Warrior project for the Palm OS code are included.
The program was originally developed for LabVIEW 7.1 PDA module. If you need help using it with LabVIEW 8.0 PDA module, please let me know.
Mark Walters
Application Engineer
National Instruments
04-20-2006 03:14 PM
Mark, thak you for the answer.
My problem is not adding C code to the Vi. It is that the LabView builder does not recognize functions declared in header files included in the C files I add to the Vi. What I would like to know is how to make LabView recognize these functions.
Thanks Again,
Roman.
04-21-2006 03:26 PM
04-22-2006 03:33 AM
08-30-2006 01:45 AM
08-30-2006
03:22 PM
- last edited on
08-11-2026
03:31 PM
by
Content Cleaner