文件名称:Csharp_Lv
- 所属分类:
- C#编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 75kb
- 下载次数:
- 0次
- 提 供 者:
- zh***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
C#调用LV做成的DLL
主要为Boolean、数值、字符串、路径、数组、VISA设置名称
Boolean可以用数值代替,false:0 ture:1
路径及VISA设备名称可以改为字符串型。
注意:可以将Lv的输出字符串定义为32位。
在定义Labview的函数时,都使用Standard Calling Conventions。值型的Bass by都设置为Value,字符串型设置为C String Pointer。
在定义函数参数时,注意Labview与C#的数据类型必须相同。
Csheap中的函数名称必须与Labview中的函数名称一致。否则Csheap报告“无法找到入口点”。函数中的参数可以不同。
例子:主程序CallLv.sln;LV库程序:lvllb.lvproj
-C# call DLL caused LV mainly Boolean, numerical, string, path, array, VISA set name in lieu of Boolean values can be used, false: 0 ture: 1 path and the name of VISA equipment could be converted to string type. Note: Lv output can be defined as a 32-bit string. Labview in the definition of the function, use the Standard Calling Conventions. Bass by value type are set to Value, string-type is set to C String Pointer. Function parameters in the definition, the attention of Labview and C# data types must be the same. Csheap in Labview function name must be consistent in the name of the function. Otherwise Csheap report " can not find entry point." Function of the parameters can be different. Example: the main program CallLv.sln LV Treasury program: lvllb.lvproj
主要为Boolean、数值、字符串、路径、数组、VISA设置名称
Boolean可以用数值代替,false:0 ture:1
路径及VISA设备名称可以改为字符串型。
注意:可以将Lv的输出字符串定义为32位。
在定义Labview的函数时,都使用Standard Calling Conventions。值型的Bass by都设置为Value,字符串型设置为C String Pointer。
在定义函数参数时,注意Labview与C#的数据类型必须相同。
Csheap中的函数名称必须与Labview中的函数名称一致。否则Csheap报告“无法找到入口点”。函数中的参数可以不同。
例子:主程序CallLv.sln;LV库程序:lvllb.lvproj
-C# call DLL caused LV mainly Boolean, numerical, string, path, array, VISA set name in lieu of Boolean values can be used, false: 0 ture: 1 path and the name of VISA equipment could be converted to string type. Note: Lv output can be defined as a 32-bit string. Labview in the definition of the function, use the Standard Calling Conventions. Bass by value type are set to Value, string-type is set to C String Pointer. Function parameters in the definition, the attention of Labview and C# data types must be the same. Csheap in Labview function name must be consistent in the name of the function. Otherwise Csheap report " can not find entry point." Function of the parameters can be different. Example: the main program CallLv.sln LV Treasury program: lvllb.lvproj
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Csharp_Lv
.........\bin
.........\...\Debug
.........\...\.....\CallLVdll.exe
.........\...\.....\CallLVdll.ini
.........\...\.....\CallLVdll.pdb
.........\...\.....\lvlnk.aliases
.........\...\.....\lvlnk.dll
.........\...\.....\lvlnk.h
.........\...\.....\lvlnk.ini
.........\...\.....\lvlnk.lib
.........\...\.....\StringCharExch.dll
.........\...\.....\StringCharExch.pdb
.........\CallLv.cs
.........\CallLv.csproj
.........\CallLv.Designer.cs
.........\CallLv.resx
.........\CallLv.sln
.........\lv
.........\..\lvdll.vi
.........\..\lvllb.aliases
.........\..\lvllb.lvproj
.........\obj
.........\...\CallLv.csproj.FileList.txt
.........\...\CallLv.csproj.FileListAbsolute.txt
.........\...\Debug
.........\...\.....\CallLv.csproj.GenerateResource.Cache
.........\...\.....\CallLVdll.exe
.........\...\.....\CallLVdll.pdb
.........\...\.....\Cdll.CallLv.resources
.........\...\.....\Csharpdll.Properties.Resources.resources
.........\...\.....\ResolveAssemblyReference.cache
.........\...\.....\TempPE
.........\Program.cs
.........\Properties
.........\..........\app.manifest
.........\..........\AssemblyInfo.cs
.........\..........\Resources.Designer.cs
.........\..........\Resources.resx
.........\..........\Settings.Designer.cs
.........\..........\Settings.settings
.........\readme.txt
.........\bin
.........\...\Debug
.........\...\.....\CallLVdll.exe
.........\...\.....\CallLVdll.ini
.........\...\.....\CallLVdll.pdb
.........\...\.....\lvlnk.aliases
.........\...\.....\lvlnk.dll
.........\...\.....\lvlnk.h
.........\...\.....\lvlnk.ini
.........\...\.....\lvlnk.lib
.........\...\.....\StringCharExch.dll
.........\...\.....\StringCharExch.pdb
.........\CallLv.cs
.........\CallLv.csproj
.........\CallLv.Designer.cs
.........\CallLv.resx
.........\CallLv.sln
.........\lv
.........\..\lvdll.vi
.........\..\lvllb.aliases
.........\..\lvllb.lvproj
.........\obj
.........\...\CallLv.csproj.FileList.txt
.........\...\CallLv.csproj.FileListAbsolute.txt
.........\...\Debug
.........\...\.....\CallLv.csproj.GenerateResource.Cache
.........\...\.....\CallLVdll.exe
.........\...\.....\CallLVdll.pdb
.........\...\.....\Cdll.CallLv.resources
.........\...\.....\Csharpdll.Properties.Resources.resources
.........\...\.....\ResolveAssemblyReference.cache
.........\...\.....\TempPE
.........\Program.cs
.........\Properties
.........\..........\app.manifest
.........\..........\AssemblyInfo.cs
.........\..........\Resources.Designer.cs
.........\..........\Resources.resx
.........\..........\Settings.Designer.cs
.........\..........\Settings.settings
.........\readme.txt