• 大小: 0.05M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签: C#  

资源简介

C#联合Ni Vision采集图片

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

using NationalInstruments.Vision.Acquisition.Imaqdx;
namespace WindowsFormsApplication1
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender EventArgs e)
        {
            ImaqdxSession abc = new ImaqdxSession(“aaa“);
            abc.ConfigureGrab();
            abc.Grab(imageViewer1.Imagefalse);
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        144  2019-09-16 13:52  grabc#\WindowsFormsApplication4\app.config

     文件      11600  2019-09-16 13:51  grabc#\WindowsFormsApplication4\bin\Debug\WindowsFormsApplication1.vshost.exe

     文件        490  2016-04-13 07:23  grabc#\WindowsFormsApplication4\bin\Debug\WindowsFormsApplication1.vshost.exe.manifest

     文件       9216  2019-09-16 13:54  grabc#\WindowsFormsApplication4\bin\Debug\WindowsFormsApplication4.exe

     文件        144  2019-09-16 13:52  grabc#\WindowsFormsApplication4\bin\Debug\WindowsFormsApplication4.exe.config

     文件      22016  2019-09-16 13:54  grabc#\WindowsFormsApplication4\bin\Debug\WindowsFormsApplication4.pdb

     文件      11600  2019-09-23 09:47  grabc#\WindowsFormsApplication4\bin\Debug\WindowsFormsApplication4.vshost.exe

     文件        144  2019-09-16 13:52  grabc#\WindowsFormsApplication4\bin\Debug\WindowsFormsApplication4.vshost.exe.config

     文件        490  2016-04-13 07:23  grabc#\WindowsFormsApplication4\bin\Debug\WindowsFormsApplication4.vshost.exe.manifest

     文件        658  2019-09-16 13:54  grabc#\WindowsFormsApplication4\Form1.cs

     文件       2752  2019-09-16 13:54  grabc#\WindowsFormsApplication4\Form1.Designer.cs

     文件       5817  2019-09-16 13:54  grabc#\WindowsFormsApplication4\Form1.resx

     文件      11445  2019-09-16 13:52  grabc#\WindowsFormsApplication4\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       6825  2019-09-16 13:54  grabc#\WindowsFormsApplication4\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件       4608  2019-09-16 13:52  grabc#\WindowsFormsApplication4\obj\x86\Debug\TempPE\Properties.Resources.Designer.cs.dll

     文件        180  2019-09-16 13:54  grabc#\WindowsFormsApplication4\obj\x86\Debug\WindowsFormsApplication1.Form1.resources

     文件        180  2019-09-16 13:54  grabc#\WindowsFormsApplication4\obj\x86\Debug\WindowsFormsApplication1.Properties.Resources.resources

     文件       1060  2019-09-23 09:47  grabc#\WindowsFormsApplication4\obj\x86\Debug\WindowsFormsApplication4.csproj.FileListAbsolute.txt

     文件        975  2019-09-16 13:54  grabc#\WindowsFormsApplication4\obj\x86\Debug\WindowsFormsApplication4.csproj.GenerateResource.Cache

     文件       9216  2019-09-16 13:54  grabc#\WindowsFormsApplication4\obj\x86\Debug\WindowsFormsApplication4.exe

     文件      22016  2019-09-16 13:54  grabc#\WindowsFormsApplication4\obj\x86\Debug\WindowsFormsApplication4.pdb

     文件        505  2019-09-16 13:51  grabc#\WindowsFormsApplication4\Program.cs

     文件       1398  2019-09-16 13:51  grabc#\WindowsFormsApplication4\Properties\AssemblyInfo.cs

     文件       2888  2019-09-16 13:52  grabc#\WindowsFormsApplication4\Properties\Resources.Designer.cs

     文件       5612  2019-09-16 13:51  grabc#\WindowsFormsApplication4\Properties\Resources.resx

     文件       1124  2019-09-16 13:52  grabc#\WindowsFormsApplication4\Properties\Settings.Designer.cs

     文件        249  2019-09-16 13:51  grabc#\WindowsFormsApplication4\Properties\Settings.settings

     文件       4322  2019-09-16 13:54  grabc#\WindowsFormsApplication4\WindowsFormsApplication4.csproj

     文件        143  2019-09-16 13:52  grabc#\WindowsFormsApplication4\WindowsFormsApplication4.csproj.user

     文件        914  2019-09-16 13:52  grabc#\WindowsFormsApplication4.sln

............此处省略15个文件信息

评论

共有 条评论