LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PDA execution fails on device target

I am using PDA Module with LabVIEW 7.1 (recent install). I can build applications successfully for multiple targets and they execute on all of my emulators...

     POCKET PC 2003 Emulator
     Windows Mobile 2003 SE
     Windows Mobile 2003 SE VGA
     Windows Mobile 2003 SE VGA (Landscape)

However, the same code (i.e. Pocket PC Screen Tab demo from NI), will download fine to target...

     POCKET PC 2003 Device (an HP hx4700)

but execution always fails. The message on the desktop is...

     Error executing. The application may not have been executed.

The message on the Device if I try to launch it locally is...

     'Tab Control Demo - PocketPC' is not a valid Pocket PC application.

I'm thinking the project is getting built with incompatible libraries but I can't find a way in LabVIEW to point at a new set of source libraries. When I installed the Windows Mobile 2003 Images (to support horizontal emulator and device orientation) I was instructed to point to the "new" libraries in eVC+. Is this where I must point the compiler to the correct libraries? Do I have to manually switch every time I want to switch from emulator to device?

This seems crazy...

Is this fixed in version 8?

Thanks,
Trevor
    
0 Kudos
Message 1 of 2
(2,743 Views)
OK, I've answered my own question and decided to post the answer to save others headaches in case there is somebody as dense as I am out there! 🙂

There is a combo-box named "Processor" on the "Code Generation Settings" tab of the "Build for PDA..." dialog box where you select your target processor. The options for me are "ARM" and "x86 (Emulation)".

In eMBedded VC+ the equivilant is to select your "Active Configuration" on the "WCE Configuration" build bar. If you've configured the directories correctly this will point your include directories at the source files for the appropriate architecture.

Hopefully this will help somebody else out who is thinking about as clearly as I was... I thought I knew what the problem was I just had entirely missed the setting of that option in the "Build for PDA..." dialog.

Cheers,
Trevor
0 Kudos
Message 2 of 2
(2,741 Views)