LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I get real time x-axis on chart?

I am very new to LabView and could use some help. I am trying to
replace a temperature monitor with a labview system. I need the x-axis
of the strip chart to show real time (from the computer clock) but I
can't find it in the manual. Any help would be greatly appriciated.

Thanks in advance,
Wolf
0 Kudos
Message 1 of 5
(2,018 Views)
Under the Help menu, select Examples>Fundamentals>Graphs and Charts>Chart
Examples>Real-time Chart.

dont@bother.org wrote:
>I am very new to LabView and could use some help. I am trying to>replace
a temperature monitor with a labview system. I need the x-axis>of the strip
chart to show real time (from the computer clock) but I>can't find it in
the manual. Any help would be greatly appriciated.>>Thanks in advance,>Wolf
Message 2 of 5
(2,018 Views)
In article <3a8aa743.11557523@news.ufl.edu>, dont@bother.org () wrote:

> I am very new to LabView and could use some help. I am trying to
> replace a temperature monitor with a labview system. I need the x-axis
> of the strip chart to show real time (from the computer clock) but I
> can't find it in the manual. Any help would be greatly appriciated.
>
> Thanks in advance,
> Wolf
>
Hi

I've done this myself and IIRC you need to use a property node for your
chart and initialise it with the time from your PC. I have an example
which I could send you, which version of LView are you using?

Regards

Bill

mailto:wsymonds@clara.co.uk
0 Kudos
Message 3 of 5
(2,018 Views)
> I am very new to LabView and could use some help. I am trying to
> replace a temperature monitor with a labview system. I need the x-axis
> of the strip chart to show real time (from the computer clock) but I
> can't find it in the manual. Any help would be greatly appriciated.
>

If you use LV6, the DAQ functions will return timestamped data. The
chart will also accept the timestamps and do the right thing. If you
can't use it, then the trick is to provide the chart with the time of
the first point and the relative time between points when you begin
your acquisition. Wire these to the Offset and Multiplier properties
of the X Scale. If your data isnt acquired at a constant rate, then
this will get a bit more difficult with LV5.x. LV6 charts, since they
are ti
mestamped can handle it, but in previous versions it is best to
stop using a chart and start using an XY graph where you keep your own
history buffer. If this is the case, there is an example for an XY
chart.

Greg McKaskle
0 Kudos
Message 4 of 5
(2,018 Views)
In article <3A8BD815.836B11B0@austin.rr.com>, gmckaskle@austin.rr.com
(Greg McKaskle) wrote:

> If this is the case, there is an example for an XY
> chart.
>
> Greg McKaskle

That is a good point, the way I figured out how to do it was by looking at
one of LV's own examples.

Cheers

Bill
0 Kudos
Message 5 of 5
(2,018 Views)