LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview的vi文件打包到新电脑上,在新电脑上检测不到物理通道。

Solved!
Go to solution

大家好,

 

我在A电脑上安装并编写了Labview程序,期间用到cDAQ包来读取来自于NI仪器的信号。此时在A电脑上运行exe文件时时没有问题的。

 

我将该程序打包成exe和install文件并安装在B电脑中,B电脑是没有任何Labview及相关的程序。

 

打包时自动包括三个附加包:

NI Labview Runtime 2021 64bit

NI UsiCore 21.1.0

NI-DAQ max Runtime 21.0

 

然而此时在B电脑上运行exe文件,里面的物理通道列表检测不到任何物理通道。然而我查阅C盘中的Program文件夹,里面的National Instrument文件夹中包括MAX, MXI, NI-DAQ, NI-QPXI, NI Controller Driver等文件。

 

请问接下来我应该怎么解决这个问题。

 

0 Kudos
Message 1 of 3
(117 Views)
Solution
Accepted by topic author Xin_Peng

@Xin_Peng wrote:

Hello everyone,

I installed and wrote a Labview program on computer A, and used the cDAQ package to read signals from NI instruments. There is no problem running the exe file on computer A.

I packaged the program into exe and install files and installed it on computer B, which does not have any Labview or related programs.

Three additional packages are automatically included when packaging:

NI Labview Runtime 2021 64bit

NI UsiCore 21.1.0

NI-DAQ max Runtime 21.0

However, when running the exe file on computer B, the physical channel list inside cannot detect any physical channels. However, I checked the Program folder in the C drive, and the National Instrument folder inside included MAX, MXI, NI-DAQ, NI-QPXI, NI Controller Driver and other files.

Please ask how I should solve this problem next.

 


Make sure your device is detected in NI MAX on the deployment PC as well.

-------------------------------------------------------
Applications Engineer | TME Systems
0 Kudos
Message 2 of 3
(73 Views)

感谢您的建议。我在电脑B安装了NI MAX和相关的环境。

 

现在exe文件可以在电脑B中运行,并且安装到电脑B的exe软件也检测到了物理通道。👍

0 Kudos
Message 3 of 3
(42 Views)