How can I log data to a CSV file using OPC Toolbox 2.1.4 (R2009b)?

조회 수: 1 (최근 30일)
I am trying to log data to a CSV file instead of an OLF file. Is there a direct way to do so?

채택된 답변

MathWorks Support Team
MathWorks Support Team 2009년 12월 21일
Instead of logging to an OLF file, you could log the data to a CSV file as follows:
da = opcda('host','ServerID');
connect(da);
grp = addgroup(da);
set(grp,'LogFileName', 'LoggingFile.csv');
The CSV file can be opened in Excel directly.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Server Connection and Browsing에 대해 자세히 알아보기

태그

제품


릴리스

R2009b

Community Treasure Hunt

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

Start Hunting!

Translated by