Jump to content

Create a Control in Front Panel


MViControl

Recommended Posts

You can't dynamically make a control within a VI. What are you trying to accomplish?

I want to build a XControl which could allow user add buttons by input button tag dymanically, I had ever thought this can be implimented by VI scripting, but finaly found the control can only been created in a new opened VI.

Link to comment

I want to build a XControl which could allow user add buttons by input button tag dymanically, I had ever thought this can be implimented by VI scripting, but finaly found the control can only been created in a new opened VI.

Controls can be added to any VI at edit time, no matter if it's a newly created VI or not.

What is the purpose of this XControl you want to create? There might be way to achieve your goal other then creating a LabVIEW Development Environment by yourself... ;)

Link to comment

Controls can be added to any VI at edit time, no matter if it's a newly created VI or not.

What is the purpose of this XControl you want to create? There might be way to achieve your goal other then creating a LabVIEW Development Environment by yourself... ;)

To be honest, I am studying the Xcontrol technique of LabVIEW, and I found if we can create controls by code, then we could dynamically change the GUI, it just a try.

P.S I do not want to creating LabVIEW DE by myself, I just want to try the capbility when I saw the VI scripting functions. ;)

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.