From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
03-16-2007 08:26 AM
I've got a VI that analyzes a data file and outputs a graph, some numbers/notes, and a pass/fail message to the front panel each time we run it. I want to be able to automatically save all that data into one easy-to-access file (no html) after running it, and ideally this would be accomplished by just capturing the screen of the front panel and saving it as a .jpg.
I've looked up how to do this on the forums and searching the web, but no solutions have come up. I've looked at the "Get Image" method, but that only lets me get the image of one object in the front panel, and not the entire front panel screen. I read something about referencing the front panel as an global, and inputting that into the "Get Image" method, but I can't get that to work and don't know if that's possible.
Is there a way to make a straightforward automatic screen capture of the VI front panel? How can I program that? (Manually using the "pinrt screen" function off the keyboard and copying and pasting it won't be feasible for this application).
-- Thanks for the guidance
03-16-2007 08:37 AM
03-16-2007 08:41 AM - edited 03-16-2007 08:41 AM
Message Edited by Dennis Knutson on 03-16-2007 07:42 AM
03-16-2007 10:27 AM
Thanks a lot, this worked.
The problem I had was that I couldn't find "Get Panel Image" in the function search, just "Get Image", and I had to create the "Open VI Reference" first and create the method from there.