Hello GHernandez,
The problem does not lie with the Array to SpreadSheet String VI. This VI simply save data to a spreadsheet string (a generic tab delimited string that can be opened in a text editor). Many common applications can open this kind of generic file and render it appropriately. That is why you see appropriate behavior when you save this output string to a file with a .xls or .rtf file format.
On the other hand, there are difference between the .xls and .pxl file format. The detailed specification would be on Microsoft's support webpage. The issue is that there are enough differences between these file format such that you cannot simply save a tab delimited file with the .pxl extension and open it in Pocket Excel. That is why ActiveSync automatically converts .xls files located on your development machine to .pxl files for use on your PDA. There are specific changes that occur during this conversion that are not accounted for when you simply save a generic spreadsheet with a .pxl file format using the Array to SpreadSheet String VI and Write File VI.
To reiterate though, when you write data to a file with the Write File VI, you are not converting the data to a specific file format. It just so happens that in many cases you can save simple text files with the .xls or .rtf formats and they can be opened with other applications. The same is true for the .html file format.
So, I would suggest saving your files to a file format that is supported on your development machine and your PDA (such as the .rtf or .txt) then open these files in Pocket Excel, if that is possible. Once these files are open in Pocket Excel, you can then save them as .pxl files from this application.
Hope that helps.
Wendy L
LabWindows/CVI Developer Newsletter