modifying PlasmaDataAcquisition for my own application