Beispiel #1
0
 internal void SetMChannel(CTChannel AICardformChannelCT, FormMeasureCT AIParentForm)
 {
     m_CardFormChannel     = AICardformChannelCT;
     labelChanneltype.Text = m_CardFormChannel.GetMeasurementType();
     labelChannel.Text     = m_CardFormChannel.GetMeasurementChannelCaption();
     label1.Visible        = m_CardFormChannel.MChan.IsADSync;
     m_ParentForm          = AIParentForm;
 }
 internal void SetMChannel(CTChannel AICardformChannelCT, FormMeasureCT AIParentForm)
 {
     m_CardFormChannel = AICardformChannelCT;
     labelChanneltype.Text = m_CardFormChannel.GetMeasurementType();
     labelChannel.Text = m_CardFormChannel.GetMeasurementChannelCaption();
     label1.Visible = m_CardFormChannel.MChan.IsADSync;
     m_ParentForm = AIParentForm;
 }
Beispiel #3
0
        private void buttonCTMeasure_Click(object sender, EventArgs e)
        {
            try {
                FormMeasureCT recCT = new FormMeasureCT(this);
                recCT.ShowDialog();
                m_maiDevice.StopMeasure();


                m_maiDevice.ClearAllChannelLists();
            }
            catch (Exception x) {
                m_maiDevice.StopMeasure();
                m_maiDevice.ClearAllChannelLists();
                MessageBox.Show(x.Message);
            }
        }
        private void buttonCTMeasure_Click(object sender, EventArgs e)
        {
            try {
                FormMeasureCT recCT = new FormMeasureCT(this);
                recCT.ShowDialog();
                m_maiDevice.StopMeasure();

                m_maiDevice.ClearAllChannelLists();
            }
            catch (Exception x) {
                m_maiDevice.StopMeasure();
                m_maiDevice.ClearAllChannelLists();
                MessageBox.Show(x.Message);

            }
        }