LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Spreadsheet file created using "Write Characters to File" doesn't open with Openorg 1.1.4 Spreadsheet

I'm sure if you posted it a number of people would be happy to have a look.
0 Kudos
Message 11 of 26
(1,356 Views)
I've changed it further using the Write to Spreadsheet.vi vi, still no joy.
0 Kudos
Message 12 of 26
(1,357 Views)
Here's the file.  Thank you.
0 Kudos
Message 13 of 26
(1,356 Views)
Don't you want to autoindex and the loop boundary and write a 2D array?
0 Kudos
Message 14 of 26
(1,345 Views)
When you wire something out of a while loop, the only thing passed is the value in the last iteration. This is true whether it's a scalar or array. To automatically save the results of each iteration, you can turn on auto-indexing. right click on the exit tunnel and select Enable Indexing. Now, you are creating a 2D array so you have to wire the results to the 2D array input of Write to Spreadsheet. You could also move the Write to Spreadsheet inside the while loop so that with every iteration, you save the results. This will slow down the acquisition though.
Message 15 of 26
(1,344 Views)
Man! That's awesome!  I'm teaching this baby myself so... Thanks very much for that tip.  But the OO prob still persists?  Any thoughts on that?
0 Kudos
Message 16 of 26
(1,343 Views)
If you post one of the files which does not work with OpenOffice, I will take a look at it. I have OO1.1.2 on my Mac.

Lynn
0 Kudos
Message 17 of 26
(1,337 Views)

Hi Lynn,

It's already there.  Check Reply 13.

I'm off just now I'll c you guys l8r.

Cheers.

0 Kudos
Message 18 of 26
(1,338 Views)
You need to post one of the data files and the not the VI that creates it.
0 Kudos
Message 19 of 26
(1,325 Views)
OpenOrg is somewhat particular about filename extensions. When I created a test file with no extension (routine on Macs), OO would only recognize the file if the File Type in the Open File dialog was set to *.*. And then it opened the file in Writer. However, if the extension was .csv, it opened in the spreadsheet mode. For the .txt extension to open as a spreadsheet, select File type... Text CSV (*.csv; *.txt). Then the file will open as a spreadsheet. There is another dialog that allows selection of the field separator (tab, comma, etc.).

The OO help got me to this point, but it is not entirely clear. I had to try several things.

Lynn
Message 20 of 26
(1,322 Views)