User | Kudos |
---|---|
10 | |
7 | |
3 | |
3 | |
3 |
A polymorphic VI always displays input/output labels, captions and tips from the instance VI (makes sense, these aren't defined within the poly-VI). You get a choice of where to get the VI icon from though:
The VI description also follows this selection, which I sometimes find unfortunate. I generally make two kinds of poly-VIs:
1) API or Lib-type poly-VIs, where each function can have very different IO on the con-pane.
2) Type overloading poly-VIs, which contain a bunch of almost identical VIs that only differ in the data type of some "Value" input or output.
In the former case I prefer both VI icon and VI description to come from the instances, but in the latter case I'd like to get the VI icon from the instances and the VI description from the poly-VI (the VI description can be long, only differing maybe in a single sentence, easy to make into a common description for all data types). So in polymorphic VIs I suggest splitting the selection of VI icon and VI description source into two:
Cheers,
Steen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any idea that has received less than 5 kudos within 5 years after posting will be automatically declined.