LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I scan for words in sections (one section at a time)?

I have a bunch of incoming text, the text is separated into sections marked by letters. How do I get LabVIEW 7.0 to separate the text into sections? Also, once I separate the text into sections, I have four words I want to scan for. How do I make each section scan for the same four words? If someone out there has an example that would work in LabVIEW 7.0, that would be great!

Thanks

famousmm
0 Kudos
Message 1 of 6
(2,924 Views)
Could you give an example string? Since most text is composed of letters, I don't see how you can tell if one is a section separator or not.

If you scan for words, what information do you want (e.g. if the exist in the string, how many times they occur in each section, where they are located in the section, etc).
0 Kudos
Message 2 of 6
(2,913 Views)
Each section is separated by a letter, and then within that section I (a mixture of text and numbers) I have four different words/combination of letters and text that I want LabVIEW to search for.
0 Kudos
Message 3 of 6
(2,900 Views)
Only one of the four words will occur per section.
0 Kudos
Message 4 of 6
(2,899 Views)
I don't know how to provide an example...I'm kinda new at this Discussion Forum...could you please explain how to do that?
0 Kudos
Message 5 of 6
(2,874 Views)
Can you connect your incoming text to a simple string indcator? Run your program so the string indicator contains your typical text.
Now Right-click in the string indicator and select "create constant".
Open a new VI and paste that constant to the diagram. Save that new VI and attach it to your next post here.

The tool for attachments is below the box used to compose a message. Simply browse to your file and select it. See how far you get. 🙂
0 Kudos
Message 6 of 6
(2,869 Views)