12-15-2014 08:58 AM
Hello,
I'm not sure if this is possible or not within LabVIEW, so I'm hoping someone in the forum knows if it is and if so, knows how to do it:
I've had a few applications come up recently where it would be good to know how to do the following:
1. Stop updating to a waveform strip chart.
2. Zoom in on a region of interest on the strip chart.
3. Through a button press (or other means), pull out just the data shown the strip chart into another waveform (or even a 1-D array that could be used to build a new waveform using the original waveforms characteristics, dT, t0, etc.).
4. This newly "extracted" data would then be used for calculations, further analysis, etc.
Is this even possible?
I'm attaching a very basic VI I've put together that builds a waveform using some random data and updates a strip chart in one shot (just for testing purposes, I haven't set this up for constant updating in this particular VI). What I want to do is that when you press the "Export" button, it goes onto the next step in the flat structure (again, I typically use a QMH architecture, but for testing I'm using a flat sequence structure) that would handle then operation I'm looking to accomplish.
I really appreciate any help that can be provided.
Thanks.
Mike
12-15-2014 09:08 AM
Hi weeksmr,
1. To stop updating the chart you need to stop writing new data into the chart. A case structure around the chart terminal might help…
2. Manually, I guess…
3. Read the x axis properties at your button press to know the x range of your data. Read the chart history and use the x range data to extract the zoomed in region of the Y data…
4. Just do it…
12-15-2014 10:22 AM