OPC Logging DataChangeFcn

조회 수: 3 (최근 30일)
Andrew Groth
Andrew Groth 2011년 9월 2일
I am trying to configure the DataChangeFcn to us a callback function that reads the latest record and move the data into an array associated with each OPC Tag I'm monitoring. I am getting an intermittent error when during execution that says: "Group is not logging and no records are available" I checked and the group is logging, however on each change event, I'm using the getdata function to process the latest record.
Can someone explain how the Data Change event works? Also, should I expect there to be a new record after a data change event occurs?
Thanks!

답변 (0개)

카테고리

Help CenterFile Exchange에서 Unified Architecture에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by