Read Characters From File

Reads a specified number of characters from a byte stream file beginning at a specified character offset. The VI opens the file before reading from it and closes it afterwards.

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.

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.
number of characters is the maximum number of characters the VI reads. The VI reads fewer characters if it reaches the end of file first. If number of characters is <0, the VI reads the entire file. The default is –1.
start of read offset is the position in the file, measured in characters (or bytes), at which the VI begins reading. The offset unit is bytes rather than numbers because byte stream files can contain segments of different types of data. Therefore, to read an array of 100 numbers that follows a header of 57 characters, set start of read offset to 57.
new file path is the path of the file from which the VI reads data. You can use this output to determine the path of a file that you open using a file dialog box. new file path returns Not A Path if you select Cancel from the dialog box.
character string is the data read from the file.
mark after read is the location of the file mark after the read. It points to the character (byte) in the file following the last character read.
EOF? is TRUE if you attempt to read past the end of file.