Writes a character string to a new byte stream file or appends the string to an existing file. The VI opens or creates the file before writing to it and closes it afterwards.
![]() |
file path is the path name of the file. If file path is empty (default) or is Not A Path, the VI displays a dialog box from which you can select a file. Error 43 occurs if you cancel the dialog box. |
![]() |
character string is the data the VI writes to the file. |
![]() |
append to file? indicates whether to append the data to an existing file. If TRUE, the VI appends data to an existing file. If FALSE, the VI replaces data in an existing file. If there is no existing file, the VI ignores the value of append to file? and creates a new file. |
![]() |
If convert eol? is TRUE, LabVIEW converts all end of line markers it reads into LabVIEW end of line markers.
If convert eol? is FALSE (default), LabVIEW does not convert the end of line markers it reads.
The system-specific end of line marker is a carriage return followed by a line feed on Windows, a carriage return on Macintosh, and a line feed on UNIX. The LabVIEW end of line marker is a line feed. |
![]() |
new file path is the path of the file to which the VI wrote data. You can use this output to determine the path of a file that you opened using a dialog box. new file path is Not A Path if you cancelled the dialog box. |