LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

display file contents in listbox

I'm trying to display the contents of a file in a list box. I want the list box to scroll down as I read each line of the file and put it in the listbox for display. Please suggest any other method for file display. The main aim is to scan a line from a file and display it on the screen.
 
Thanks
0 Kudos
Message 1 of 3
(3,027 Views)

Will this work for you ??

Dan

0 Kudos
Message 2 of 3
(3,028 Views)

Hi Sudhir,

I found an example which does similar to what you are looking for. Unzip the zipped file and you should see two examples.

File Read Customized will help you to read data from file and format into single column.

File Read Customized_multiple line will help you to read data from a file which has multiple rows and columns. Then it updates table on the front panel with new line read.

Please feel free to use it. I am also attaching a sample text file for you to try the example.

Kalyan

 

 

 

Kalyanramu Vemishetty
Automated Test Systems Engineer
National Instruments
0 Kudos
Message 3 of 3
(2,970 Views)