ni cdaq session very slow when using many modules.
1 次查看(过去 30 天)
显示 更早的评论
i have a system with multiple cdaq chassis and a total of 35 modules, and just adding them to the daq.createSession with obj.addDigitalChannel and obj.addAnalogInputChannel seems to take exponentially longer as i add more. And even after ive managed to add all of my modules, just changing the output state of the modules takes over a minute. this is unusable performance in my opionion. ive profiled my code and found that all the time is in low level matlab classes that are protected and sealed so i cannot overload them. see the graph below showing the time requried to add each module. i only show adding 15 here. this is the time needed to add the next module in seconds. this shows the non linear nature of adding lots of modules to a single session. Im in 2018b. my company doesnt have 2019 yet, but i didnt see anything in the release notes or bug reports that would indicate going to a new version of matlab would fix the problem
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simultaneous and Synchronized Operations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!