User | Kudos |
---|---|
10 | |
3 | |
2 | |
2 | |
2 |
We already have inline VIs that are compiled directly into the code, just as if you had wired the code on your diagram. Imagine if we could designate some of the inputs and outputs as polymorphic. We could create VIs that do simple math operations, comparisons and other stuff without having to create a dozen versions for the different inputs and outputs possible.
I think the outputs would have to be either a fixed type or same as a selected input. Some inputs, such as strings, wouldn't work in many cases. If the input wired to the inline VI was not compatible, it would just fail to compile and give you a broken wire, just as if you had wired the same code into your diagram. It really would just be a block of code that could easily be added to a diagram as a VI, but it would be recompiled based on the inputs.
Bruce
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.