There is also a way of doing this using just LabVIEW itself. At least it
works in LV 5.0...
Go to the menu "Application control", choose "Invoke Node", set the class to
"Virtual Instrument" and then choose the method "Get Panel Image".
What you will get in return is an array of pixels, a palette etc. Using
relatively little effort, this can be used to generate a 256 colour bitmap.
I`m sure there are VIs for this out there already.
Alternatively, you could use the "Print documentation" method. Again using
the invoke node, this time choose "Print VI to either HTML" or to RTF. You
can then set the save directory to whatever you want, give an image format
(JPG, PNG or GIF), set it so that only the front panel and controls are
saved, and let it go. This w
ill create the files required for
documentation, but one of them will be (In String parsing terms) %sp.png or
%sp.gif where %s is the name of the VI being documented (without .vi
extension). Once you have copied the file required, the rest can be
deleted.
Both ways are not overly "easy", but it is possible.
Cheers
Shane O`Neill
Rick Nelson schrieb in Nachricht <3A813C92.398D857D@csciences.com>...
>That's true, but we want an 'easier' way, because this product is going
>out to non-computer people.
>
>I've actually found a solution by grabbing an .ocx file off the net and
>implementing a screen capture/save through ActiveX. If anyone else
>needs it, let me know.
>
>--
>Rick
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)