Added check for number of PGA devices