12-22-2008 03:50 PM
Hello,
I'm using a waveform chart to record data, I have it with a 10 minute buffer, I want to be able to scroll back on the x-axis and look at data that was taken a few minutes ago... I want to be able to let go of the mouse and not have the cursor fly back to the current time.... is this possible?
Thank you!
12-22-2008 07:18 PM
one way to do it would be to create your own chart out of a chart like the below vi. I think this is the best way
if you need to use the chart for some of its other features then you can look at using property nodes but the update rates needed for this do not give it a very responsive feel.
Have a look and see what you think
best regards
12-22-2008 07:19 PM
create a chart out of a graph - sorry just read what I typed.
🙂
12-23-2008 08:14 AM - edited 12-23-2008 08:18 AM
This is my Christmas gift ... Hope it's not too buggy.
It uses a functionnal global to create a buffer that stores the Y data (init, read, write, resize). The buffer size can be modified at run time without loosing data (well... as long as you don't decrease the size of a full buffer... a better behaviour than the LabVIEW waveform chart). The default size is 1024 points.
The X axis update is managed separately (because I'll reuse the buffer global for other applications... 😉 )
Enjoy ! 🙂

12-23-2008 11:06 AM
this looks good, but.. I wish I could open it, I'm using LV 8.5, it's an 8.6 file. could i get an 8.5 version?
much thanks!
12-23-2008 01:31 PM
Done!
Juan Galindo
Applications Engineering
National Instruments
12-29-2008 07:54 AM
Thanks for the vi chilly. So, I notice that in your vi your waveform graph is labeled as "Waveform Graph/Chart" but I can't get it to work with a "Waveform Chart" whenever I try to plug in a Waveform Chart reference into the Update X axis VI I get conflicting types and it doesn't let me wire into it... does this solution only work for waveform graphs and not waveform charts?
much thanks!
12-29-2008 08:27 AM
12-29-2008 11:20 AM