02-16-2018 03:54 AM
Hi All,
I have a need of parametrizing the malleable VI, or to be more generic any inlined SubVI.
The basic question is: is it possible to access the BD constants of the malleable (inlined) SubVI (with scripting for example) and store there different data for each instantiated malleable VI (like with the express VI)?
Are there any other methods of achieving what I need?
The example use case would be (it is not my use case, it is just an example 🙂 😞 instead of connecting constant to the Stall Data Flow.vim double click it and set the desired delay.
Solved! Go to Solution.
02-16-2018 05:35 AM
Dear community,
I think I have found the solution myself 🙂
I have to test the approach before sharing but it looks promising until now.
Expected result is in the attached zip.
After running the magic.vi you should get out=1, out 2=14.
02-16-2018 07:37 AM
You did not include the VIM in your zip file.
02-16-2018 10:18 AM
With that User icon your should spell your user name as gPIotr. 😄
/Y
02-16-2018 02:17 PM - edited 02-16-2018 02:26 PM
ahhhh those damn attachments 🙂
A small update as well.
Now the values are numeric with out=0 and out=1 - but it does not matter.
What does is that it remains like that when the application is distributed as a shared library for example (I suppose that it should hold as well for exe and any other type of distribution).