LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

arrange data in parallel

Hi, I need some help with this . the setup generates binary bits . what I would like to do is, have these binary bits stored in multiple parallel streams . For example , lets say , i start by generating a total of 1536 binary bits, then i would like to have these binary bits stored in 128 parallel arrays , with each array containing 12 bits .. I am not sure as how to implement this in Labview .Hope someone can help me out . thanks , Mano
0 Kudos
Message 1 of 7
(3,248 Views)
"128 parallel arrays of 12 bits each".  That sounds like a 2-D array to me.  Look at the array functions palette.  How are the bits being generated?  You probably just need to to a reshape array function to go from a 1-D 1536 element boolean array to a 12 by 128 2-D array.
0 Kudos
Message 2 of 7
(3,245 Views)
Hi , thanks for your reply . I always forget to add the fact that i am using this with a NI speedy 33 board , which does not support 2D array , so as a result , the array palette does not have a reshape array option . Here is how i am planning to get this done .. Generate the bits and then add a condition , that once the array has 12 bits , it should start storing the data in the next array and go on . But i am not sure as how to get this condition implemented . Mano .
0 Kudos
Message 3 of 7
(3,243 Views)
The board may not be able to give you a 2-D array, but LabVIEW does.  I have no idea how you could have any decent program be able to deal with 128 different discrete arrays without going crazy.


Message Edited by Ravens Fan on 05-22-2008 10:30 PM
0 Kudos
Message 4 of 7
(3,240 Views)
Hhhmmm .. Now i am confused . forgive me ignorance . But i am attaching a simple way I thought i could implement what i wanted to do till I saw the errors . So i am attaching the VI and the errors list . Tell me if I am doing it wrong or if there is another way around this .
Download All
0 Kudos
Message 5 of 7
(3,235 Views)
Okay.  I see.  The speedy 33 is not a DAQ device, but some sort of target that is supposed to run your code.  Perhaps you can give more details about what you want the end result of your project to be, and someone who has used this device before may be able to help.
0 Kudos
Message 6 of 7
(3,230 Views)
the end goal is to be able to implment a OFDM system on a speedy 33 . But i am sure i can go further by myself once i get to know how to split the data into multiple arrays . Just to reiterate , the idea is to generate 1536 bits and break them into parallel streams of 128 with each containing 12 bits . Mano .
0 Kudos
Message 7 of 7
(3,213 Views)