• 大小: 0.81M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: can  usb  pci  

资源简介


资源截图

代码片段和文件信息

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

//1.ZLGCAN系列接口卡信息的数据类型。
public struct VCI_BOARD_INFO 

public UInt16 hw_Version;
    public UInt16 fw_Version;
    public UInt16 dr_Version;
    public UInt16 in_Version;
    public UInt16 irq_Num;
    public byte can_Num;
    [MarshalAs(UnmanagedType.ByValArray SizeConst=20)] public byte []str_Serial_Num;
    [MarshalAs(UnmanagedType.ByValArray SizeConst = 40)]
    public byte[] str_hw_Type;
    [MarshalAs(UnmanagedType.ByValArray SizeConst = 8)]
    public byte[] Reserved;
}


/////////////////////////////////////////////////////
//2.定义CAN信息帧的数据类型。
unsaf

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2016-12-23 23:04  c#示例(vs2005)\
     目录           0  2016-12-23 23:04  c#示例(vs2005)\WindowsApplication1\
     目录           0  2016-12-23 23:04  c#示例(vs2005)\WindowsApplication1\WindowsApplication1\
     文件         946  2014-05-29 09:20  c#示例(vs2005)\WindowsApplication1\WindowsApplication1.sln
     文件       18432  2014-05-29 09:20  c#示例(vs2005)\WindowsApplication1\WindowsApplication1.suo
     目录           0  2016-12-23 23:04  c#示例(vs2005)\WindowsApplication1\WindowsApplication1\bin\
     目录           0  2016-12-23 23:04  c#示例(vs2005)\WindowsApplication1\WindowsApplication1\bin\Debug\
     文件       53248  2014-05-29 09:20  c#示例(vs2005)\WindowsApplication1\WindowsApplication1\bin\Debug\ControlCAN.dll
     目录           0  2016-12-23 23:04  c#示例(vs2005)\WindowsApplication1\WindowsApplication1\bin\Debug\kerneldlls\
     文件       53248  2014-05-29 09:20  c#示例(vs2005)\WindowsApplication1\WindowsApplication1\bin\Debug\kerneldlls\CAN232.dll
     文件      294912  2014-05-29 09:20  c#示例(vs2005)\WindowsApplication1\WindowsApplication1\bin\Debug\kerneldlls\CANET_TCP.dll
     文件      143360  2014-05-29 09:20  c#示例(vs2005)\WindowsApplication1\WindowsApplication1\bin\Debug\kerneldlls\CANETE.dll
     文件       40960  2014-05-29 09:20  c#示例(vs2005)\WindowsApplication1\WindowsApplication1\bin\Debug\kerneldlls\gisadll.dll
     文件       40960  2014-05-29 09:20  c#示例(vs2005)\WindowsApplication1\WindowsApplication1\bin\Debug\kerneldlls\gpcidll.dll
     文件       45056  2014-05-29 09:20  c#示例(vs2005)\WindowsApplication1\WindowsApplication1\bin\Debug\kerneldlls\isa5420.dll
     文件         415  2014-05-29 09:20  c#示例(vs2005)\WindowsApplication1\WindowsApplication1\bin\Debug\kerneldlls\kerneldll.ini
     文件       45056  2014-05-29 09:20  c#示例(vs2005)\WindowsApplication1\WindowsApplication1\bin\Debug\kerneldlls\PC104C2.dll
     文件       57344  2014-05-29 09:20  c#示例(vs2005)\WindowsApplication1\WindowsApplication1\bin\Debug\kerneldlls\PC104CAN.dll
     文件       53248  2014-05-29 09:20  c#示例(vs2005)\WindowsApplication1\WindowsApplication1\bin\Debug\kerneldlls\PCI5121.dll
     文件       36864  2014-05-29 09:20  c#示例(vs2005)\WindowsApplication1\WindowsApplication1\bin\Debug\kerneldlls\usbcan.dll
     文件       40960  2016-12-23 22:47  c#示例(vs2005)\WindowsApplication1\WindowsApplication1\bin\Debug\WindowsApplication1.exe
     文件       32256  2016-12-23 22:47  c#示例(vs2005)\WindowsApplication1\WindowsApplication1\bin\Debug\WindowsApplication1.pdb
     文件        5632  2014-05-29 09:20  c#示例(vs2005)\WindowsApplication1\WindowsApplication1\bin\Debug\WindowsApplication1.vshost.exe
     目录           0  2016-12-23 23:04  c#示例(vs2005)\WindowsApplication1\WindowsApplication1\bin\Release\
     文件       53248  2014-05-29 09:20  c#示例(vs2005)\WindowsApplication1\WindowsApplication1\bin\Release\ControlCAN.dll
     目录           0  2016-12-23 23:04  c#示例(vs2005)\WindowsApplication1\WindowsApplication1\bin\Release\kerneldlls\
     文件       53248  2014-05-29 09:20  c#示例(vs2005)\WindowsApplication1\WindowsApplication1\bin\Release\kerneldlls\CAN232.dll
     文件      294912  2014-05-29 09:20  c#示例(vs2005)\WindowsApplication1\WindowsApplication1\bin\Release\kerneldlls\CANET_TCP.dll
     文件      143360  2014-05-29 09:20  c#示例(vs2005)\WindowsApplication1\WindowsApplication1\bin\Release\kerneldlls\CANETE.dll
     文件       40960  2014-05-29 09:20  c#示例(vs2005)\WindowsApplication1\WindowsApplication1\bin\Release\kerneldlls\gisadll.dll
     文件       40960  2014-05-29 09:20  c#示例(vs2005)\WindowsApplication1\WindowsApplication1\bin\Release\kerneldlls\gpcidll.dll
............此处省略31个文件信息

评论

共有 条评论