Standalone compiled application to another computer with anterior version of DaQmx, don't see Ni cards
2 views (last 30 days)
Show older comments
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 Comment
Mario Malic
on 14 Mar 2024
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.
Answers (0)
See Also
Categories
Find more on Data Acquisition Toolbox Supported Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!