Session-based DAQ: logging data to disk directly from the device
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi!
I am trying to rewrite some of my scripts from Legacy Interface in Session-Based Interface, and I am actually missing something. I'm sure it is right in front of me, but I don't see it! :p
So I am acquiring data from a National Instruments board and I would like the data to be saved directly on the disk, without going through "Matlab's memory".
With the Legacy Interface, I just had to write this, for example:
- set(ai,'LoggingMode','Disk');
- set(ai,'LogToDiskMode','Overwrite');
- set(ai,'LogFileName',MyLogFileName);
But in the Session-based Interface, I can't find how to configure my session to do so... Can someone help me please? Thanks a lot.
Regards
Luc
댓글 수: 0
채택된 답변
Friedrich
2014년 2월 6일
Hi,
Unfortunately logging to disk is not available in the session based interface.
댓글 수: 1
Walter Roberson
2014년 2월 7일
See though http://www.mathworks.com/products/daq/code-examples.html?file=/products/demos/shipping/daq/demo_compactdaq_background_acquisition_data_log.html which shows how to create your own logging to disk.
추가 답변 (1개)
Luc Gendre
2014년 2월 6일
편집: Luc Gendre
2014년 2월 6일
댓글 수: 1
Friedrich
2014년 2월 6일
You can contact MathWorks and let them record that as an Enhancement request. As more people ask for a feaure it's more likely to happen I guess ;)
참고 항목
카테고리
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!