Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Collecting data from the opc server

1 Ansicht (letzte 30 Tage)
Nikolay Panasetsky
Nikolay Panasetsky am 10 Dez. 2015
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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...

Antworten (0)

Diese Frage ist geschlossen.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by