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

Add repository to FreeOpcUa - Ua Modeler #248

Closed
zerox1212 opened this issue Jul 25, 2016 · 13 comments
Closed

Add repository to FreeOpcUa - Ua Modeler #248

zerox1212 opened this issue Jul 25, 2016 · 13 comments

Comments

@zerox1212
Copy link
Contributor

Can we get a repository for a Free OPC Ua Modeler?

I am working on building a simple XML address space generator like UaModeler, except it will be free 😄 .

@maljac
Copy link
Contributor

maljac commented Jul 26, 2016

+1

@oroulet
Copy link
Member

oroulet commented Jul 26, 2016

@zerox1212 done. you should have received an invitation.

@oroulet
Copy link
Member

oroulet commented Jul 26, 2016

@zerox1212 you should be able to push directly to it and merge pr

@zerox1212
Copy link
Contributor Author

I have access to it now. Thanks.

If anyone is willing to help I would appreciate it it. I'm a self taught programmer and I've never tried to make something like this, so it will probably start out bad.

My initial commit will be mostly a script just for myself, but I figured maybe it will be useful to others.

@oroulet
Copy link
Member

oroulet commented Jul 26, 2016

User pyqt5 then i can help

On Tue, Jul 26, 2016, 17:23 Andrew notifications@github.com wrote:

I have access to it now. Thanks.

If anyone is willing to help I would appreciate it it. I'm a self taught
programmer and I've never tried to make something like this, so it will
probably start out bad.

My initial commit will be mostly a script just for myself, but I figured
maybe it will be useful to others.


You are receiving this because you commented.

Reply to this email directly, view it on GitHub
#248 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACcfzqWbPYBneNcspfiRTYyqgUsx2Arkks5qZiZjgaJpZM4JUeQn
.

@zerox1212
Copy link
Contributor Author

I'm more worried about how to create well designed Element Tree program.

@oroulet
Copy link
Member

oroulet commented Jul 27, 2016

I though a bit about this. You need a kind of internal model in you UI, the most obvious thing is to use a kind of XML model but maybe it is a good idea to start a opcua server internally. This has several advantages:

  • maintain consistence of model (no dead link, all required attributes, etc..) by using opc protcol and everything already build in server
  • you can use the existing API: node.add_variable(xxxx)
  • you will anyway need many things from standard namespace like types, etc...
  • add scripting possibilities to create nodes
  • This splits you application in two quasi independent parts:
    • An UI to add nodes to internal OPC-UA server server (we can probably reuse code/widgets from existing client GUI)
    • a Method to export nodes to XML which might also be usefull in other scenarios

@oroulet
Copy link
Member

oroulet commented Jul 27, 2016

@zerox1212 maybe you can start on exporting nodes from server to XML so I can do the first start of UI by copying what I can from python GUI?

@zerox1212
Copy link
Contributor Author

zerox1212 commented Jul 27, 2016

I thought about doing it this way as well. Another reason to do it this way is that we can backup a server address space to XML instead of binary (pickle).

For now I will push my personal code to the master because it's already written. My small program takes a .CSV and makes it a simple address space in XML. After that I will look at exporting a the server address space to XML.

@destogl
Copy link
Member

destogl commented Jul 27, 2016

I thought about doing it this way as well. Another reason to do it this way is that we can backup a server address space to XML instead of binary (pickle).

It would be nice to look at XML communication if you are already converting the address space to XML. I think this could be done painlessly in parallel (if you like :) )

@zerox1212
Copy link
Contributor Author

zerox1212 commented Jul 28, 2016

It would be nice to look at XML communication if you are already converting the address space to XML. I think this could be done painlessly in parallel (if you like :) )

I can try, but I would need significant help to get started on that because I'm not on the same level as the other developers here. Using the existing server API to build an address space, and then exporting that address space to XML elements sounds much simpler...

@zerox1212 zerox1212 changed the title Add repository to FreeOpcUa Add repository to FreeOpcUa - Ua Modeler Jul 28, 2016
@zerox1212
Copy link
Contributor Author

zerox1212 commented Jul 28, 2016

Can you make a new python-opcua release to PYPI? Seems the current release is missing some Node methods that I need for creating XML.

For example node.get_user_access_level() and node.get_parent() is missing. For now I'll use the latest master in my project.

@zerox1212
Copy link
Contributor Author

Can move discussion to FreeOpcUa/opcua-modeler#2 to keep things clean.

@oroulet oroulet closed this as completed Aug 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants