Jump to content

Create a Control in Front Panel


MViControl

Recommended Posts

Posted

Hi all,

Is there a way to create a contol on Front Panel by code dynamicaly?

I known you may say using "VI scripting", but I found the control can only been created on a new opened VI rather than the VI which have the creating code.

Can anybody point me a way?

Posted

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.

Posted

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... ;)

Posted

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. ;)

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.