I see there are some questions posted on this already, but I don't quite get the answers I want.
My problem is that I have a top-vi with a package of data for each machine we're operating.
These data are organized into a cluster (for each machine) which is then put into a one dimensional array.
The code for manipulating this is quite complex, and I'd like to put it into a sub-vi. The data have a front panel object
My first approach would be to just pass this array over, modify it and return it. However, I'd also sometimes like to grey out some data that are not relevant.
Next approach would be to pass a reference to the array, and then use this reference to both modify the data and grey out some of the data. However, I don't manage to do this - can anyone give me a receipe for this?
Another approach that could have been useful - especially when I have situations where I call the same sub-vi many places - would be for the sub-vi to have its own front panel that is displayed when you add the vi to the block diagram (basically same functionality as lv built in objects. Is this possible to create?
Thx