Move Labels of Controls Programmatically Using VI Scripting

Updated Jan 5, 2018

Reported In

Software

  • LabVIEW Base
  • LabVIEW Full
  • LabVIEW Professional

Other

VI Scripting

Issue Details

Can I programmatically move the labels of controls and indicators using VI Scripting? 

Solution

Moving the label programmatically can be done using an invoke node to move its position as shown below. 

The Traverse for GObjects VI searches the VI reference and returns an array of references to the objects associated with it. The caption can them be moved in 2D with respect to the object it labels. 

WAS THIS ARTICLE HELPFUL?

Not Helpful