View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004439 | Compliance Test Tool (CTT) Unified Architecture | 5 - General Problem | public | 2018-11-07 17:01 | 2019-07-25 15:00 |
| Reporter | Hannes Mezger | Assigned To | Alexander Allmendinger | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | PC | OS | Windows | OS Version | 8.1 |
| Product Version | 1.03.341.383 | ||||
| Target Version | 1.03 | Fixed in Version | 1.03.341.383 | ||
| Summary | 0004439: Data Access/Data Access PercentDeadBand/008.js sporadically fails | ||||
| Description | Tested with UnifiedAutomation AnsiC Demoserver 1.8.3 When running Data Access/Data Access PercentDeadBand/008.js a few times in a row, the test sometimes fails. The initial value of the used node (ns=4;s=Demo.CTT.DAProfile.AnalogType.Byte) seems not to have an impact of the result. The error says: Expected a dataChange for written a value of '24'. The item was previously modified with a DeadbandPercent of 0, so the | ||||
| Tags | No tags attached. | ||||
| Files Affected | |||||
|
|
I see that also sporadically happen with the Softing C++ Server: Expected a dataChange for written a value of '44'. The item was previously modified with a DeadbandPercent of 0, so the |
|
|
Okay I think I know the reason why this fails sproadically. Read( NodesToRead #1; TimestampsToReturn: 2; MaxAge: 0 ).Response.ResponseHeader.ServiceResult: Good (0x00000000) as expected. First a few Items are written that guarantee to exceed the 10% deadband. That happens, because Test can be fixed by the following patch: --- library/NodeTypeBased/AnalogItemType/EURange.js 2018-11-06 18:09:42.000000000 +0100
Interesting, why accessing results[-1] did cause a script error. |
|
|
I mean, why accessing results[-1] did not cause a script error. |
|
|
Thanks Bernd for the detailed investigation. I came to the same conclusion and therefore fixed the script accordingly. |
|
|
reviewed in CMP call |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2018-11-07 17:01 | Hannes Mezger | New Issue | |
| 2018-11-07 17:01 | Hannes Mezger | Status | new => assigned |
| 2018-11-07 17:01 | Hannes Mezger | Assigned To | => Alexander Allmendinger |
| 2018-11-07 17:01 | Hannes Mezger | Issue generated from: 0004438 | |
| 2018-11-08 14:41 | Hannes Mezger | Issue cloned: 0004442 | |
| 2018-11-15 07:03 | Bernd Edlinger | Note Added: 0009598 | |
| 2018-11-15 10:58 | Bernd Edlinger | Note Added: 0009599 | |
| 2018-11-15 11:01 | Bernd Edlinger | Note Added: 0009600 | |
| 2018-12-19 13:21 | Alexander Allmendinger | Note Added: 0009739 | |
| 2018-12-19 13:21 | Alexander Allmendinger | Status | assigned => resolved |
| 2018-12-19 13:21 | Alexander Allmendinger | Fixed in Version | => 1.03.341.383 |
| 2018-12-19 13:21 | Alexander Allmendinger | Resolution | open => fixed |
| 2019-01-28 14:14 | Paul Hunkar | Category | General Problem => 4 - General Problem |
| 2019-01-28 14:15 | Paul Hunkar | Category | 4 - General Problem => 5 - General Problem |
| 2019-07-25 15:00 | Paul Hunkar | Target Version | => 1.03 |
| 2019-07-25 15:00 | Paul Hunkar | Status | resolved => closed |
| 2019-07-25 15:00 | Paul Hunkar | Note Added: 0010599 |