Example #1
0
        /// <summary>
        /// connect event
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void button1_Click(object sender, EventArgs e)
        {
            this.readCnt = 0;

            this.mvFile = new MachineVision.File(
                this.SaveAviCheckBox.Checked,
                this.ReadAviCheckBox.Checked,
                Convert.ToInt32(this.IntervalTxtBox.Text)
                );

            if (this.CutEdgeCheckBox.Checked == true)
            {
                this.eaef = new Eaef(ZgcGraph1);
            }

            this.MachineVisionTimer.Interval = Convert.ToInt32(this.IntervalTxtBox.Text);
            this.MachineVisionTimer.Enabled  = true;
        }
Example #2
0
        /// <summary>
        /// connect event
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void button1_Click(object sender, EventArgs e)
        {
            this.readCnt = 0;

            this.mvFile = new MachineVision.File(
                this.SaveAviCheckBox.Checked,
                this.ReadAviCheckBox.Checked,
                Convert.ToInt32(this.IntervalTxtBox.Text)
                );

            if (this.CutEdgeCheckBox.Checked == true)
            {
                this.eaef = new Eaef(ZgcGraph1);
            }

            this.MachineVisionTimer.Interval = Convert.ToInt32(this.IntervalTxtBox.Text);
            this.MachineVisionTimer.Enabled = true;
        }
Example #3
0
 /// <summary>
 /// Machine Vision Connect
 /// </summary>
 private void MachineVisionConnect()
 {
     this.mvFile = new MachineVision.File(
        this.VisionSaveCheckBox.Checked,
        this.VisionReadCheckBox.Checked,
        Convert.ToInt32(this.TimerIntervalTxtBox.Text)
        );
 }