ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I create a Waveform Chart with scrollable time/data history?

Hello All

I have a Waveform Chart that displays my data points as my test is running.

What I need to do is have the chart store the times associated with each plotted value.


Example 1: If the chart is running, I'd like to use the scrollbar/ graph pallete to rewind the chart and tell me what time/date in chart history did each data point occur.

Example 2: If I found a defective point in an over the weekend test, I would like to scroll back thru the chart data to that point and see the time/ date it occured


Can anyone help me with this Waveform Chart scenario? Im using LV 8.5.1


thanks!!!

J
0 Kudos
Message 1 of 13
(4,294 Views)

Use a property node to set the X-Scale format and minimum at the start of your test.View Context help to get the format description, 7 is time and date.

 

X-Scale.PNG

0 Kudos
Message 2 of 13
(4,285 Views)

yes Ive tried this...but it doesnt work in my attachement...do you know why?

 

thanks

 

J

0 Kudos
Message 3 of 13
(4,281 Views)
yes Ive tried this...but it doesnt work in my attachement...do you know why? thanks J
0 Kudos
Message 4 of 13
(4,280 Views)

Your right, I didn't try it in a loop. That Sucks! I found an example, try this: in LV 8.5

 

Hope this helps.

 

0 Kudos
Message 5 of 13
(4,271 Views)

yep, tried the Real Time also.

 

Not really what I wanted....I just need some way to keep track of points and associated Time Stamps.

 

So when I scroll back thru the chart data, the Time Stamp appears visible to the user.

 

 

Any other way to do this?

 

J

0 Kudos
Message 6 of 13
(4,268 Views)

How about looking in the shipping examples? Do a search for 'charts'. Run Real-Time Chart. The key is understanding what the offset and mulitplier mean in a chart or graph and what minimum and maximum should be used for.

 

edit - see that the shipping was posted. It works for me. The actual time of acquisition is written on the x axis.

Message Edited by Dennis Knutson on 10-09-2009 12:35 PM
0 Kudos
Message 7 of 13
(4,252 Views)

Hi J,

 

See if this does what you need.

 

steve

----------------------------------------------------------------------------------------------------------------
Founding (and only) member of AUITA - the Anti UI Thread Association.
----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 8 of 13
(4,238 Views)

This version generates it's own data.

 

steve

----------------------------------------------------------------------------------------------------------------
Founding (and only) member of AUITA - the Anti UI Thread Association.
----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 9 of 13
(4,222 Views)
Did you set the history length? If your chart displays 400 points and youset the history of 8000, you can scroll back in time roughly 20 x the length. If set the chart to collect a point every minute and set the history for 18000. This will keep a history of 30 hours.
0 Kudos
Message 10 of 13
(4,217 Views)