11-08-2011 09:36 AM
I changed it to split array, which makes more sense based on what you are telling me you want to do. Reverse the indices so the values are always right. I also had to disconnect your typedef since you didn't include it.
Is this what you are lookign for?
11-08-2011 09:57 AM
Hello,
Sorry but i am not looking for this...
I need different block for 1st 4 elements, then again different block from 5th element till 8th elements...
Now i am getting eights elements when i run loop for 8 number but for that also i need from 8th Elements till 12.
Here Gruop1 Group 2 Group 3
Element 1 Element 5 Element 9
Element 2 Element 6 Element 10
Element 3 Element 7 Element 11
Element 4 Element 8 Eleme t 12
So at then end i should get like these three groups...
Thanks a lot...
11-08-2011 10:09 AM
Here it is breaking it into groups. Also an alternate method if you just specify the group size.
This has some assumptions that you haven't clearly stated:
11-08-2011 10:13 AM
Hello,
Your assumption number 1 and 2 are correct but the group size for all the gropus may differe it wont be 4 all the time... and number of groups like here i have mention just three so they can also change ...
Thanks a lot..
11-08-2011 10:15 AM
Hello,
I cant open ur vi as its version is not 5.1 which i am using....
11-08-2011 10:15 AM
I didn't say I assumed group size or number of groups. I said I assumed you are not skipping indicies in the source array.
If you look at the code, you can change the indicies or group size without having to rewrite the code.
11-08-2011 10:17 AM
Hello,
Thanks so much... I cant open due to version problem... mine is 7.5.1
11-08-2011 10:20 AM - edited 11-08-2011 10:22 AM
The original VI you posted was in 8.5. It will take me a little bit to try to save back that far. But, here are the pics:
Here it is in 8.5. I accidentally posted the 8.6 version of it.
11-08-2011 10:22 AM
Sorry in hurry i wrote anything... Its 8.5.1...