Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

error: not a valid pocket pc application

Hello,
 
I'm trying to run a .exe of the daqmx base example Cont-Acq & Graph Voltage - Int Clk on my PDA, but I'm getting the error "Cont-Acq & Graph Voltage - Int Clk is not a valid Pocket PC application".  I get this error for all the daqmx base examples.  
 
I was able to run these examples on my PDA when I first got started on labVIEW and daqmx base a couple weeks ago.  Since then, I was experimenting with a few other labVIEW programs for PDA that don't use the daqmx base.  I don't think I changed any pertinent settings.  However, now none of the daqmx base examples are working on my PDA.  I read that "....not a valid Pocket PC application" is a common error when a vi isn't Built for the correct processor-- but I think I'm ok there: I'm Building for the ARM processor.  Besides, if that were the problem, then my other non-daqmx base PDA executables would have given me the error as well, right?
 
Any thoughts on what else could cause this error.
 
thanks in advance,
 
Luan
0 Kudos
Message 1 of 8
(4,192 Views)

Hello Luan,

I would think that if you were building for the incorrect processor, you would get this error for all VIs.  Just to be sure, before building a NI-DAQmx Base application, go to Operate >> Switch Execution Target and make sure that Pocket PC 2003 is selected.  Please also be sure that you are choosing the correct examples.  They are found at Start >> Programs >> National Instruments >> NI-DAQmx Base >> Examples >> LabVIEW 7.1.  It sounds like you have already figured this out.  Another thing to try is to uninstall and reinstall the DAQmx Base driver using add/remove programs in the control panel.  

Try these things and let us know if anything helps!

Laura

0 Kudos
Message 2 of 8
(4,174 Views)

Laura,

Thanks for the reply.  I made the decision to try and reinstall the daqmx base driver, but for some reason, the driver did not show up on my pc's list of currently installed programs when I went to Windows XP's Add/Remove Programs to uninstall it.  In fact, the only National Instruments Program on this list is something called National Instruments Software (1.04 MB).  I thought that was weird, because I have LabVIEW 7.1, the PDA module, and other NI programs installed and working.  The daqmx configuration utility is listed in my start menu programs and opens fine.  

In any event, I'm going to attempt to reinstall all the LabVIEW programs.  I'll uninstall the National Instruments Software program, but otherwise, I'll see if I can install the rest "on top of" the last install.  Please let me know if you have any suggestions.

thanks, 

Luan    

0 Kudos
Message 3 of 8
(4,163 Views)

Hi Luan,

You will have to choose to change or remove the National Instruments software option and then the next window will allow you to choose the specific NI program to remove, such as NI-DAQmx Base.  I think just removing this software should be enough for you.

Thanks,

Laura

0 Kudos
Message 4 of 8
(4,158 Views)

Laura,

I uninstalled Daqmx base 1.01 for Pocket PC 2003 from my desktop (the host computer), but was unable to uninstall it from my PDA.  I get the error: "...not removed because files in use or are read only..." with reference to the file: Windows\nirlpdriver.dll. 

- I checked out nirlpdriver.dll on my PDA and it is not a read only file. 

- I also checked to see if it was running on the PDA and it's not listed as a running program.  I stopped all running programs anyways (which just disconnected Active Sync). 

-Then I tried to uninstall Daqmx base on the PDA while it was disconnected from the host computer and got the same error. 

- I tried to delete nirlpdriver.dll (after saving a copy of it), but was told: "...cannot delete: sharing violations.  source/destination file may be in use." 

I guess I could just reinstall Daqmx base on top, but even if my vi's started to work again, I'd be concerned about long-term issues.  So, I'm going to start uninstalling/reinstalling the PDA module and if that doesn't work, LabVIEW 7.  Any thoughts?

thanks, Luan  

0 Kudos
Message 5 of 8
(4,145 Views)

Luan,

Just to clarify, did you get that first message when trying to use remove programs on the pda itself?

Thanks,

Laura

0 Kudos
Message 6 of 8
(4,138 Views)

Laura,

Thank you-- yes, I did understand your instructions.  I'd actually already used the Daqmx base installation CD to uninstall/reinstall the software on my host computer, but that didn't solve my problem with the daqmx base VI's.  Just to be sure, I uninstalled/reinstalled the software with the (Windows) Add/Remove program per your instructions.  That didn't make a difference either.  I think the key is in reinstalling my PDA's driver(s).  It seems like maybe that driver is corrupt and is running some sort of hidden process that I need to figure out how to terminate.

I actually haven't uninstalled the PDA module/LabVIEW 7.1 as of yet.  I telephoned in for NI support (service #: 7089641).  The applications engineer I spoke with was great, but we didn't reach a solution by conversation end yesterday.  She said she's going to do some research and get back to me some time today.  Of course, if you have any thoughts, I'd love to hear them 🙂

all the best, Luan   

0 Kudos
Message 7 of 8
(4,132 Views)

Laura,

oops, I just reread your last reply and realized I completely misunderstood you.  Yes, that error message shows up on the PDA when I attempt to uninstall the PDA Daqmx base for Pocket PC 1.0.1 software on the PDA-- both when I use the Remove Program program on the PDA itself and using the Add/Remove Program utility on Active Sync on the host computer.

Luan

0 Kudos
Message 8 of 8
(4,131 Views)