Limit downsampling frequency by using event triggers
In previous version, the asub record which downsamples waveform was processed every time the PV was updated. That can be problematic when the waveform updates frequently. To solve that problem, event trigger template was triggered. User can change frequency with which event will be triggered. That event later triggers downsampling mechanism which helps to save resources.