Compiling an app with addTriggerConnection under R2014a?

I've got an DAQ app which uses NI-DAQmx and the session interface which runs fine under R2014a but when compiled and executed on another PC with the R2014a MCR on the app faults on a addTriggerConnection line. The code I'm using is:
ai = daq.createSession('ni'); chan0=ai.addAnalogInputChannel('Dev1', 0, 'Voltage'); chan1=ai.addAnalogInputChannel('Dev1', 1, 'Voltage'); max_Sample=ai.RateLimit(1,2); ai.addlistener('DataAvailable',@PlotResultsDAQ); ai.addTriggerConnection('External', 'Dev1\PFI0', 'StartTrigger');
This same app compiles and runs fine using R2013a and I've tried two versions of NI-DAQmx with the same result. It seems to be the same 32 or 64 bit.
Any ideas?
Thanks,

回答 (1 件)

Bilgehan paray
Bilgehan paray 2015 年 7 月 7 日

0 投票

I have the same issue with 2014b. Any solutions to this. It says MATLAB:builtins:MessageCatalogLoadFailed

カテゴリ

ヘルプ センター および File ExchangeSimultaneous and Synchronized Operations についてさらに検索

質問済み:

2014 年 4 月 11 日

回答済み:

2015 年 7 月 7 日

Community Treasure Hunt

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

Start Hunting!

Translated by