LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

set waveform chart?

I have 2 Questions with Labview 8.5:


1-How can i use a Waveform Chart for display 2 signals in one chart with current time?
    I want X axis be current time?please describe me with an example.


2-How can i set a waveform chart for display Empty data?
    i want set my chart to don't display any signal when my chart don't receive data when changing the time axis.


Thanks.

0 Kudos
Message 1 of 6
(3,160 Views)

I want X axis be current time?please describe me with an example. 

 

I have a blog entry for displaying time-of-day on a waveform chart.  Look for KEEPING YOUR CHARTS UP TO DATE.

 

 

 

i want set my chart to don't display any signal when my chart don't receive data when changing the time axis. 

 

 

Set the HISTORY data to an empty array.  (The blog entry shows how to do that, too).

Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


LinkedIn

Blog for (mostly LabVIEW) programmers: Tips And Tricks

0 Kudos
Message 2 of 6
(3,150 Views)

hi CoastalMaineBi…


i think your method

Keeping your charts up to date

have a problem:
new data isn't on new time and new time is on first data.
i need a chart that change new data with new time Simultaneous.

please help me.

0 Kudos
Message 3 of 6
(3,130 Views)

hi

How can i Set the HISTORY data to an empty array?

THANKS.

0 Kudos
Message 4 of 6
(3,127 Views)
See the blog post.  The very first thing to do is set the HISTORY DATA (property of the chart) to an empty array of whatever type of data you feed it.
Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


LinkedIn

Blog for (mostly LabVIEW) programmers: Tips And Tricks

0 Kudos
Message 5 of 6
(3,112 Views)

new data isn't on new time and new time is on first data.

 

I don't know what you mean.

 

When you start, the plots are empty and the X-axis on the left is the current time.

 

The X-axis on the right is one minute from now (or whatever you choose).

 

As the plots fill up, they correspond with the time on the X axis.

 

When the plots get full, the X-axis scrolls, and the leading edge of the plot always corresponds to the current time. 

Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


LinkedIn

Blog for (mostly LabVIEW) programmers: Tips And Tricks

0 Kudos
Message 6 of 6
(3,110 Views)