LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to change X scale of intensity chart to custom data range

I have recorded data as 2D array of numeric and I'm using intensity graph to display data. See this data on image bellow. 

 

I have X scale from 0 to 350. This numbers actually represents number of sample, for example when x=10 this actually means that this is 10th sample in my recorded data...

 

I'm also using reference position sensor so I have information what position was sample x=10 recorded. This position is actually at position senzor value -180000.

 

My question is, how can I use position sensor data (range from -180000 to 180000) on X scale of intensity plot, so that Y and Z scale consist of same data as on the picture but X scale is changed to sensor position data.

 

Intensity.PNG

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

Hi Andraz,

 


@AndrazS wrote:

My question is, how can I use position sensor data (range from -180000 to 180000) on X scale of intensity plot, so that Y and Z scale consist of same data as on the picture but X scale is changed to sensor position data.


Apply scaling to the X scale values: you can apply a multiplier and an offset…

(Maybe you want to use a graph instead of a chart!?)

Best regards,
GerdW


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