Skip to content
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] Asset Management not showen #485

Closed
Kantiran91 opened this issue May 30, 2023 · 6 comments · Fixed by #559
Closed

[IJT] Asset Management not showen #485

Kantiran91 opened this issue May 30, 2023 · 6 comments · Fixed by #559
Assignees
Labels
bug Something isn't working

Comments

@Kantiran91
Copy link
Member

Kantiran91 commented May 30, 2023

I have tried the latest version of the gateway, now, it is NOT showing the Asset Data in the following umati.app:

https://umati.app/all/TighteningSystemType/clientId%3Datlas%7Cixb%3Bnsu%3Dhttp%3A_2F_2Fwww.atlascopco.com_2FTighteningApplication_2F%3Bs%3D_2FObjectsFolder_2FTighteningSystem_5FAtlasCopco

image

With the older version of the gateway, the asset data is visible in another machine as shown below:

https://umati.app/all/TighteningSystemType/clientId%3Datlas%7Cpf8%3Bnsu%3Dhttp%3A_2F_2Fwww.atlascopco.com_2FTighteningApplication_2F%3Bs%3D_2FObjectsFolder_2FTighteningSystem_5FAtlasCopco

Originally posted by @mohitkumaragarwal in #361 (comment)

@Kantiran91
Copy link
Member Author

Kantiran91 commented May 30, 2023

@GoetzGoerisch

I looked at the log and found this:

2023-05-30 10:06:08,744 [DashboardOpcUaClient] INFO class std::list<struct ModelOpcUa::BrowseResult_t,class std::allocator<struct ModelOpcUa::BrowseResult_t> > __thiscall Umati::MachineObserver::MachineObserver::browseForMachines(struct ModelOpcUa::NodeId_t,struct ModelOpcUa::NodeId_t,class std::function<bool __cdecl(struct ModelOpcUa::NodeId_t)>):224 IdentificationType not found, probably because namesapce nsu=http://opcfoundation.org/UA/IJT/;i=1003 is not in the config, or this type does not have an identification type.

This are the Type of:

  • IControllerType
  • IToolType

Could it possible that the components also need to be set in the config?

@mohitkumaragarwal Could you look if the old config has entry for i=1003 and i=1004?

@Kantiran91 Kantiran91 added the bug Something isn't working label May 30, 2023
@mohitkumaragarwal
Copy link

@Kantiran91 I have attached the configuration file which I am using with the umati gateway.

The same file was used with previous versions and newer versions of the gateway.

It does NOT have the entry for 1003 or 1004.

configuration.txt

@Kantiran91 Kantiran91 changed the title Machinery Components not showen [IJT] Asset Management not showen Jun 1, 2023
@Kantiran91
Copy link
Member Author

@mdornaus I can locale the issue is since f057dc2 - Can you please look at this.

@mdornaus
Copy link
Contributor

mdornaus commented Jun 7, 2023

@ccvca @wlkrm Ok I tracked the issue down and it seems that someting is wrong with the void OpcUaTypeReader::updateTypeMap() method in the TypeReader. I don't exactly understand what this method is supposed to do especialy with the folders. It seems that everything works fine if I put the method out. So maybe you could explain me why this method is needed. (Especially the folder part).

@ccvca
Copy link
Member

ccvca commented Jun 7, 2023

This method ensures, that all optional members of a type are searched, event if the optional nodes are only defined in the type of the child and not the child itself.

@Kantiran91
Copy link
Member Author

Kantiran91 commented Jun 7, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants