Jump to content
Mefistotelis

Series of VIs with one control inside

Recommended Posts

I need a group of VI files, each containing only one control on Front Panel. Basically, I want every control available in LV menus in its own separate VI.

Is there a way to automate creation of such VIs?

 

Share this post


Link to post
Share on other sites

Did you have a look at VI Scripting? If not, check the following example - [LabVIEW]\examples\Application Control\VI Scripting\Creating Objects\Adding Objects.vi To be able to create controls or indicators you should open the BD and change VI server class for "Function" constant to Generic -> GObject -> GObject. Then you change "Subtract" constant to something like "Numeric Control" and run the VI.

Hope, this will help you move further with your task.

  • Thanks 1

Share this post


Link to post
Share on other sites

Wow.. yes, that seem to work exactly as I expected. Makes a new VI file with given control.

Can I make it iterate through all the types and open every possible VI in one run?

Share this post


Link to post
Share on other sites

Thanks!

That is quite strange that I know exactly how LabVIEW works, but can't properly use it for what it is intended.

 

Share this post


Link to post
Share on other sites

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.