LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

x axis chart problem

I'm attempting to plot data on a chart with the x axis represented by time. See graphPic1.png for current outcome of my developments. As seen in graphPic1, the data starts plotting at 00:00:16 where ideally it should start at 00:00:00. 

 

I've set the minimum point of the x axis scale range to 0 and have experimented with the x-axis scale property nodes, yet the data still plots from 00:00:16.

 

I've convinved myself that this is an easy fix but it's driving me mental trying to figure it out.

 

Stokes

Download All
0 Kudos
Message 1 of 4
(2,293 Views)

A copy of the code would be handy here I think

 

 

----------------------------------------------------------------------------------------------------------------------------
"If anyone needs me, I'll be in the Angry Dome!"


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

Hi Stokes,

 

Would it be possible that you are timing your VI from the start of execution? If so have you taken into account the time it takes to get to your loop where you read data?

 

Having a look at your VI would help if this is not the case.

 

Kind Regards,


Larry Colvin
Associate Principal Engineer
Dyson Technology Ltd.

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

I agree with Larry, it looks like a synchronization issue. Don't start looping until your initialization is done.

Richard






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