A General-Purpose Online Measurement System for Resonant BAW Sensors