Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

VB.NET如何调用labvIEW生成的互操作程序集出错。

不知道有没有问错板块,我砸vb.net添加引用后,程序运行时出现这样一个错误

 

“未能加载文件或程序集“NationalInstruments.LabVIEW.Interop, Version=1.0.0.0, Culture=neutral, PublicKeyToken=daeb5dc76be4e32a”或它的某一个依赖项。系统找不到指定的文件。”

请问这是什么原因。谢谢了。

 

vb代码部分

Imports labvIEW_Dll.labvIEW_Dll

 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

        Dim str1 As String = "wo"
        Dim str2 As String = ""
        Dim int1 As Double = 30
        Dim int2 As Double = 5
        Dim int3 As Double, int4 As Double
        jiajian(int1, int2, int3, int4)


    End Sub

Download All
0 Kudos
Message 1 of 1
(3,271 Views)