There may be some issues with actually getting the code to run on a pocket PC. I rewrote it using the standard PDA templates in 8.2 and verified that it ran and displayed properly on my Dell Axim x50v (PocketPC 2003). I saved for previous for 8.0 and zipped it up. It is attached below. I made the following changes:
- Changed the graph to a PDA graph
- Changed the file open to the PDA version (got warnings on compile with the standard LV version)
- Wrapped it in a run/exit loop structure from the default template
- Changed the file extension to .txt, although this is not necessary since the browse file dialog shows everything. Note that the initial browse may take awhile. I don't know why, but I have run into this on other programs on my PDA.
Hopefully that will work for you.
At the end of the read, after the column headers are stripped, the data is converted from text to binary (DBL, probably not the best choice for a PDA, SGL would be better, given the data resolution in an LVM file). The resultant array is then transposed so there are two columns of data rather than two rows of data. This is not necessary if the indexing in the next step were done correctly. The first data column contains the time data. The second contains the Y values. The time is evenly spaced, so the spacing is determined by subtrating the second time value from the first after indexing them from the 2D array. The Y values are extracted as a single column from the 2D array. The initial time value, time increment, and Y values are then bundled to properly display on the graph. A waveform data type could also have been used, but I was initially unsure of whether waveforms were supported on the PDA (they are).
If you have any more questions, let me know.
P.S. I assumed your PDA had a portrait 240x320 screen. You can modify the front panel to produce what you really have. The current GUI is pretty ugly.