how to use data acquisition toolbox in a deployed application?
조회 수: 2 (최근 30일)
이전 댓글 표시
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
답변 (2개)
Mike Damianakis
2014년 5월 15일
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.
댓글 수: 0
David
2014년 10월 15일
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.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Hardware Discovery and Setup에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!