LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to correctly temporarily disable all channels except one in multichannel PID control loop?

Solved!
Go to solution

Hi All

Help me please resolve the one problem. How to correctly temporarily disable/enable all channels except one in multichannel PID control loop?

 

Thanks in advance,

Oleg

0 Kudos
Message 1 of 5
(2,746 Views)
Solution
Accepted by topic author OlegUA

Hi Oleg,

 

the "Auto?" input of the AdvancedPID is an array - as are sp and pv inputs.

 

So what's the problem in dis-/enabling just one control loop (aka input) instead of all?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(2,705 Views)

Hi Greg
Could you provide me some example? I would appreciate if you could take any existing example (may be Multi Channel PID.vi from LabView examples folder) and show me which values I should provide to the manual inputs. I've tried to play with it but unsuccessfully. 😞

 

Thanks in advance,

Oleg

0 Kudos
Message 3 of 5
(2,677 Views)

Hi Oleg,

 

who is "Greg"?

 

which values I should provide to the manual inputs.

You should provide the values you want to set at manual control. If you want bumpless switching you should provide the last value from automatic control…

 

I've tried to play with it but unsuccessfully.

Whenever you "try" something you should attach your VI. We will provide hints and comments for improvements…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 5
(2,652 Views)

I'm sorry, Gerd. I hope you excuse me for this mistake.

 

I've sorted out with your idea a more tight. Currently I've decided to use it (see attached picture) for freezing current state.

 

Thanks you for help.

Oleg


manual mode.png

0 Kudos
Message 5 of 5
(2,635 Views)