LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

print screen front panel to specific path

Solved!
Go to solution

Hello All,

I would like to do print screen from VI front Panel to specific location. I am trying to use "Append Front Panel Image to Report VI" but i Can't add specific path there.

 

Co question is how to do print screen from VI front Panel to location generated programictycallly ? 

 

Best Regards 

0 Kudos
Message 1 of 6
(3,671 Views)

Attach your code, and someone will point out how to fix it.  When you do the attachment (and, please, attach a VI or a LabVIEW Snippet, not a screen shot), also indicate the Path you'd like to use.

 

Bob Schor

0 Kudos
Message 2 of 6
(3,658 Views)
Solution
Accepted by topic author plpablo

Hi pablo,

 

two steps:

- use a method of the VI to read its frontpanel image

- use one of the PictureFile functions to save that image to a file with a path specified by you. (I recommend to use PNG.)

Done.

check.png

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 3 of 6
(3,633 Views)

Hi GerdW,

 

Thank you for answer I see Your labView is in German. Can you tell me name of property in English 

Print screen in attachment 

0 Kudos
Message 4 of 6
(3,625 Views)

Hi pablo,

 

I said you need to use a method and I wrote the translation of the German name in the image…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 5 of 6
(3,623 Views)

Here you can find it:

 

FP-Get Image.png

 

It is important that the Method Node has focus to the selected class "VI". You can force it by wiring a reference constant of "This VI" to the node or select it manually with context menu entry "Select Class" (reference input of method node must be unwired!)

Greets, Dave
Message 6 of 6
(3,617 Views)