View Issue Details

IDProjectCategoryView StatusLast Update
0001808Compliance Test Tool (CTT) Unified ArchitectureApi Changepublic2020-06-11 20:32
Reporteryasu712 Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Summary0001808: About the behavior of Compliance Test Tool : Monitored Item Services (Monitor Triggering)
Description

Our UA server has the errors in the following test cases of CTT.

Test Cases : Monitored Item Services(5.9.4-007.js, 5.9.4-010.js, 5.9.4-020.js)

Our UA server supports only following data types.
Double
Float
String
Int16
Int32

We think that the CTT expects that UA server supports the data type of Uint.

We tested the Sample Server provided by OPC-F in the same case(setting only Double,Float,String,Int16,Int32), we had same result.

How should we do?

TagsNo tags attached.
Files Affected

Activities

Nathan Pocock

2011-12-08 14:25

viewer   ~0003056

Hmm, yes I can see that assumption/expectation at the top of each of those files you specified.

In the case of scripts 5.9.4-007 and 5.9.4-010 you can adjust these scripts yourself to avoid the use of unsigned integers as follows:

5.9.4-007:
Find:
var linkedItemSetting = NodeIdSettings.GetAScalarNodeIdSetting( NodeIdSettings.ScalarStatic(), "u" );

Fix:
replace "u" with "d"; you are then replacing "unsigned" with "decimal".

5.9.4-010:
Find:
var linkedItemSetting = NodeIdSettings.GetAScalarNodeIdSetting( NodeIdSettings.ScalarStatic(), "u" );

Fix:
again, replace "u" with "d".

5.9.4-020:
Not quite so easy in this case. You may just need to force a specific node here instead of just acquiring a node of any type (as is currently the case).

Find:
var triggeringSetting = NodeIdSettings.GetAScalarNodeIdSetting( NodeIdSettings.ScalarStaticAll(), "u" );

Fix:
replace the one line (shown above) with these 2 lines (shown below)
var triggeringSetting = new NodeIdSetting();
triggeringSetting.name = "/Server Test/NodeIds/Static/All Profiles/Scalar/Int32";

I am giving you these quick-fixes to help you get back on-track. I will work on these scripts to make them more autonomous. I would like to send you the revised scripts as soon as they are ready, for you to test, if that is ok? I will not be able to start work on these until next week though.

yasu712

2011-12-09 02:25

reporter   ~0003058

Thank you for your answer.

I understood.

I will try to test our UA server using the scripts which I customized by the means of your answer.

I would like to send you the revised scripts as soon as they are ready, for
you to test, if that is ok?
Of course it is OK.

Nathan Pocock

2011-12-13 15:58

viewer   ~0003067

I've improved the specified scripts so that they will use unique settings. Please check the "Security" branch within SVN, revision 2993.

Paul Hunkar

2020-06-11 20:32

administrator   ~0012249

closed - was fixed in very old release - never reviewed, but code works correctly now

Issue History

Date Modified Username Field Change
2011-12-08 10:41 yasu712 New Issue
2011-12-08 14:25 Nathan Pocock Note Added: 0003056
2011-12-08 14:25 Nathan Pocock Assigned To => Nathan Pocock
2011-12-08 14:25 Nathan Pocock Status new => feedback
2011-12-09 02:25 yasu712 Note Added: 0003058
2011-12-13 15:58 Nathan Pocock Status feedback => resolved
2011-12-13 15:58 Nathan Pocock Resolution open => fixed
2011-12-13 15:58 Nathan Pocock Note Added: 0003067
2020-06-11 20:27 Paul Hunkar Project UA => Compliance Test Tool (CTT) Unified Architecture
2020-06-11 20:27 Paul Hunkar Category (No Category) => Api Change
2020-06-11 20:32 Paul Hunkar Assigned To Nathan Pocock =>
2020-06-11 20:32 Paul Hunkar Status resolved => closed
2020-06-11 20:32 Paul Hunkar Note Added: 0012249