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

2 visualizaciones (últimos 30 días)
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 comentario
Mario Malic
Mario Malic el 14 de Mzo. de 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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Data Acquisition Toolbox Supported Hardware en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by