06-14-2012 09:29 AM
Hi.
Having some problem with saving a graph image in a labview program that triggers a hammer and then acquiring a signal from an accelerometer.
When I have acquired the signal I use the fft the function and plots it vs. the frequency and then having a export image function for the graph. It works fine up to this, the problem is that I seem to have some delay issues on the graph so the image that gets saved shows nothing, is there any way to just delay the saving part in a parallel process to the graph?
Attaching the image and vi below.
/David
06-19-2012
04:03 AM
- last edited on
05-11-2025
09:08 PM
by
Content Cleaner
Hi David,
If you just want the raw data (as opposed to an image of the graph) I'd suggest a producer/consumer architecture: https://www.ni.com/en/support/documentation/supplemental/21/producer-consumer-architecture-in-labvie...
You can use a queue to transfer your data between loops. This stops your data collection loop from being held up by the slower logging processes.
If you really want the graph image a parallel loop controlled by a notifier might be a better option.
-CC