View Issue Details

IDProjectCategoryView StatusLast Update
0004038Compliance Test Tool (CTT) Unified Architecture1 - Script Issuepublic2019-06-17 13:26
ReporterMircea Suciu Assigned ToAlexander Allmendinger  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformWindowsOSWindows 7OS VersionProffesional
Product Version1.02.336.273 
Target Version1.03Fixed in Version1.03.340.368 
Summary0004038: writeToDeadbandAndCheckWithPublish.js, function writeToDeadbandAndCheckWithPublish(...) code bug and not applicable in all cases
Description

Having a configuration where a single node is configured in "Settings.ServerTest.NodeIds.Static.AllProfiles.Scalar" set of nodes, e.g. Float.
 
The code "/library/ServiceBased/MonitoredItemServiceSet/CreateMonitoredItems/writeToDeadbandAndCheckWithPublish.js" at line 33 is not applicable in all cases:

     // wait 1 sampling interval cycle
     publishHelper.WaitInterval( { Items: item } );
if( publishHelper.Execute() ) {
.....

The WaitInterval before the publish is ignoring:
 

  1. The sampling interval might be revised, therefore item.RevisedSamplingInterval is a better choice
  2. The sampling interval, even if it is not revised, should include an extra delay to compensate for systems with less-strict timing, for example when value updates depend on underlying PLC's which are sampling at certain rates (ex:100ms).
Steps To Reproduce

Run against a server which updates it's values from an underlying PLC that is sampled each 100 ms.

Additional Information

Reproduced with version 1.3.340.358 RC

TagsNo tags attached.
Files Affected

Activities

Alexander Allmendinger

2017-11-13 15:04

developer   ~0008690

Function now waits 2 * item.RevisedSamplingInterval in order to provide enough time to communicate with the data source.

Paul Hunkar

2019-06-17 13:26

administrator   ~0010382

reviewed in CMP call 2019-06-17

Issue History

Date Modified Username Field Change
2017-10-27 11:07 Mircea Suciu New Issue
2017-11-02 14:24 Paul Hunkar Assigned To => Alexander Allmendinger
2017-11-02 14:24 Paul Hunkar Status new => assigned
2017-11-02 14:27 Paul Hunkar Target Version => 1.03.340.368
2017-11-02 14:27 Paul Hunkar Target Version 1.03.340.368 => 1.03
2017-11-13 15:04 Alexander Allmendinger Note Added: 0008690
2017-11-13 15:04 Alexander Allmendinger Status assigned => resolved
2017-11-13 15:04 Alexander Allmendinger Fixed in Version => 1.03.340.368
2017-11-13 15:04 Alexander Allmendinger Resolution open => fixed
2019-01-28 14:10 Paul Hunkar Category Script Issue => 1 - Script Issue
2019-06-17 13:26 Paul Hunkar Status resolved => closed
2019-06-17 13:26 Paul Hunkar Note Added: 0010382