LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Re: Include 'Transpose Array' method in the shortcut menu of a 2D array constant/control/indicator

Hi Eugen, can you help me, how to convert serial data to array 2D like, for example if data 5x5 from 255000255000255000255000255000255000255000255000255000255000255000255000255 to
255 000 255 000 255
000 255 000 255 000
255 000 255 000 255
000 255 000 255 000
255 000 255 000 255

 

or from:

255

000

255

000

255

etc

To 2D array of above. And convert it by flatten pixmap to be jpeg file.

 

I'm using LabVIEW 2012.

 

Thanks in advance

Thx before

0 Kudos
Message 1 of 2
(2,138 Views)

Eugen might miss this post, since you're not replying to the original thread.

 

Anyway, use the Reshape Array function (extract the size to match the number of dimensions you need) . For a 2D array, use Transpose 2D Array if rows and columns are wrong.

 

Use Flatten Pixmap to convert the 2D array to pixmap.

 

Use Write JPEG File to store as jpg.

0 Kudos
Message 2 of 2
(2,013 Views)