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.
04-11-2018 07:59 PM
Greetings,
I am wondering if there is a way to save graph/chart indicator and the string control value by the user into a file or image file format such as png?
Any help would be greatly appreciated.
04-11-2018 09:34 PM
I love vague questions, unimpeded by any VIs (meaning a file with the extension .vi) to explain what the Poster is talking about. I understand Graph/Chart Indicator (but which? and what kind?), but what is meant by "the string control value"? What, exactly, is supposed to be saved? Who knows? The Poster Knows ...
Bob Schor
04-11-2018 09:38 PM
Google is your friend. Have you read this?
04-12-2018 03:40 AM
So the answer is: yes, you can.
The question remains a bit of a mystery. You can pretty much save anything, including the image and the value, of any control to any file you want. Storing a value in a .png doesn't make much sense, but you could if you'd want to. There would be about 50 ways to do that... You can also save two (or more) control images in one image file.
Without knowing what you want, a detailed solution we cannot give you...
04-12-2018 03:58 AM
Hi,
May be above logic solves your problem.
04-12-2018 06:16 AM
Waveform Graph and Waveform Chart indicator to be specific.
What I meant by "String Control Value" is the value/data/string or text entered by the user into the String Control in the front panel.
I am trying to say, saving both the plotted data in Graph/Chart and the value/data/string/text in the String Control using event structure when a button is clicked.
04-12-2018 06:21 AM
Hi,
Brush up the basics. Read more about "Shift Registers" and "Arrays". This could solve your problem. Have you created any VI just to try out?
04-12-2018 06:23 AM
Sorry that my question is too general.
I am trying to save the plotted data in graph/chart indicator (I know this one is using get image invoke node) along with the string/text entered into String Control both in 1 file or 1 image of any kind of extension (png or txt)
04-12-2018 06:29 AM
This is what I have done so far, but its only saving the graph/chart indicator in a separate png file. I need ways to get it done in 1 png file and the value in a String Control to be saved in that 1 png file too.
04-12-2018 06:31 AM
Yes, I have read this. but this is saving the entire screen of VI.