From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a button that saves the frontpanel-image to file?

Solved!
Go to solution

Hello,

i want to add a button to my dialog-window that saves the  front-panel to a jpeg/bmp-file.

How can this be done?

 

Thanks

0 Kudos
Message 1 of 5
(2,442 Views)
Solution
Accepted by topic author OnlyOne

Hi Onlyone,

 

Try this link, http://digital.ni.com/public.nsf/allkb/09FAC3BEE5B9C38B862570EC00698237

 

option 3 will be useful for you I think

Message 2 of 5
(2,438 Views)

Hi, OnlyOne,

 

I'm not sure if this way is what you want.

 

 20141119005.JPG

Message 3 of 5
(2,430 Views)

Thanks. Exactly what i needed.

But the jpeg-quality is very poor. Also in ColorDepth=24 it looks not very good.

But it works

Thx

0 Kudos
Message 4 of 5
(2,421 Views)
Solution
Accepted by topic author OnlyOne

Use PNG instead of JPG…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 5 of 5
(2,393 Views)