labview调用dll区分语言,用C++写的dll使用“库和函数”这个控件,用C#写的dll使用“.NET ”这个控件。
C#dll的生成和labview的调用
测试在dll中引用外部yml文件后labview再调用会不会报错
- 使用yml(yml语法)作为配置文件,解析yml,引用 YamlDotNet.dll ,在C#代码中写一个Helper类,定义文件路径,然后解析文件放在properties对象中。
private static EnvContextProperties properties;
public static EnvContextProperties Properties
{
get {
return YamlHelper.properties; }
}