07-17-2012 07:22 AM
Sorry,If my question is not clear.I have an input array(hexadecimal string array).It is representing digital data,so each array index represent 1 bit.I just want to take the first 8 elements and represent in the form of hex in the first index of the output array.Then take the next 8 inputs and after conversion display it in the next index of the output array.
But when I tried I got the output as shown in the attachment.
07-17-2012 07:31 AM - edited 07-17-2012 07:32 AM
I just saw that your input is a string, so use the conversion you had in the vi you posted before.
Christian
07-17-2012 07:50 AM - edited 07-17-2012 07:50 AM
Sounds like this might work for you as well. No need to convert strings into numbers.
07-17-2012 12:32 PM
You can't keep Type Cast man out of this party.
07-17-2012 01:07 PM
Is this want you wanted?
07-17-2012 11:21 PM
WOW!!great.varities of answers.Thanks
07-19-2012 07:29 AM - edited 07-19-2012 07:30 AM
Hi,
Let me add one more question.If we are getting string elements on each iteration,then how will we form it into an array with the first iterated element into the first array index of the output array,second iterated element on the second index of the output array and so on....
07-19-2012 07:36 AM
It kind of depends on your architecture. Are you getting a bunch of elements and then pass the array on when you are done collecting? Or are you just building the array for GUI purposes?
07-19-2012 10:47 AM
Hi,
Iam getting the value one by one.And using that I build an array,But the entire elements displayed in the first index of the array.But I want to display it in index one by one.(that is corresponding indices.)
07-19-2012 11:41 AM - edited 07-19-2012 11:42 AM
I'm still not sure if I'm understanding you properly. But it sounds like you could do it with a simple shift register and build array. I used a feedback node instead of a shift register in the example below.