LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

creating a screen dump of a graph and then saving it to file and on the user's request, loading the appropriate screen dump file for viewing?

Hi there!

I would like to achieve the above and would appreciate any advise i can get please.

What i would like to do is to instead of saving the actual data points, just save and image of the graph every day and then when the user wants to view a certain day's image, he will just load that file.


Thanks.
Regards,
0 Kudos
Message 1 of 6
(3,202 Views)

I am not sure why you would not want to keep the original data (usually the data is more meaningful than the graph), but you do not have to do a screen capture.

Instead, you can right click on the graph and create an invoke node for it. Then, you can use the Get Image method to get an image of the control. You can then save, load and display the image using the picture control VIs (which should be available in all versions other than the base version). Note - if you must save the data only as a graph image, it's best to use the PNG format, because it's compressed and will keep the picture clear.

To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here, here, here, here and here are a few you can start with and here are some tutorial videos. You can also contact your local NI office and join one of their courses.
In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).


___________________
Try to take over the world!
0 Kudos
Message 2 of 6
(3,184 Views)
Hi there!

Thanks so much for your response... For the mean time, all i need is to get an image of the graph... Will try to implement it in due time and will get back to you.

Thanks.
Regards
0 Kudos
Message 3 of 6
(3,164 Views)

 

I actually need to do the same thing.

 

The data saved will not be viewed in Labview but rather in Crystal reports.

 

I need to store the image with cursors showing position vs time.

 

Thanks for your response because it helped me get an answer much faster.

JCollado
0 Kudos
Message 4 of 6
(2,907 Views)
you should post your question in a new thread
Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
0 Kudos
Message 5 of 6
(2,904 Views)

Thanks

 

The answer above is good enough for what I need to do.

 

thank you

JCollado
0 Kudos
Message 6 of 6
(2,902 Views)