LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

bitmaps in a labview report?

Hi all, I have been developing an application for major diesel engine
control and testing and have been using the new reports' vi's in Labview to
generated printed reports of a given run. We would now like to include a
graphic in the report (eg a logo) in the form of a bitmap or other image
type. Does anyone know how to include graphics in reports?

while I am on the topic, does anyone have any vi's for controlling the
printer port? eg basic control like toggling one of the data lines?

Cheers
John
0 Kudos
Message 1 of 4
(2,922 Views)
I don't know about the report feature, but you can set up a
subVI to act as a printed report by selecting the "print when
complete" option in the VI setup. Cut & paste the logo onto
the panel or load it into a picture control (if you have ver 5.1
or the picture control toolkit).

You can use the "out port" function in the advanced>>memory
palette to write values to the printer port. If you're in
Windows, check the device manager in the system properties to
get the memory address. Go to "Ports", select the printer port
and go to the properties. The resources tab will show the
Input/Output range (typically starting a 0x378). Use this
memory address with the "out port" function to control the data
and control lines on the printer port. If memory serves correct,
the firs
t byte of the printer port address is the data lines.
Could someone else confirm this? Also, anyone have the info for
other platforms?

Pinouts for the parallel port:
http://www.senet.com.au/~cpeacock/parallel.htm


* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!
0 Kudos
Message 2 of 4
(2,922 Views)
Thanks for the suggestions, they are much appreciated
cheers
john


MaxMar wrote in message
news:0f7f5e0f.e1d441df@usw-ex0103-086.remarq.com...
> I don't know about the report feature, but you can set up a
> subVI to act as a printed report by selecting the "print when
> complete" option in the VI setup. Cut & paste the logo onto
> the panel or load it into a picture control (if you have ver 5.1
> or the picture control toolkit).
>
> You can use the "out port" function in the advanced>>memory
> palette to write values to the printer port. If you're in
> Windows, check the device manager in the system properties to
> get the memory address. Go to "Ports", select the printer port
> and go to the properties. The resourc
es tab will show the
> Input/Output range (typically starting a 0x378). Use this
> memory address with the "out port" function to control the data
> and control lines on the printer port. If memory serves correct,
> the first byte of the printer port address is the data lines.
> Could someone else confirm this? Also, anyone have the info for
> other platforms?
>
> Pinouts for the parallel port:
> http://www.senet.com.au/~cpeacock/parallel.htm
>
>
> * Sent from RemarQ http://www.remarq.com The Internet's Discussion Network
*
> The fastest and easiest way to search and participate in Usenet - Free!
>
0 Kudos
Message 3 of 4
(2,922 Views)
Use "Append Image to Report Vi" which can take .bmp, .jpg,.wmf, .gif but not .png files ...pass the url or path of your image....then u can control it....
Best of luck,
Nirmal
0 Kudos
Message 4 of 4
(2,922 Views)