LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

changeto chart x axis unit

Solved!
Go to solution
ok. So which input control in your vi determines the X-axis values? is it predefined or dynamically variable?
0 Kudos
Message 11 of 28
(1,389 Views)
I want to control x axis value.This value is dynamically variable and coming from encoder every 15 c.meter. X axis and Y axis must be synchronization with my datas.
0 Kudos
Message 12 of 28
(1,383 Views)
Solution
Accepted by topic author kacco

Hi kacco,

 

"my datas coming from fpga every 15 centimeter."

 

So you get one value every 15cm? If so simply change the x-scale multiplier to 0.15 and use "distance [m]" as axis label.

 

Again: you don't have a "default unit"! You have some default axis labels. This is quite different...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 13 of 28
(1,382 Views)
I dont know if i understood the exact requirement of urs, but kindly check the below attached VI
0 Kudos
Message 14 of 28
(1,373 Views)

thank u for every one about my problem.Solved this problem.I didnt understand what is the meaning of x scale mutli(propertynode) ? And why multiply 0.15 ?

 

thank you for again

0 Kudos
Message 15 of 28
(1,370 Views)

Hi Krunal,

 

using a waveform is ok too - with using 0.15 as dt value the requirement is fulfilled too.

 

Hint: save some default values in the array before posting as an example vi...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 16 of 28
(1,367 Views)

Hi kacco,

 

have you read the context help?

 

You can customize each axis to your coordinate system by using an offset and a multiplier (shift and distort).

The 0.15 should be obvious here: your data are spaced with 15cm - which is 0.15m and I suggested a label of "[m]"... 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 17 of 28
(1,364 Views)

Hi ,

 

I get a continous streaming data from cRIO  module ethernet port.

The variables coming from cRIO are shared variable. 

 

My variables are:

no of pulses (distance in mm) determined from an encoder - for x axis

a sensor output during each  - for y axis

 

PS: Please notice encoder speed may vary - so the no of pulses per time interval which means distance data is asynchronous.

 

I want to show sensor output data with respect to distance in mm. 

 

ie:

x axis - encoder counter in mm:   0 2 5 7 8 15 ...etc

y axis - sensor output:                 5 6 6 5 4 3   ... etc

 

I will appretiate if anyone could help me to display the data in real time on a chart or graph

 

Kind Regards

 

0 Kudos
Message 18 of 28
(1,314 Views)

Hi kacco,

 

use an XY-graph...

Before you always said your data is evenly spaced - atleast that was my impression!

Message Edited by GerdW on 11-05-2009 07:16 PM
Best regards,
GerdW


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

hi,

 

ı use to xy graph but xy graph doesnt work with my codes.I dindt show my plots with xy graph you can send a simple xy graph  example with while loop searched and tried all labview example.

0 Kudos
Message 20 of 28
(1,295 Views)