Calling External Code in LabVIEW PDA for Palm OS - Battery Information Example
Downloads
Filename: palmbatt.zip
Requirements: View
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.
Requirements
Filename: palmbatt.zip
Software Requirements
Application Software: LabVIEW Full Development System 7.0
Toolkits and Add-Ons: LabVIEW Mobile Module 7.0
Language(s): LabVIEW
Reader Comments | Submit a comment »
Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).
