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!