LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I find string in a file .txt

I write in a file .txt data ( pressure and temperature,process number and date ) And I want to draw a graph with the number of process I recorded yesterday for example.....I want to create a VI where we'll find a question which is : write your process number and draw the graph.....It's only if we want to control a process accroding to ISO 9002.
Thank a lot for your help.
By the way, I have an other problem ti fix...
I want to start recording process with an electric contact which can be operate with my first VI
Can I use the module FP-AI-100 @2 to mesure a contact I have in the electric command ?
0 Kudos
Message 1 of 2
(2,957 Views)
I don't think I understand what the question is. Are you trying to find a specific word or words in a text file? If so, you generally have to read the file into a LabVIEW string and then use one of the search string VI's to find the location of the word your looking for. If you have a very large file, you can read in the file in segments. Or, if you are careful about your file formating, and know where the data you are looking for is, you can just use an offset on the read VI to find your data. I was a little confused about your statement about finding a question. If you clarify, perhaps we can offer you more information.
0 Kudos
Message 2 of 2
(2,957 Views)