04-18-2012 11:41 PM
Dear sir ,
Here i have Given a example my file which conatin G and R i want to find all R and replace with G. and cobine in in one column.. example is given belowe
11 03 30 00 00 0.0000000 0 18G02G04G05G09G10G12G15G17G25G26G27R01
R02R12R13R22R23R24
................................................................................................
................................................................................................
................................................................................................
11 03 30 00 00 30.0000000 0 18G02G04G05G09G10G12G15G17G25G26G27R01
R02R12R13R22R23R24
.............................................................................
...................................................................................
here i have attached file and my programme
...........................................................................
11 03 30 00 01 0.0000000 0 17G02G05G09G10G12G15G17G25G26G27R01R02
R12R13R22R23R24
.............................................
Solved! Go to Solution.
04-19-2012 05:52 AM
Perhaps it would help us understand better if you'd put the expected result in a screen-shot of your front panel. I can't tell what you need.
04-19-2012 06:24 AM
Dear sir,
here i am unable to insert the image so i have attched the image file,
04-19-2012 10:30 AM
Savvy?
You'll probably need to fix something, but at least my picture matches yours (except for the empty element at [0,0]).
04-20-2012 04:25 AM
Dear sir ,,
Thanks for solution that is same what i want,, but i want complete value which are inside of the file, only that RG row should combine,,and other parameter should remain as it is..
04-20-2012 04:26 AM
here is programme what imade from your image..
04-20-2012 06:08 AM
04-20-2012 06:10 AM
@julian prince wrote:
here is programme what imade from your image..
That "image" is a VI Snippet. You can drag it to your block diagram and it'll magically become LabVIEW code. 🙂
04-20-2012 09:14 AM
Dear sir,
Thanks for your reply,, but this programme work for single slot , i want to run it for entire file ,
here i have attached file and programme..
04-20-2012 10:01 AM
I think you're missing what I've done. I've addressed every group of data from your file in the While loop, with the shift register passing the "offset past match" to the "offset" terminal in the next iteration.