11-16-2021 05:19 AM
Hi all,
Hoping you can help - I am trying to read the data between xml tags incorporated into a text file.
I am able to get the data within the <ExampleData> tags in the attached example and I imagine I could do similar to get all the tag data for the fields within this.
However, is there a trick I'm missing here as the text files I will be reading will be of various sizes (both file size and array(s) size(s))?
Any help will be greatly appreciated!
Thanks,
Scot07
12-11-2021 10:35 AM
HI, I will share with you Read from Text File Function
12-14-2021 08:58 AM
Hi Raffi.13,
As you can see from the example diagrams in my question. I am currently using the read from text file function. The issue with this is that if I am looking to read the text data between hundreds of tags (lets call the number n) within that text file, the number of match patterns required will be 2 times n and will lead to a very messy block diagram. I could maybe create a SubVI to help but it will still be messy.
I was wondering if there is any other method to read the data between XML tags.
Thanks,
Scot07
12-14-2021 09:12 AM - edited 12-14-2021 09:14 AM
@Scot07 wrote:
I was wondering if there is any other method to read the data between XML tags.
Thanks,
Scot07
Have you tried any of the LabVIEW XML parser vi's?