The controller can perform calculations and comparisons based on the received signals to control a process parameter or parameters, such as gas flow rates, exhaust rate, chamber processing, substrate temperature, substrate position in the chamber, and plasma energy and/or bias, if appropriate, among other parameters.