To download NI software, including the products shown below, visit ni.com/downloads.
Overview
The example shows how to read Lines of a Text File and Return as Array of String
Description
In LabVIEW, we can easily read the lines of a text file without parsing the file for carriage returns. This is done by configuring the read from text file function to read lines rather than read characters. Simply right click the function and check the 'Read Lines' option. Once this is done, the function accepts a number of lines as the input and will return the text as an array of string.
Requirements
Steps to Implement or Execute Code
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
Hi! Does this still work as originally designed in LV 2016? I tried running the 2012 version in LV2016, and I get no output, but no errors, either:
Am I doing something wrong or missing a step? Thanks!