LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
Mihály

Abstract VI execution

Status: New

It would be nice to have a performant way to execute an abstract represented VI.

There are currently two generic ways to execute a VI by reference:

- abstract represented but not performant (FP required, running in UI threading)

- specific represented and performant

Executing a VI currently.png

Is it possible to provide such a functionality which combines the advantages of both solutions like this?

Executing a VI proposed.png

This means, the target VI could be handled in abstract way without coupling to the specific VI connector panel.

4 Comments
raphschru
Active Participant

I would love that.

I find this silly to be forced to include a VI's front panel in a build just to be able to call it dynamically.

 

Just to clarify in LabVIEW terms:

 - "abstract represented" > Generic VI Reference

 - "specific represented" > Strictly Typed VI Reference

wiebe@CARYA
Knight of NI

This sounds pretty close to this idea:

Run As SubVI method - NI Community

 

Although this idea has additional motivation...

Mihály
Member

Yes it looks similar, but there is one important difference on my side: it is important to call the VI without restrictions concerning to the front panel, otherwise it will not working:

- by default in executable

- in real-time solutions

wiebe@CARYA
Knight of NI

Yes, I don't mention that explicitly, but only because it makes no sense to require the presence a front panel. None of the 3 methods I mention require a front panel.

 

The emphasis of my idea is that the method would work even if the VI isn't idle.

 

If your proposed Exec VI works like the Run Method, it will fail if the VI isn't idle. So you might want to mention that explicitly.

 

Without that explicit requirement, can't you simply make a that does what you want?