LabVIEW Real-Time Idea Exchange

About LabVIEW Real-Time Idea Exchange

Have a LabVIEW Real-Time Idea?

  1. Does your idea apply to LabVIEW in general? Get the best feedback by posting it on the original LabVIEW Idea Exchange.
  2. Browse by label or search in the LabVIEW Real-Time Idea Exchange to see if your idea has previously been submitted. If your idea exists be sure to vote for the idea by giving it kudos to indicate your approval!
  3. If your idea has not been submitted click New Idea to submit a product idea to the LabVIEW Real-Time Idea Exchange. Be sure to submit a separate post for each idea.
  4. Watch as the community gives your idea kudos and adds their input.
  5. As NI R&D considers the idea, they will change the idea status.
  6. Give kudos to other ideas that you would like to see in a future version of LabVIEW Real-Time!
Top Authors
cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos
MaxiBarac

search line by line into text file

Status: Completed

Hi everyone , thanks for your time .

 

I have a text file with a table of data (text file example attached) , this file will be increasing with time , perhaps 500 lines per year , i want to read this file from labview and to be able to search a name (first field of the text file) and the data in the same line belongs to that name  , the idea is to read line by line and if the first field matches the name searched , then get all the data in that line as a string , the data types don't matter .

As well i have to be able to delete a complete line of the same text file if the name matches the one searched .

Any idea will be agreat , Thank you very much for your help and time !

 

3 Comments
MaxiBarac
Member

sorry i forgot to add the text file example , here it is .

 

 

Maxi    Barac    24
Julio    Perez    38    
Nico    Barac    45
Pedro    Roberto    32    
Melisa    Pereyra    22    
Gladys    Hidalgo    15
Rodrigo    Hidalgo    16
Adrian    Hidalgo    19
Lucio    Hidalgo    54
Nancy    Rodriguez    63
Micael    Barac    78
Mario    Barac    98
Sonia    Werber    86
Jose    Barac    87
Kevin    Barac    59

 

Deborah_B
Active Participant

Hi MaxiBarac,

 

This forum is for posting new LabVIEW Real-Time feature ideas. Please repost this request and text file example in the generic LabVIEW Discussion Forum board, where you will get a lot more eyes on your request and our application engineering support team will be notified to help out.

 

Thank you!

Deborah Burke
Senior LabVIEW Product Manager
Certified LabVIEW Architect
National Instruments
Deborah_B
Active Participant
Status changed to: Completed
 
Deborah Burke
Senior LabVIEW Product Manager
Certified LabVIEW Architect
National Instruments