ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Intensity graph

Hello everyone,

 

I'm working on my senior design project, I'm designing microwave imaging system where I'm scanning a defected sample using sensor and getting the voltage at each scanning point as analog input. the scanner have two encoders, for both X-Y axis and the values of the axis are displayed in array separately to show the sensor position. 

 

I need to display all of these data in intensity graph, so X & Y axis will represent the position of the sensor and the intensity should represent the voltage values. I didn't know how create the intensity graph, I have attached the code as well.

 

 

0 Kudos
Message 1 of 4
(2,970 Views)

Hi Mariam,

 

the IntensityGraph expects a 2D array of values. Each dimension represents an evenly spaced axis.

 

So your task is to create an array of sufficient size. Then use your X and Y values to calculate the index of the corresponding element in the 2D array. Write the measurement value into this element…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(2,953 Views)

Can you please explain further? 

0 Kudos
Message 3 of 4
(2,932 Views)

Hi Mariam8713,

 

Take a look at this forum post that has further explanation about how the intensity graph works!

 

 

Jiwhan S.
Technical Support Engineer
National Instruments
0 Kudos
Message 4 of 4
(2,904 Views)