Effacer les filtres
Effacer les filtres

how to use data acquisition toolbox in a deployed application?

2 vues (au cours des 30 derniers jours)
jenni
jenni le 17 Juil 2013
Commenté : Adi Natan le 9 Jan 2015
I have developed a data acquisition program using daqmx.During compiling using 'mcc' no error is shown. But on running the exe ,I get an error 'undefined variable daq or function daq.getDevices'. Any help?
  1 commentaire
Adi Natan
Adi Natan le 9 Jan 2015
Same problem here... would be happy to learn of a solution.

Connectez-vous pour commenter.

Réponses (2)

Mike Damianakis
Mike Damianakis le 15 Mai 2014
This was answer for pre-R2013a here in a thread titled "Why does daq.createSession('ni'), daq.getVendors and daq.getDevices fail in a deployed application using Data Acquisition Toolbox 3.2 (R2012b)?"
I'm having the same problem on R2013a though...no solution yet.

David
David le 15 Oct 2014
I'm running MATLAB 2014a 32bit and receive 'Undefined variable "daq" or class "daq.getDevices"' when running the compiled version. The un-compiled version has no errors and works without problems.

Catégories

En savoir plus sur Hardware Discovery and Setup dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by