LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Mixed signal graph with scroll buffer

Hi,

I am sort of new to LV and trying to achieve  a mixed signal graph with a scroll back history my main problem is with what method to approach this

 

as graph doesn’t have history I need to add a history buffer of some sort but how do I have the graph show the desired range from that buffer

would it be more correctly to have a TDMS file saved and that the graph will do a X ms refresh to show the data

 

how much data can I put on a graph and were do I control it from - meaning is there some limitation of the number of points a graph shows ?

 

if so is there a way to say that if the full range I want to display is bigger then X time have the data shown be down sampled

 

I would appreciate if you can point me to reading material and or have a detailed example

 

thanks,

Assaf

 

0 Kudos
Message 1 of 3
(2,571 Views)

Everyone is new to LabVIEW at some point, we're glad you're posting to our forums!

 

Instead of a graph, it sounds like you should be using a chart. Check out the help manual for charts and see how they can be used in your application. You can set the buffer size of chart directly, and then there's the graph palette tool that you can use to scroll and zoom through your data after you've plotted it. 

 

Nathan Murphy
NI C Series Modules Product Manager with an expired CLA
0 Kudos
Message 2 of 3
(2,541 Views)

Or, if the chart doesn't show what you need, you can save your data in a shift register or periodically in a file and call back a range into a (second) graph when needed.

 

Cameron

 

To err is human, but to really foul it up requires a computer.
The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
Profanity is the one language all programmers know best.
An expert is someone who has made all the possible mistakes.

To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):

LabVIEW Unit 1 - Getting Started</ a>
Learn to Use LabVIEW with MyDAQ</ a>
0 Kudos
Message 3 of 3
(2,524 Views)