You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shouldn't mms not buffered reports generated only after IedServer_unlockDataModel()?
I think need "else" before the call processEventsForReport(); in reporting.c
`void
ReportControl_valueUpdated(ReportControl* self, int dataSetEntryIndex, int flag, bool modelLocked)
{
ReportControl_lockNotify(self);
if (self->inclusionFlags[dataSetEntryIndex] & flag) { /* report for this data set entry is already pending (bypass BufTm) */
self->reportTime = Hal_getTimeInMs();
if (modelLocked) {
/* buffer all relevant values */
copyValuesToReportBuffer(self);
}
else // !!! MY CODE !!!
processEventsForReport(self, self->reportTime);
}`
The text was updated successfully, but these errors were encountered:
moggiozzi
changed the title
Reports are generated despite IedServer_lockDataModel(), IedServer_lockDataModel()
NBReports generated despite IedServer_lockDataModel(), IedServer_lockDataModel()
Mar 29, 2024
In this case there is already a pending value in the report buffer, so it has to be sent immediately. Otherwise the value in the buffer would be lost. Therefore processEventsForReport has to be called even when IedServer_lockDataModel has been called before.
In this case there is already a pending value in the report buffer, so it has to be sent immediately. Otherwise the value in the buffer would be lost. Therefore processEventsForReport has to be called even when IedServer_lockDataModel has been called before.
I have structured data (3-phase voltage and current) and I want to send a report only after updating all 3 values.
Shouldn't mms not buffered reports generated only after IedServer_unlockDataModel()?
I think need "else" before the call processEventsForReport(); in reporting.c
`void
ReportControl_valueUpdated(ReportControl* self, int dataSetEntryIndex, int flag, bool modelLocked)
{
ReportControl_lockNotify(self);
The text was updated successfully, but these errors were encountered: