I need to acquire some analog signals and read a digital signal at fixed sampling frequency. What is the correct way for do this?
Note that this is not trivial because during the acquisition process, at given sampling time, the digital signal can missing due the fast sampling rate respect to the digital signal frequency. For example think at digital square wave of 50Hz frequency and a sampling rate of 100Hz.