LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Does the CVI library offer a function to display a .jpg file?

I want a user to be able to click on a .jpg (or .jpeg) file, and then to display that file on a panel. I don't want to have to convert the file to a bitmap (unless CVI has a function to do that under program control).
0 Kudos
Message 1 of 5
(3,314 Views)
No, there is no current way to display a JPG in a CVI native control. You could find an activeX control that would do it if you are using CVI 6.0. I believe internet explorer ActiveX control would work.

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 2 of 5
(3,314 Views)
Hi Chris,
I found an instrument driver for reading and saving JPG files a couple of
months ago. I can't remember the source for sure, but I think it was in the
NI developer zone. Anyhow, anybody who is interested, send a mail to me to
receive the FP.

Regards
Torsten

"Chris Matthews" schrieb im Newsbeitrag
news:506500000005000000FCAB0000-1031838699000@exchange.ni.com...
> No, there is no current way to display a JPG in a CVI native control.
> You could find an activeX control that would do it if you are using
> CVI 6.0. I believe internet explorer ActiveX control would work.
>
> Best Regards,
>
> Chris Matthews
> National Instruments
0 Kudos
Message 3 of 5
(3,314 Views)
Yes, I would like to get a copy of this instrument driver. Could you please email it to me at david.haaland@goodrich.com? Thank you.
David Haaland
0 Kudos
Message 4 of 5
(3,314 Views)
Why don't you simply go to http://www.gdargaud.net/Hack/LabWindows.html and use the png and jpg routines available here.

Best ragards, Philippe
Visit www.baucour.com
0 Kudos
Message 5 of 5
(3,314 Views)