Activity for kebek007

  • kebek007 kebek007 posted a comment on discussion Visualization πŸ‡¬πŸ‡§

    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.

  • kebek007 kebek007 posted a comment on discussion Visualization πŸ‡¬πŸ‡§

    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...

  • kebek007 kebek007 posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    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

  • kebek007 kebek007 modified a comment on discussion Runtime πŸ‡¬πŸ‡§

    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

  • kebek007 kebek007 posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    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

  • kebek007 kebek007 posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    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

  • kebek007 kebek007 posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    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...

  • kebek007 kebek007 posted a comment on discussion Visualization πŸ‡¬πŸ‡§

    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...

  • kebek007 kebek007 posted a comment on discussion Visualization πŸ‡¬πŸ‡§

    @barton Thanks a lot for your answer. I'm afraid that is a nightmare. There is no way of identifying where the click came from ? either some kind of function which returns the ID ? do you know where the USERCLIENTID comes from and if it is somehow during initialization set? Or is it provided by the OEM ? Thanks

  • kebek007 kebek007 modified a comment on discussion Visualization πŸ‡¬πŸ‡§

    Ok after tinkering a little bit and I understood how this works. This opened other questions. so basically one has to get all connected clients by doing the following - This was taken from VisuClientIPAdresse_v1.1 Project so I do not take credit for that (but I will comment it): VisuElems.g_ClientManager.BeginIteration(); // get next client pClient := VisuElems.g_ClientManager.GetNextClient(); WHILE pClientData <> 0 DO // as long as a client is available do IF( pClientData^.GlobalData.ClientType...

  • kebek007 kebek007 posted a comment on discussion Visualization πŸ‡¬πŸ‡§

    Ok after tinkering a little bit and I understood how this works. This opened other questions. so basically one has to get all connected clients by doing the following - This was taken from VisuClientIPAdresse_v1.1 Project so I do not take credit for that (but I will comment it): VisuElems.g_ClientManager.BeginIteration(); // get next client pClient := VisuElems.g_ClientManager.GetNextClient(); WHILE pClientData <> 0 DO // as long as a client is available do IF( pClientData^.GlobalData.ClientType...

  • kebek007 kebek007 modified a comment on discussion Visualization πŸ‡¬πŸ‡§

    Hello Forum, I am building a Visualization Library made out of custom Visualization Elements. Right now I would like to use the UserManagement functionality within my functions similar to the way it is used in the codesys library. For example: How could I call this function from User Management ? I have seen the post regarding the KeySwitch_VisuClient but I am still not sure how to really implement that. ( I also think it isn't the same thing I want to implement, but highlights a bit how the VisuUserManagement...

  • kebek007 kebek007 modified a comment on discussion Visualization πŸ‡¬πŸ‡§

    Hello Forum, I am building a Visualization Library made out of custom Visualization Elements. Right now I would like to use the UserManagement functionality within my functions similar to the way it is used in the codesys library. For example: How could I call this function from User Management ? I have seen the post regarding the KeySwitch_VisuClient but I am still not sure how to really implement that. ( I also think it isn't the same thing I want to implement, but highlights a bit how the VisuUserManagement...

  • kebek007 kebek007 posted a comment on discussion Visualization πŸ‡¬πŸ‡§

    Hello Forum, I am building a Visualization Library made out of custom Visualization Elements. Right now I would like to use the UserManagement functionality within my functions similar to the way it is used in the codesys library. For example: How could I call this function from User Management ? I have seen the post regarding the KeySwitch_VisuClient but I am still not sure how to really implement that. ( I also think it isn't the same thing I want to implement, but highlights a bit how the VisuUserManagement...

1