LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

write character to files++

Hello,

In the past there was a Vi "Write Characters to File++1" which was returning the actual file name. It seems that this function does not exist anymore !
0 Kudos
Message 1 of 5
(2,936 Views)
It was replaced by Write to Text File. You can still access the old VI, though. It's in "LabVIEW 8.x\vi.lib\Utility\file.llb."

I can see how it might be difficult to get the filename that was selected if you leave Write to Text file unwired so the user is prompted. The easiest way around that is to put a File Dialog before you write to the file so that you can see what file was selected.
0 Kudos
Message 2 of 5
(2,933 Views)
Or, on the refnum output of Write to Text File, you can use a Refnum to Path function.
0 Kudos
Message 3 of 5
(2,925 Views)
:sigh:

I sat here and looked through the file palette, but completely forgot about that function staring straight at me. Must be Monday morning...


0 Kudos
Message 4 of 5
(2,916 Views)
Hello,

Thank,

How can I get the help of the previous write character to files++2.vi for example ?
There are certain VIs that I need to replace and sometime I do not remember the reasons of some connections.

Regards
0 Kudos
Message 5 of 5
(2,914 Views)