LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Print VI panel

Hello

I'd like ask about one thing: how could I print panel without headers like
vi's name, path, icon, last modifed date, and printed time ?
I use 'Open vi Reference' and 'Invoke Node'

gracias : )
regards
Zbigniew St. Sobqv
0 Kudos
Message 1 of 3
(3,035 Views)
"Mikrobi [ZbStS]" wrote:
>Hello>>I'd like ask about one thing: how could I print panel without headers
like>vi's name, path, icon, last modifed date, and printed time ?>I use 'Open
vi Reference' and 'Invoke Node'>>gracias : )>regards>Zbigniew St. Sobqv>

Try this: On the invoke node, select method 'Print VI to HTML'. To input
'HTML File Path', wire a filename like C:\TEMP\FILE.HTM. Wire 'Using Panel'
to the 'Format' input, and 'JPEG' to the 'Image Format' input of the invoke
node. When you run this, it will create the FILE.HTM file with everything
in it, but will also create another file with a P added, such as FILEP.JPG.
This JPG file will be a JPEG image of your VI panel which you can print,
add to a web page, or edit.
0 Kudos
Message 2 of 3
(3,034 Views)
You could try this, too. In the library
labview/vi.lib/utility/printvi.llb there is a VI called Print VI which
can just print the front panel. Or, you can use Get Panel Image VI in
the same library and wire it to one of the Graphics & Sound -> Graphics
Formats and save it to a bmp, jpeg, or png. This allows programmatic
printing or saving to a file.

Mark

In article <397d77aa@newsgroups.ni.com>,
"Dave Auyer" wrote:
>
> "Mikrobi [ZbStS]" wrote:
> >Hello>>I'd like ask about one thing: how could I print panel without
headers
> like>vi's name, path, icon, last modifed date, and printed time ?>I
use 'Open
> vi Reference' and 'Invoke Node'>>gracias : )>regards>Zbigniew St.
Sobqv>
>
> Try this: On the invo
ke node, select method 'Print VI to HTML'. To
input
> 'HTML File Path', wire a filename like C:\TEMP\FILE.HTM. Wire 'Using
Panel'
> to the 'Format' input, and 'JPEG' to the 'Image Format' input of the
invoke
> node. When you run this, it will create the FILE.HTM file with
everything
> in it, but will also create another file with a P added, such as
FILEP.JPG.
> This JPG file will be a JPEG image of your VI panel which you can
print,
> add to a web page, or edit.
>


Sent via Deja.com http://www.deja.com/
Before you buy.
0 Kudos
Message 3 of 3
(3,034 Views)