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