Acquisition of digital and analog signals