LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get all text from front panel programmatically

Hey guys. I am looking for a way to programmatically get all of the visible text from the front panel of a vi. Currently I'm getting all control references and for each control getting the type and using property nodes to extract the text that is visible depending on which control type it is. It works fine, but I'm wondering if anyone has a tool out there that does this or can think of a more efficient way of doing it?

0 Kudos
Message 1 of 4
(3,387 Views)

Would this work for you?

 

(There is also a method to do it programmatically)

0 Kudos
Message 2 of 4
(3,380 Views)

@altenbach wrote:

Would this work for you?

 

(There is also a method to do it programmatically)


These methods will return you all the strings in the VI except the values in the controls (labels, captions, list items, etc). If you want absolutely all the strings, you'd need to combine the method above with the one danijobe is already doing.

0 Kudos
Message 3 of 4
(3,364 Views)

OpenG has a function in the Variant Config File menu called Write Panel to INI. This works for writing control values to a file. 

MGI has a function called Save Front Panel Data that does basically the same thing. 

aputman
0 Kudos
Message 4 of 4
(3,351 Views)