예제 #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            SortedList <string, string> rs = Vision.RunCam1Program(Vision.Tb1.Inputs["Image"].Value as Cognex.VisionPro.ICogImage);

            Vision_Cam1ResultAvailable(null, new VisionResultAvailableEventArgs(Vision.Tb1.CreateLastRunRecord(), rs));
        }
예제 #2
0
        private void btnRun1_Click(object sender, EventArgs e)
        {
            string rs = string.Join("\r\n", Vision.RunCam1Program(Vision.Tb1.Inputs["Image"].Value as ICogImage));

            MsgBox.Show(rs);
        }