05-13-2011 11:26 AM
Dear,
I need to build a string containing 205 bits from an array, any idea what is the simplest way to do that?
Tahnks in advance for your help
Solved! Go to Solution.
05-13-2011 11:41 AM
05-13-2011 11:45 AM
05-18-2011 04:17 AM
Hi,
thanks for your quick reaction.please find the picture which explain more what I need to do.
05-22-2011 12:27 PM - edited 05-22-2011 12:32 PM
Sorry, I missed your response. Did you solve the problem in the meantime?
OK, this is a bit more complicated but still quite easy. Use a FOR loop and autoindex over the string array on the left.
Inside the loop, get the single-character substring from each of the three inputs on the right starting with [i] and reformat the main string element accordingly. Build the output string at an autoindexing output tunnel.
If this is not clear, please attach a simple VI containing your controls with reasonable default data.
05-30-2011 09:50 AM
Hello altenbach,
Yes I have solved the problem by using a FOR loopand using string subset and replace the entire array.
It is working now.
Thanks for your advise.
05-30-2011 12:52 PM
@BENIO wrote:
Yes I have solved the problem by using a FOR loopand using string subset and replace the entire array.
In the first post you asked for the "simplest way". This looks way too complicated and convoluted. I am sure it could be done with 80% less code. 😉