Exemple #1
0
 private void CardWindow_FormClosed(object sender, FormClosedEventArgs e)
 {
     try {
         if (m_maiDevice != null)
         {
             m_maiDevice.ClearAllChannelLists();
         }
     }
     catch (Exception x) {
         MessageBox.Show(x.Message);
     }
 }
        private void StopMeasAndClear()
        {
            m_maiDevice.DAChannels.StopNotificationThread();
            m_maiDevice.DAChannels.StopOutput();

            m_maiDevice.ADChannels.DataSink.Disable();
            m_maiDevice.StopMeasure();
            m_maiDevice.ClearAllChannelLists();
        }