Welcome![Sign In][Sign Up]
Location:
Search - use LabVIEW Call Library Function with c Sharp D

Search list

[CSharpCsharp_Lv

Description: 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
Platform: | Size: 76800 | Author: zhw63 | Hits:

CodeBus www.codebus.net