I currently have a system that is reading offsets from a txt file stored in the robot home folder. Basically a csv file copied into a .txt file. The current way of reading it, is using the command below.
stPart:=ReadStr(datafileRd\Delim:=“\09”\RemoveCR\DiscardHeaders);
Each line of txt consists of 60 Tab separated values which the current way of reading means its it reads all 60 values before it reads the next line.
What i am needing to do is after reading the first value on the line, if the value is not equal to the number i am looking for then drop down to the first value of the next line. i would keep dropping down the first value of each line till the value is = to number i am looking for, to which i can then use my existing code to read all the offsets of that line.
What would be the ReadStr command to line feed down as apposed to the above TAB delimeter.
This will reduce processing time of obtaining offsets from some very large txt files