LabVIEW Idea Exchange

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

Build shared library (DLL) - Define VI prototype: Allow content of cluster to be selected from 'VI output' for returnvalue or output value

Status: Declined

Any idea that has received less than 3 kudos within 3 years after posting will be automatically declined.

I have a VI with a cluster and an error out as output (just an example).

 

When adding this vi into a shared library (DLL), I run into a few problems which in my opinion shouldn't be a problem.

- I cannot select error out.code as return value for the function (only selection of int32 allowed)

- neither can I choose to output just several of my results from inside the cluster.

 

So I have to edit my vi before all of this becomes possible:

unbundle code from error out (and mess up my beautiful FP) AND connect it to the connector pane (because otherwise it does not show up in the list), so it can be used as a return code (or output value)

- unbundle the desired results from the cluster AND connect it to the connector pane (because otherwise it does not show up in the list) and hoping I have enough spare terminals? available.

 

2 Comments
fabric
Active Participant
I don't see huge benefit in digging into output clusters, but I think it definitely makes sense to allow the "code" from the error out cluster to be used for the return code (at least when the error status is TRUE). Kudos for that 🙂
Darren
Proven Zealot
Status changed to: Declined

Any idea that has received less than 3 kudos within 3 years after posting will be automatically declined.