LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

text file as config

Solved!
Go to solution

Hi everyone,

once again I am having some difficulties.

 

I am trying to control Goepel Cascon with my labview. What I basically no want to achieve is:

I want a config file which contains part of the serialnumber of my part an the name. The serial numer is scanned as a alphanumeric string an limited to the first 10 characters. Now i want to find the line in the text file this shorter string is also written in. and the name which is separated from the number with a tab is supposed to be read by labview and passed on.

This all is necessary so my final program when the apllication is built can be updated just by writing new stuff in a text file.

 

Thanks for help.

michael

0 Kudos
Message 1 of 3
(2,375 Views)
Solution
Accepted by topic author mtproductionsmunich

It would be helpful if you can attach the text file. Basically for your scenario you can read the text file as 2D array of string with "Tab" as delimiter and find the serial number and part name. Come back if you face any problem.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 2 of 3
(2,359 Views)

thank you i figured out the correct way

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