LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get Image of front panel object

Solved!
Go to solution

Hi!,

    I have been trying to capture a portion of the front panel using invoke node. I tried to follow what is mentioned in https://decibel.ni.com/content/docs/DOC-3652 to  implement this. The problem I am having is that when I try to change the method of invoke node to Front Panel>>Get Image, I notice that I dont even have an option called Front Panel in my method's list. I noticed that the invoke node has a label -'strict' associted with it. How do I change it? 

Thanks

0 Kudos
Message 1 of 5
(4,754 Views)
Solution
Accepted by topic author kim!

Your invoke node shows you the methods for the XYGraph class (and all the classes it inherits from). The example shows a method for the VI class. You can either open a reference to a VI, as shown in the example, or you can disconnect the reference from the node and right click it to navigate the hierarcy and select the VI class, which default to operating on the VI the node is in.

 

Also, the Control class (which XYGraph inherits from) should have its own Get Image method and I think graphs have specific methods for exporting images in scalable formats.


___________________
Try to take over the world!
Message 2 of 5
(4,735 Views)

Thanks a lot! 

0 Kudos
Message 3 of 5
(4,714 Views)

just wanted to add an example of the mentioned Get Image Method of the XYGraph.

 

 

Message 4 of 5
(4,652 Views)

Thanks!

0 Kudos
Message 5 of 5
(4,631 Views)