08-05-2010 04:39 PM
I just want a chart, graph, or whatever that displays 6 temperature readings that shows the time in the X axis updated at one minute intervals and displays only the last hour of readings.
08-05-2010 05:19 PM
And what, exactly, is your difficulty, or would you like us to guess? Have you looked at the examples that ship with LabVIEW? Such as the one called "Real Time Chart"?
08-05-2010 05:23 PM - edited 08-05-2010 05:29 PM
I have looked at the examples and while they are cute and often draw fancy spirographs they really do not explain how they work.
The part I can not get to work is the time in the X-Axis and having only the last 60 minutes/readings (readings takes once every minute) displayed.
I can not find an example named "Real Time Chart"
08-05-2010 05:30 PM
If you use a Waveform Chart you can set the chart history length to 60, which will display the last 60 values gathered. If you take 1 a minute, that's an hours worth of data.
08-05-2010 05:36 PM
@NickQ wrote:
If you use a Waveform Chart you can set the chart history length to 60, which will display the last 60 values gathered. If you take 1 a minute, that's an hours worth of data.
Yeah, but how do I get the time to display in the X-axis?
08-05-2010 05:36 PM - edited 08-05-2010 05:37 PM
Chart with a history length of 60 and a dT of 60.
Set the X axis to display time.
EDIT: Sidetracked int he middle of the reply.
Right click the chart, pick X scale, formatting ....
08-05-2010 05:38 PM - edited 08-05-2010 05:39 PM
@RTSLVU wrote:
I have looked at the examples and while they are cute and often draw fancy spirographs they really do not explain how they work.
The part I can not get to work is the time in the X-Axis and having only the last 60 minutes/readings (readings takes once every minute) displayed.
I can not find an example named "Real Time Chart"
You have to click on one the keywords in order to actually display the examples. This is what it looks like after double-clicking on the "charts" keyword:
If you look at the example, you will see that it sets it to 10 seconds for the X-axis. You can set this to whatever you want, and update the offset based on your timing.
08-05-2010 05:39 PM
@RTSLVU wrote:
I have looked at the examples and while they are cute and often draw fancy spirographs they really do not explain how they work.
The part I can not get to work is the time in the X-Axis and having only the last 60 minutes/readings (readings takes once every minute) displayed.
I can not find an example named "Real Time Chart"
Just click on 'charts' to find the example.
08-05-2010 05:39 PM
@Ravens Fan wrote:
Chart with a history length of 60 and a dT of 60.
Set the X axis to display time.
EDIT: Sidetracked int he middle of the reply.
Right click the chart, pick X scale, formatting ....
I don't know how to put dT in a chart? When I drop a chart it expects an numeric array input.
08-05-2010 05:41 PM
@RTSLVU wrote:
I don't know how to put dT in a chart? When I drop a chart it expects an numeric array input.
Charts and graphs adapt to the datatype that you wire to them. PLEASE look at the examples and the LabVIEW Help.