04-06-2010 08:09 AM - edited 04-06-2010 08:10 AM
Hi Ronster,
I didn't meant my comment to be offensive, but the neccessary information was given before.
I only opened the help, picked "Property and Method reference", then picked "VI Server" followed by "VI". Then you'll find "Front Panel:Get Image" method description...
So, what did I write? "method for the VI" to get the "front panel as picture"
04-06-2010 08:15 AM
04-06-2010 08:36 AM
GerdW,
Sorry, I appologize. I have used this method. When I use it, how do I have it include the entire screen? I only get the graph, not my string indicators.
04-06-2010 08:40 AM - edited 04-06-2010 08:41 AM
Hi Ronster,
when you use FP.GetImage you only get the graph, but not the string indicators? Interesting. Very interesting…
Could you attach your VI (maybe simplified to the core problem, only containing the graph, strings, and the FP-method)?
Btw. Do we talk of the same things? What exactly is a "screen" for you? Do you mean FrontPanel (of a single VI) or the whole screen? Please use exact wording...
04-06-2010 09:01 AM
GerdW,
I have attached what my front panel looks like. Yes, this is what i would call the 'screen', everything. The next file is the saved bmp file. You can see what is missing. The last is my code.
Ronster.
04-06-2010 09:04 AM
04-06-2010 09:09 AM
04-06-2010 09:12 AM - edited 04-06-2010 09:13 AM
Hi Ronster,
pick a "fresh" method node from the VI server function palette, right-click to select class (VI Server->VI) if anything else is shown, now select method FrontPanel.GetImage...
When you need the image of the graph you use the graph's GetImage-method. If you need the whole FrontPanel you have to use the VI's method
04-06-2010 09:28 AM
GerdW,
You 'da man! I appologize for not knowing the difference between an image node and a VI node. Works like a charm!
Ronster