필터 지우기
필터 지우기

Log to .daq with session based API

조회 수: 4 (최근 30일)
Birger
Birger 2012년 8월 30일
I am trying to upgrade a measurement system from an old PCI ni-card to a new cDAQ-9171. The old card worked with the legacy interface (analoginput), but the new hardware requires the new session-based interface. The data analysing is done on a separate computer using daqread to import the measured data into matlab, and I don't want to rewrite this part of the system.
My question is then: How do I log data to a .daq file from the session-based interface?
- Birger

답변 (1개)

Manisha
Manisha 2012년 9월 5일
Hi Birger,
The Session-Based Interface currently does not support logging data to a .daq file. However, you can add a callback to the 'DataAvailable' listener and use it to save your data to a MAT-file or any other type of file.
You can look at the following example for more information. This shows you how to save data to .bin file.
Hope that helps, Manisha

카테고리

Help CenterFile Exchange에서 Simultaneous and Synchronized Operations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by