10-18-2021 02:50 PM
Here is ab example of one of the .NET constructor nodes in my program.
This constructor is for a class called LDAQEvent, and as you can see it takes several input parameters like name, purge, etc.
So far so good, but for each input parameter, on the right side of the constructor node is a connector. When you mouse over the connector, it indicates that it is an output of the corresponding input. For example, when you mouse over the connector on the left of the "name" parameter, it says "String name". Also, when you mouse over the connector on the right of the "name" parameter, it also says "String name".
The implication is that these are pass-thru outputs so that you can have a wire come out of the constructor and pass these values elsewhere, but it doesn't work. If you wire those connectors to ANYTHING it will be a broken wire. You cannot right-click on the connectors and create an indicator. There appears to be nothing you can do with those connectors.
What are they for?
Solved! Go to Solution.
10-18-2021 03:59 PM
Some arguments will have a black triangle on the right side as well, which indicates you can wire it out. I don't know what determines this or if the data is passed through or changed.
10-18-2021 11:43 PM
My guess would be that this is a bug (although basically a cosmetic one). I never actually noticed this myself, because I don't tend to look at the outputs unless the triangle is there.
A long time ago (~7.x) LV did support pass-through on all params in .NET constructors. That was later removed, as this was something that should be defined by the class. My guess would be that this is some residual code from that behavior which NI failed to remove.