LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Writing to Spreadsheet.vi formatting

The way I have the Write to Spreadsheet File VI setup ( with the default %3f), the saved files when double clicked, need a program selected so they can be opened. I would like the files to be saved .txt so notepad will open with the file when they are double clicked.
0 Kudos
Message 1 of 4
(2,817 Views)
Just save the file with a .txt file extension. Double-clicking on a txt
file will open it in Notepad.

Jeff

"md" wrote in message
news:506500000008000000971F0000-986697009000@quiq.com...
> The way I have the Write to Spreadsheet File VI setup ( with the
> default %3f), the saved files when double clicked, need a program
> selected so they can be opened. I would like the files to be saved
> txt so notepad will open with the file when they are double clicked.
0 Kudos
Message 2 of 4
(2,817 Views)
MD, I don't understand why Jeff's answer resulted in a 1-star rating; at the very least, comments as to what else is needed would be more productive. But more importantly, his answer seems correct based on your question - perhaps more clarification is needed.?
I suppose you've added .txt to your file name - did that then open Notepad? If not, you may need to reassociate your file-types of .txt to Notepad or better yet, Wordpad.
Communication via typing is rough at best - use the comments to help pinpoint the right Q & A's, including feedback when something does work too. Good Luck with it, Doug
0 Kudos
Message 3 of 4
(2,817 Views)
Evidently there is a 2-way connection between the NI support web site and
this public newsgroup that I'm not familiar, and some sort of rating system?

I'm currently using the same VI, and using .txt as the file extension, so it
will open in Notepad when double-clicked during development. Using a .xls or
..csv extension will launch Excel. Connect a Constant to the FilePath
terminal, and set a filename like "C:\output.txt"

Jeff

"CapeFl" wrote in message
news:506500000005000000E32B0000-986697009000@quiq.com...
> MD, I don't understand why Jeff's answer resulted in a 1-star rating;
> at the very least, comments as to what else is needed would be more
> productive. But more importantly, his answer seems correct based on
> your question - pe
rhaps more clarification is needed.?
> I suppose you've added .txt to your file name - did that then open
> Notepad? If not, you may need to reassociate your file-types of .txt
> to Notepad or better yet, Wordpad.
> Communication via typing is rough at best - use the comments to help
> pinpoint the right Q & A's, including feedback when something does
> work too. Good Luck with it, Doug
0 Kudos
Message 4 of 4
(2,817 Views)