LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multi-axis PID Loop

Solved!
Go to solution

Hi EthanHenry,

 

To echo what ZYOng said, the PID.vi can actually support multiple channels in the same loop.  You can right click on the PID.vi to accept an array input.  Your 1st number in array will be setpoint for channel 1, 2nd number in array will be setpoint 2, etc.  Same for output.  Internal to the PID.vi, it keeps separate shift registers to remember the data for each channel.  You can also set different PID parameters for each channel. 

 

Check out this shipping example: <LabVIEW folder>\examples\control\PID\Multi Channel PID.vi

 

BR

John

Add motion to LabVIEW in 30min or less - TENET EMotion
Finding it hard to source NI hardware? Try NI Trading Post

 

 

 

0 Kudos
Message 11 of 11
(159 Views)