LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Visualize 2D array

Solved!
Go to solution

Hello,

 

I could really use your assistance.

 

I currently have a 2D array of 60x80.

The values change on each iteration.

 

I'm looking for a visualization of these values by mapping them on a color map.

Something like a video of each photograph taken.

 

How is this possible in Labview?

 

My idea was the following:

 

Array -> To Unsigned Byte Integer -> Flatten Pixmap.vi -> Draw Flatten Pixmap.vi -> 2D picture

This seems to work but I can't change the size of the 2D picture (It's only 60x80 pixels)

I want to enlarge this picture.

 

Any ideas? Suggestions?

 

Thank you in advance.

0 Kudos
Message 1 of 6
(2,678 Views)
Solution
Accepted by topic author KLI

Hi KLI,

 

ever tried to use the IntensityGraph?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 6
(2,675 Views)

Nope, never tried this option.

I will try this and let you know the result.

 

Meanwhile, other ideas and suggestions are more then welcome.

0 Kudos
Message 3 of 6
(2,672 Views)

The intensity graph, as Gerd suggested, is probably the way to go.  You can set it to any size your screen will support.  You will still only have 60x80 data elements, of course, but the intensity graph will expand them to the size you want.

 

Lynn

0 Kudos
Message 4 of 6
(2,654 Views)

Indeed,

 

The intensity graph is exactly what I can use.

 

It works perfectly.

 

Thank you very much. !

0 Kudos
Message 5 of 6
(2,649 Views)

the 3d plots (probably a mesh for your description) are very nice although slow down the build process.  You can even overlay several frames on multiple plot.  Intensity plot is much easier to figureout since it takes a 2d array.

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 6 of 6
(2,645 Views)