-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[IJT] Extension Object - ResultManagement #361
Comments
@mohitkumaragarwal please extent, if I missed some point. |
@GoetzGoerisch It looks fine, once we have the support to parse the TighteningResultDataType, we can choose which set of values are needed in the Table format of values and trace graph in the umati Dashboard. |
There were some tricky issues on retrieving ResultType data anyway. In the Method std::string DashboardClient::getJson(const std::shared_ptr<DataSetStorage_t> &pDataSetStorage) the callback function tries to find a Node in a nodemap of the pDataSetSTorgae. This function checks for Object identity of a shared pointer with the pointer reference. Althoug the ResultVariable node is in the map it does not point to the same object of the pDataSetStorage and compares to false. Therefore the values are not published via MQTT. I currently try to find out why there are different shared pointes because the registering of the ResultVariable Nodes does not differ from the registration of the other nodes. |
"ResultManagement": { Besides the pointer comparison issue the result looks pretty good with IJT. |
@mohitkumaragarwal please try with the v2.0.0-rc5 gateway. |
@GoetzGoerisch Thank you very much, I will try it and update the status. |
@mohitkumaragarwal Do you have any feedback yet? |
@Kantiran91 Apologies for the delay. I was out of office since 3 weeks and back now. I will check and update you as soon as possible. |
I have tried the latest version of the gateway, now, it is NOT showing the Asset Data in the following umati.app: With the older version of the gateway, the asset data is visible in another machine as shown below: |
I posted the latest update last week but due to some reason, it was not saved I guess, hence re-checked today and posted again. |
@mohitkumaragarwal The current vesion is enough. @GoetzGoerisch Should we open a new issue or use this issue? |
|
Yes please. |
@Kantiran91 @GoetzGoerisch But, it does NOT parse two sub-nested structures which are needed to get the Trace/Graph samples and other measured values... |
d
Yes - the broker works now with a user authentication. So you need login with your credentials |
Hi, Yes the broker works now with the credentials shared by Götz in the email. |
@mdornaus You had an example of th IJT Server running local? Can you have a look at this two structures? |
@Kantiran91 Just adding the local OPC UA Server Zip file available in case if you would like to use it: |
@mdornaus Seems that the StackTrace is an Array in the structure. |
@mdornaus I found out that he jumped over an array element. Let's take about this tomorrow |
I create an PR #489 (is still in WIP) for this. |
@ccvca: Could you please also look at this issue? We think the problem is from the open62541 implementation. I got an memory leak from valgrind: |
You once talk about a sequence of UA_new/UA_delete that cause a memory problem. Can you please share this with me. |
This is not related to ResultManagement, as this message also appears without reading a value. |
Is there any open62541-based OPC UA server available?
Extended CMakeLists.txt of the sample server
|
@xenonforlife Do you know any open62541 based implementation? |
@xenonforlife and @mohitkumaragarwal Can we try to debug this together as a quality assurance measure for the whole community. |
@GoetzGoerisch Yes sure, I agree to the suggesstion and we can debug together. We can plan a specific time common for all of us. |
New trie with current commit (d465dc7) and IJT Version 2: |
The current version of the client does not decode the extension object TighteningResultDataType correctly.
UaExpert view which parses the Result variable.
Result variable has ResultContent which points to TighteningResultDataType as shown.
TighteningResultDataType includes an array of ResultValueDataType, StepResultDataType and TraceDataType
NodeSet reference:
https://github.com/OPCFoundation/UA-Nodeset/blob/f411bf96d608c7fc8b306871038ff497d66c484f/IJT/Tightening/Opc.Ua.Ijt.Tightening.NodeSet2.xml#L540-L579
TestServer implementation:
https://github.com/umati/UA-for-Industrial-Joining-Technologies/tree/main/OPC_UA_Servers/Release1
Relates to PR #192
The text was updated successfully, but these errors were encountered: