A distributed data acquisition architecture for magnetic positioning systems