03-28-2016 02:01 PM
Hi.. I would like to export image from graph chart for every 5 minutes to monitor AC Voltage and Current waveform. So in one hours i could get 12 image (BMP format). The image is automatically save in specific folder when i run the program.
03-28-2016 02:05 PM
This will be easy to achieve, you can simply create a loop with that checks a timer for your 5 min interval, and when true, it can call the graph's invoke node to save an image. Reset your timer and then wait till next interval again. The invoke node to export an image from a graph just needs a path and a file format to save to.
03-29-2016 11:18 AM
Sir Mike_King,
The problem that i face are :
1. After i run the program the sine wave at my waveform graph not moving. I dont want it interupt my waveform graph because i would like to visualize my waveform in real time .
2. i need click "save" button and name the picture. I try to save picture automatically by sequence suffix name. Eg: test_001.bmp ,test_002.bmp, test_003.bmp
What actually i want to do is to export multiple image of my waveform graph every 50 sample.
The function is same as export data in excel by using "write to measurement file" pallet.
03-29-2016 12:02 PM
@yinrin wrote:Sir @Mike_King,
The problem that i face are :
1. After i run the program the sine wave at my waveform graph not moving. I dont want it interupt my waveform graph because i would like to visualize my waveform in real time .
2. i need click "save" button and name the picture. I try to save picture automatically by sequence suffix name. Eg: test_001.bmp ,test_002.bmp, test_003.bmp
What actually i want to do is to export multiple image of my waveform graph every 50 sample.
The function is same as export data in excel by using "write to measurement file" pallet.
Two things are stopping your loop.
1- The event structure do not have a timeout, so the loop will wait indefinitely until an event (save or stop) is triggered.
2- The Wait until next ms multiple is set to 300000, so even if there wasn't an event structure your loop will wait 5 minutes between every iteration.
Here is a quick starting point for you:
Ben64
03-30-2016 02:02 AM
03-30-2016 08:04 AM
02-28-2023 12:39 PM
Thanks for the VI it also worked for me.