LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

take screenshot of part of front panel

Solved!
Go to solution

Hi all,

 

I have a vi that contains a tab control, a box, 2 picture control and a save button. I drag and drop "the box" on the "Pictr - 1".
What i want is, after the drag&drop process, when i press the "save" button, take a screenshot of "Pictr - 1" (with box). Then insert the this screenshot to "Pictr - 2". How can i do that?

(in the save event, i try to use write and read functions, but it does not work and get the error 1. I'm not good at using "Graphics Formats")


Or take screenshot of part of front panel (which includes pictr - 1) then insert it to Pictr - 2. I can take screenshot of all front panel (in the diagram disable structure) but it is not what i want. So is there any way of saving part of front panel as picture?

 

Best Regards.

Thanks!
~drycsr~
0 Kudos
Message 1 of 3
(5,413 Views)
Solution
Accepted by topic author drycsr

I'm not clear on what you're after, but this might get you started.  You can get the subset rectangle from the coordinates of the original picture.

Example_VI_BD.png

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

Message 2 of 3
(5,388 Views)

Thank you jcarmody it works. : )

Thanks!
~drycsr~
0 Kudos
Message 3 of 3
(5,372 Views)