09-10-2008 09:23 PM
To whom it may concern,
I created a VI application, which should read some binary files and transform them to waveforms shown in the Waveform Graph. I implemented it with Mobile/PDA module. This application runs successfully on my desktop, that is, on the Labview Front Panel. However, when I run it on "Windows Mobile 5.0 Pocket PC Device" (a PDA has been already connected to the PC), all the windows, menus, buttons are displayed correctly, the only thing wrong is that the waveform can't be shown in the Waveform Graph. So, I wonder whether the Windows Mobile system will automatically modify the binary file format a little when I copy them from the PC to my PDA so that the original VI can't process it as what I expected in PC execution. Or, are there any requirements for the programs that will be executed in actual Windows Mobile Device?
Thanks a lot for any comments and suggestion.
09-11-2008 03:54 PM
What version of LabVIEW are you using, and how many points are you plotting? The PDA Module can't plot more than 32000 points on a graph (which isn't usually a problem).
Can you try to narrow down the problem? Try loading a small waveform of constant data in your VI, and see if that can be graphed, and also set up an indicator to verify that your data is being properly read from your file.
09-11-2008 05:03 PM
Thanks, Jeremy,
I used LabVIEW 8.5.1. I rechecked and debugged the VI. The problem is not due to the Waveform Graph. I set an indicator after the Read File unit, in both PC Front Panel and PDA Front Panel. As I described before, when I run it in the PC Front Panel, the indicator could show the right values read from the file. But when I switch to PDA Device Front Panel, the indicator shows zero (invalid values), which demonstrate that the data is not accessed from original files.
The units I used are shown as follows:
File Dialog ---> Open/Create/Replace File ---> Get File Size ---> Read From Binary File (Here I set an indicator, no values read from the file, but if run in PC, correct values will be shown).
In this case, I guess the problem should come from the transfer (copy operation) of the file from PC to PDA. Or the operation behavior for LabVIEW Read File unit is a little different for PDA implementation from its PC implementation.
If you want more information, including the original binary file or VI, please let me know. Thanks a lot.
09-12-2008 01:27 PM