05-02-2011 01:36 PM
Hi!
I know the PID.vi can be used in a multichannel way, and this case the different PID controls do not distrube each others. What about if I use in the same while loop two PID.vi's to control two independent processes? Will they effect each other? I want them to work independently, how can I manage this?
Thanks!
Solved! Go to Solution.
05-02-2011 02:07 PM
I have found this:
http://forums.ni.com/t5/LabVIEW/mult-channel-PID-control-using-PID-Toolkit/m-p/514477#M244655
So it means that, they do effect each others. What about if I somehow save the PID.vi into another name, and I have the same VI but with different locations: PID1.vi and PID2.vi. In this case, I guess they will not effect each other, since they are now different VIs?
05-02-2011 02:16 PM
Sorry, I don't have the toolkit. Could you check if PID.vi is reentrant?
05-02-2011 02:22 PM
I think so...it means that, i just have to untick the checkbox?
I have attached the screenshot.
thanks for help!
05-02-2011 02:26 PM - edited 05-02-2011 02:26 PM
If they are reentrant, each instance in the diagram will work independently and that's want you want. No changes necessary.
(Never ever modify system VIs or things will break with the next software upgrade :()
05-02-2011 02:35 PM
thanks very much, I always mix up the two things 🙂 So I keep them as default, and they will work independently if there are more then one in the same while loop, this is just what i need.