Calling External Code in LabVIEW PDA for Palm OS - Battery Information Example
This example demonstrates how to call external code using the LabVIEW PDA Module for Palm OS. This example calls Palm OS and retrieves battery life information for the device. You can follow the same basic model of this example to perform other calls to external code.
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 is included. This example does not require Code Warrior on the host computer because you can attach the .c file directly without compiling it into a static library.
Application Software: LabVIEW Full Development System 7.0
Toolkits and Add-Ons: LabVIEW Mobile Module 7.0
Reader Comments | Submit a comment »