public void UseSettingOn(DT5780 mca, int channel)
 {
     mca.set_TriggerThreshold(channel, TriggerLevel);
     mca.set_TriggerFilterSmoothing(channel, SmoothingFactor);
     mca.set_PreTrg(channel, 0);
     mca.set_TriggerHoldoff(channel, TriggerHoldoff);
     mca.SetChannelSelfTriggerMode(channel, SelfTrigger);
     mca.SetInputRange(channel, InputRange);
 }