Example #1
0
 private void AsuMotionOpen(object sender, EventArgs e)
 {
     NumOfCurDevice = this.cbb_DeviceInfo.SelectedIndex + 1;
     //NumOfCurDevice = 1;
     handle = AsuInvoke.AsuMotion_Open(NumOfCurDevice);
     if (handle == IntPtr.Zero)
     {
         Print("打开设备 " + NumOfCurDevice + " 成功");
     }
     else
     {
         Print("打开设备 " + NumOfCurDevice + " 失败");
     }
 }