LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
Intaris

Keep instance type when replacing with polymorphic VI

Status: New

I have a case where I have bundled a set of command parsers which present an API to a module into a polymorphic VI.

 

I have a lot of test code which I want to now update with this polymorphic VI.  The Polymorphic VI is set to be manually adapted, it does NOT autoadapt depending on the data wired (several instances have the exact same connector pane). I also have the selector visible.

 

When I replace Instance X (which is a member of the polymorphic VI) it replaces with Instance Y (which appears to be the default).  I then need to go and manually re-select Instance X.  What would be nice would be if the polymorphic VI is set to not autoadapt, and the VI being replaced is an instance in the Polymorphic VI, then the instance should be retained when replacing with the Polymorphic VI.

 

Or would anyone object strongly to this?

1 Comment
AristosQueue (NI)
NI Employee (retired)

As a member of LV R&D: Seems like a reasonable request. I can't think of anything this would break.

 

As a G programmer: I'll add my personal kudos.