how to use data acquisition toolbox in a deployed application?

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 件のコメント

Adi Natan
Adi Natan 2015 年 1 月 9 日
Same problem here... would be happy to learn of a solution.

サインインしてコメントする。

回答 (2 件)

Mike Damianakis
Mike Damianakis 2014 年 5 月 15 日

0 投票

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 2014 年 10 月 15 日

0 投票

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.

カテゴリ

ヘルプ センター および File ExchangeData Acquisition Toolbox Supported Hardware についてさらに検索

質問済み:

2013 年 7 月 17 日

コメント済み:

2015 年 1 月 9 日

Community Treasure Hunt

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

Start Hunting!

Translated by