LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

bad input argument, with PDA module

I'm developing an application for a pda who reads data from a text-file.
Now i'm trying to make an xyGraph of this data.
I succeeded to make for every input a graph (single plot), but when I want to show all the Inputs (multi plot) on the graph the pocket pc generates the folowing error:
"App Failed. Error code 560312006. Bad input argument to function."

I tested the same code in Labview Windows mode, and there the code works just fine.

Maybe pocket pc's do not support multi graphs?

Is there someone who has any experience on this case?
0 Kudos
Message 1 of 7
(3,871 Views)
Multiplot charts don't work on the PDA module, but multiplot XY graphs should work (at least they have for me). I have noticed a problem when trying to use events on controls of different types or representations. Is all your data identical in format? Try building a simple application with a multiplot XY graph with demo data and see if it works on your PDA. If it does, see if you can find the difference in data between the two apps. I understand that you ran this with a different graph for each input, so you've determined that the problem comes from the multiplot graph, right?
If I remember correctly, a multiplot graph can only display 8 plots. Are you trying to display more?
If all of this didn't help, you should post your code (At least the most simplified version that still has the error).

___________________
Try to take over the world!
0 Kudos
Message 2 of 7
(3,868 Views)
thanks for your quick reply!

I had more than 8 plots, I reduced them to 5 with a demo-app and it still does not work.
I will post my code with it..
if you run this in windows mode, the computer will generate the graphs!

ps: do not mind the format of the data
0 Kudos
Message 3 of 7
(3,864 Views)
I compiled and ran your example on a windows CE 4.2 IPAQ using LV 7.1 and I didn't find a problem. The app ran for about a second, displayed the graph (with the plots), and then closed because there was nothing left for it to do. I didn't get any error.
I couldn't find any info on that error code, so I'm not sure what it is. If that example worked for me, but not for you, I'm not sure where the problem is - could be the PDA, could be LV. I think you will need NI tech support for this. What I suggest is that you compile that example VI and run it on a different PDA. If the problem occurs there as well, the problem is probably with your LV and then you will need to start on the Repair LV\Uninstall-Reinstall LV\Upgrade LV path. Good luck...

___________________
Try to take over the world!
0 Kudos
Message 4 of 7
(3,859 Views)
very strange, i'm glad it does work.. but surprised that is not working on my pda...
any way, thanks for your help!
0 Kudos
Message 5 of 7
(3,855 Views)
I got exactly the same error message when trying to produce a multiplot chart (with my own program). Seems like this just isn't working in LabView for PDA!

cheers
Martin
0 Kudos
Message 6 of 7
(3,823 Views)
Like I said earlier, multiplot charts aren't supported in the PDA module but multiplot graphs are.
If you are using graphs, I suggest you write a small example which doesn't work for you and post it here with details about your setup (OS, PDA, LV versions).

___________________
Try to take over the world!
0 Kudos
Message 7 of 7
(3,818 Views)