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

First namespace #50

Closed
Darjohka opened this issue Jun 30, 2017 · 6 comments
Closed

First namespace #50

Darjohka opened this issue Jun 30, 2017 · 6 comments

Comments

@Darjohka
Copy link

I have a problem reading a value from the internal OPC server. I use the QuickOPC toolkit and get the error message:

"The first namespace in the table must be the OPC-UA namespace."

After loading example.xml the namespace array contains:
[0] urn:freeopcua:python:server
[1] urx:mycompany:myproject

grafik

The screenshot that comes with the folder opcua-modeler (screenshot.png) shows index 0 with the value http://opcfoundation.org/UA/.

So, is the index 0 problem a bug or can I configure it somehow?

Since I used git clone, I assume, I have the most recent version ...

Best regards!

@zerox1212
Copy link
Collaborator

zerox1212 commented Jun 30, 2017

I think it's a bug. If you open modeler and just start with a brand new model, then add some of your stuff and export it does it work? Instead of using example.xml.

@Darjohka
Copy link
Author

Starting with a brand new model leads to the same problem ...

@Darjohka Darjohka reopened this Jun 30, 2017
@oroulet
Copy link
Member

oroulet commented Jul 1, 2017

When do you get that error? It looks like we remove the address space 0 in modeller. I do not remember why... there was a reason.... Anyway when you export xml, it should not change anything since when importing it, the server will allready have namespace 0 defined...

@oroulet
Copy link
Member

oroulet commented Jul 1, 2017

there was a bug, fixed now in master

@Darjohka
Copy link
Author

Darjohka commented Jul 1, 2017

Sounds great! I'm away on business. Next Thursday I will have time to test the connection with QuickOPC toolkit ... Thank you in advance!

@Darjohka
Copy link
Author

Problem solved! Thank you very much!

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

3 participants