Standalone compiled application to another computer with anterior version of DaQmx, don't see Ni cards

2 次查看(过去 30 天)
Hello,
I have a problem with my standalone application. I try to read data of an NI Card but my version of daqmx when i compiled executable is 2022 and in the computer where I install the application it's 2019 (because it's on windows 7 and i can't install uppgrade version). And my application error is : No ni card or Daqmw driver versions uncorrect.
Existing a code ligne to works with an downgrade version of daqmx ? Or aybe the standalone application can just work with DaQmx 2022 and more ?
Here is my code to read daqlist :
v = daqvendorlist;
vend = table2array(v(1,1));
app.dq = daqlist(vend);
app.dq = daq("ni");
app.dq.Rate = 2000;
addinput(app.dq, "Dev5", "ai2", "Voltage");
Thanks in advance.
  1 个评论
Mario Malic
Mario Malic 2024-3-14
Can you try to run the compiled app on your PC? is it possible that DAQ toolbox support for MATLAB is not packaged with the app?
Check installed daqmx driver on the machine you are installing your app on. DAQmx drivers up to some version are supported till R2018B, with 2019a there are newer ones. I think 2022 should work with DAQmx versions above 18.0 IIRC, so better to check that compatibility.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Acquisition Toolbox Supported Hardware 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by