Howdy! Basically, I'm writing an "Output" class for a generic control program. I wanted to attach a PID as part of the class, but the VI is a FGV and it doesn't work.
To test what was going on, I built a very simple class with a FGV in it and set the access scope of the FGV to "Private". Regardless of this, the data inside the FGV is shared across multiple instances of the class. I fiddled with the VI Reentrancy properties and nothing seemed to help - it was either shared or it didn't work at all.
Short version: should I give up having the PID as part of the class and change my architecture, or is there something else I'm missing?
Edit: Oh, and before someone says "Just feed an array in to the PID, it accepts them", I am fully aware. The point of this was to be able to have PID as part of the Class, and then the outputs basically be an array of this class.