Code used for Sensing Data Acquisition