Description: 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
File list (Check if you may need any files):
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