So I have found the problem. I was calling the UserMgmtEventHandler and for some reason it was logging out as soon as I called the function. I removed the implementation of the HandleLogout function and now seems to be stable.
Hello Codesys community, I'm trying to create a function that disables user management by logging in the user to a user group with full control. Since I am using my own library elements, it has been challenging to work with the VisuUserManagement STL Functions and Im getting slowly frustrated :D . The logout, login and the others work fine. However the logging in to specific User Groups has been failing. Can someone tell me what is wrong here ? Can someone explain to me the arr[] Data, What should...
Well that is a very refreshing insight. I had no idea that it could have been on the output. I will definitely give that a whirl. Thanks a lot for your answer Ingo. Regards, Kay
Yes I am sure because I have a function that checks that. As I said it works, I see the log entries in the SQLite. My problem is the stability of the entire system. it seems to open so many processes and it just crashes. Thanks again for your help marcel, much appreciated Regards, Kay
Yes I am sure because I have a function that checks that. As I said it works, I see the log entries in the SQLite. My problem is the stability of the entire system. it seems to open so many processes and it just crashes. Thanks again for your help marcel, much appreciated Regards, Karim
Thanks for your answer Marcel. yeah exactly I am talking abt my own database. It seems that when I do a write process as described above, the processes increase with every cycle and the process is killed. I am using my own database and it already worked but the application at the end crashes. Best Regards, Kay
Hello community, I have been tinkering a little bit with a raspberry pi and Sqlite through codesys. I have noticed an instability when it comes to logging at high frequency and calling the function. I am not able to close the Database after writing but that shouldn't be an issue. What I have noticed when I monitor my processes on the pi is an unusual large number of processes that are open from the codesys runtime. After a few cycles, the Visualization hangs and the whole codesys process is killed...
Hello @m.prestel, Why would I use this you ask? Well we have for example a drop down list that is custom (not the one from codesys) within a library that we also had for our use. This drop down list has been created to be very basic in use and has only the basic functionalities. Now if we want more functionalities we would extend the function block and handle click events through its method which we created. Why is the input action not good enough: This is why we can not use the input action, otherwise...