08-05-2010 12:14 AM - edited 08-05-2010 12:16 AM
Here i have attached front and block diagrm and vi .Problem is im getting required string displayed and with that some not required string is also getting displayed.Help me with editing it.
NOTE: if SL Number: matches then 90610003 should be obtained. But in my code im getting
90610003
VLPN : KA-01 I-2000
Dest ID: 100
Over Speed: 15
Admin1 : 9538991097
Admin2 : 9538991096
Admin3 : 9880899964(NOT REQUIRED BOLD ONE)
Below is the text program from which i have been searching for required string
IRU details.txt
SL Number: 90610003
VLPN : KA-01 I-2000
Dest ID: 100
Over Speed: 15
Admin1 : 9538991097
Admin2 : 9538991096
Admin3 : 9880899964
Solved! Go to Solution.
08-05-2010 12:19 AM
Because with that function, you get everything after the matching string, which includes all the other lines.
What you could do is search the resulting string for a carriage return and return all the data before that.
08-05-2010 12:27 AM
can you be more specific.Like in terms of block diagram
08-05-2010 12:32 AM - edited 08-05-2010 12:33 AM
Note: It is also possible that you need to search for a \n (line feed character) or a \r\n (CRLF) but since you didn't save any real data in you VI, I can't be sure.
08-05-2010 12:51 AM
...thank u.