Jump to content

Installing XControl in User.lib


Recommended Posts

How are you supposed to add an xcontrol to your user.lib / LabVIEW IDE?

If you just copy the xctl file and its support files into user.lib the user.lib palette will get populated with the support VIs, but not the control? Should it not be possible to add an xcontrol to your library of controls just as easily as adding a standard control? In my mind the xctl file should contain everything and should show up as a control on your palette when dropped into the lib folder, but is there any such functionality today?

PS. There are many x-controls that could have been part of OpenG e.g. (like the IP address string control, the intellisense string control (I think I picked that one up here once, but it is gone now)...but perhaps its due to a lack of support that they have not become that commonplace in toolkits etc.?

Edited by Mads
Link to comment

Unfortunatly NI is looking at XControls as second class citizens.

I filed a bug because LabVIEW is ignoring .xctl files in user.lib during auto-indexing of the palettes, but this was rejected.

My current work is:

-Move the XControl and all of the sub-vis into an hidden directory (starting with an underscore '_')

-Create a palette file next to the hidden directory that contains the actual XControl, and any other controls/VIs I want to expose

Move those to files/folders into user.lib

I posted anIdea on the Idea Exchange about this behaviour, that definitly needs more votes (currently 9 :nono:), where JGcode mentions that he got a CAR (236395 )

Ton

  • Like 1
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.