MATLAB: Session-based DAQ: logging data to disk directly from the device

daqData Acquisition Toolboxdisksession based

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

Best Answer

Hi,
Unfortunately logging to disk is not available in the session based interface.
Related Question