LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Display your 2D array as intensity graph - Real Time

Solved!
Go to solution

Hi GerdW, 

 

I'm asking for some help if you have time. 

 

what i'm trying to do now is to colour my matrix depends on the number in each cell. 

(RGB) colours. (I'm recieving from Arduino Serial in real time)

I'm trying to use Bundle with Colour RGB, connected both to the array, but there's something wrong. 

check the image please

 

 

 

 

 

Cheers, 

Anthony

Download All
0 Kudos
Message 11 of 13
(872 Views)

Hi N.,

 

what are you trying to do with this FOR loop? What's the purpose of the Bundle node?

 

All you need to do is writing the 2D array to your IntensityGraph.

Then set a color ramp for your graph, ranging from 0=green to 100=red:

check.png

(Don't forget to enable color ramp/"smoothing" for the Z axis.)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 12 of 13
(866 Views)

Hi GerdW,

 

I was planning to colour the array by using the bundle with the coulor RGB. 

 

however, till now i'm trying and regarding your idea i haven't understand it very well. 

 

this VI up to date and i can read 4x4 rows and columns and trying to colour it but still not able to do that very well.

 

 

Thanks for answer,

Anthony

0 Kudos
Message 13 of 13
(861 Views)