Need some help...
I'm trying to make a VI that'll read a simple text configuration file. The file will have entries like:
URL = 192.168.0.1
Port = 9000
What I'd like to do is to read in the line, and 'parse' it into 2 strings. Then, based on the contents of the first string (the part before the = sign), do something with the second part (after the =).
I've managed to open the file using 'Open/Create/Replace File' and but am having problems reading 'Scan From File' to pull in the strings (it seems set an error when I read in the first line although my probes show that I got both strings).
Anyway, once I've got my 2 strings, is there a simple 'case' like strucure that I can use to search through all my pre-defined 'first strings'?
Solved! Go to Solution.