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

not working . Database is empty #1

Open
prrw opened this issue Mar 23, 2020 · 3 comments
Open

not working . Database is empty #1

prrw opened this issue Mar 23, 2020 · 3 comments

Comments

@prrw
Copy link

prrw commented Mar 23, 2020

Hello,
so i tried this example and first of all the test variable in the server does not have access level UA_ACCESSLEVELMASK_WRITE. I had to add it to test it with a client to overwrite the value.
Coming to the main issue, the program compiles and runs normally. There is a new database.sqlite created but it is always 0 KB in size even after overwriting the values several times.
I compiled it with Visual Studio 2015. I started the server and changed the value of the variable using UaExpert.
Did i miss anything ?
Thanks in advance :)

@nicolasr75
Copy link
Owner

Hey, thanks for testing this. Because of Corona I was unfortunately stuck at an airport in Africa for almost a week. I will have a look at it beginning of next week.

@prrw
Copy link
Author

prrw commented Mar 26, 2020

ok. Waiting. Take care ;)

@nicolasr75
Copy link
Owner

nicolasr75 commented Mar 30, 2020

Ok, I had a look. The explanation is simple: writing is unfortunately not implemented :-( The background is this: as I described in the corresponding Github discussion open62541/open62541#2396 that started this example, my application is providing access to an existing database that get's filled by legacy software. So there has yet not been a need for me to implement writing to the database. Feel free to fork the project or post a pull request, if you are going to implement it.

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

2 participants