LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Load excel file value to graph problem(about x-axis value)

Hello,everyone,I have this problem.
When I load the excel file which I saved before,the waveform came out normally,but the x-axis of graph waveform was not shown the number I want,it shown the number based on the no.of samples.
What I want is plot the x-axis value based on the rate(pts/s).For this case,rate is 50prs/s,so after calculation...0.02s per reading.totally is 20 seconds.I tried to use XY-Graph,but didn't solve out.
 
 
Jerry
LV 7.1
Download All
0 Kudos
Message 1 of 4
(2,790 Views)

Smiley Wink

Help

0 Kudos
Message 2 of 4
(2,780 Views)
is it always 0.02s per reading or did you get this figure from some calculation?? in anyway, you just connect that value (the constant 0.02 or calculated amount) to a Property Node... you link the Property Node to Waveform Graph 2... under property choose X-Scale -> Offset and Multiplier -> Multiplier...
 
i'm not sure if this is the best method but hope it helps... Smiley Very Happy i've tried it on your code and it works...
Best Regards,

JQ

LV 8.0 user...
Message 3 of 4
(2,773 Views)

JQ,thank you for helping.Smiley Happy

0 Kudos
Message 4 of 4
(2,765 Views)