Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Collecting data from the opc server

조회 수: 1 (최근 30일)
Nikolay Panasetsky
Nikolay Panasetsky 2015년 12월 10일
마감: MATLAB Answer Bot 2021년 8월 20일
How can I collect all data from the opc server? I open elements one by one and it's not convenient to me:
grp = addgroup(da);
itm1 = additem(grp, 'LINE.currentAn');
r = read(itm1, 'device');
currentAn=r.Value;
itm1 = additem(grp, 'LINE.currentBn');
r = read(itm1, 'device');
currentBn=r.Value;
itm1 = additem(grp, 'LINE.currentCn');
r = read(itm1, 'device');
currentCn=r.Value;
etc...

답변 (0개)

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by