LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos
David_L

Allow editing an XControl while it is in use in another VI

Status: Declined
Functionality already in LabVIEW.

Currently you cannot edit the XControl components (facade VI, Init VI etc)  if the XControl is in use in another VI in memory. However during development I always want to be able to make a change to my XControl and then test it out.  This involves deleting the XControl from the test VI, making changes, re-adding the XControl, and then rewiring it to anything it's connected to.  

 

xcontrollock.png

 

I understand that the XControl is always running so it needs to be compiled in order to view on the front panel.  However it would be nice if there were some easier way of "stopping" or "disconnecting" an XControl so that it can be edited easier.  I don't know the best implementation of this idea, but I urge any XControl users to comment with their thoughts.  

6 Comments
tst
Knight of NI Knight of NI
Knight of NI

Today you should already be able to right click the XControl in the project and select the Unlock Library for Editing option. This should unlock the XControl and break all the VIs which use it until you apply the changes.


___________________
Try to take over the world!
elset191
Active Participant

@tst wrote:
Today you should already be able to right click the XControl in the project and select the Unlock Library for Editing option.

Unless you have the same problem as me.

--
Tim Elsey
Certified LabVIEW Architect
David_L
Active Participant

Well... Shoot... Don't I feel silly..

 

That was a quick feature implementation.  COMPLETED!

G-Money
NI Employee (retired)
Status changed to: Declined
Functionality already in LabVIEW.
AristosQueue (NI)
NI Employee (retired)

> Well... Shoot... Don't I feel silly..

 

Don't feel too silly. It isn't exactly obvious. If you can figure out a way to make that feature more discoverable, that would be a worth idea to post to the Exchange. R&D kicked it around for a while when XControls were created and that was the best we came up with. Not exactly one of our "swing for the fences" moments.

David_L
Active Participant

Would it make sense to add some button to the toolbar of the facade VI (or other components that need to be edited) that would unlock the VI for editing?  It could probably just do the same exact action as the right-click option, but be much more obvious and even take one less step than switching to the XControl Project window.