LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

HELP! Live or death question :(

Solved!
Go to solution

Hello guys

im in the final week of a college project and i need to do some things in labview.

I am receving from a FPGA trhough serial communication. The transmission is working OK as i receive the data im sending from the FPGA. With this, my fpga is sending 8 bits packets.what i need to to is to put them is a matrix or table is an especific way.

sorry if this is not very understandable. here is a picture of what im looking.

the matrix or table has 4 colums (1 to 4 from right to left) and 16 rows (1 to 16 from top to buttom). the first 8bit packet needs to be placed on colum 1-row 1. next packet in colum2-row 1 and so on. when it gets to colum 4-row1, the next packet needs to be placed in colum 1-row 2 and so on.

i really hope someone could give me some suggestions.

 

 

Message 1 of 2
(2,774 Views)
Solution
Accepted by topic author moreins

Initialise a 64 element 1D array

Each new packect needs to replace the next element of the array starting at 0.

OR

Enlarge an array with build array with each new packet.

 

 Reshape the array to be 2D.

 

 

Regards,
André (CLA, CLED)
Message 2 of 2
(2,743 Views)