The document describes a hands-on lab using a PowerFlex drive to control fan speed using a PI regulator to maintain constant air pressure. The drive is configured to use a constant setpoint as the reference and an analog input for feedback from a pressure transducer. Digital and analog I/O are configured and the PI regulator is tuned by adjusting proportional gain and integral time parameters to control fan speed in response to a simulated pressure demand change using a damper.