Programmable power and data acquisition modules