Personal Data

Username:
jackcaissey
Joined:
2020-06-08 19:39:25

Projects

  • No projects to display.

User Activity

  • Posted a comment on discussion Visualization on CODESYS Forge

    You're right, I thought this was a method which could be used with a window. Another idea we had however was to have a signal which only triggers when a user is viewing a given visualization. If the user changes visualization, the signal stops, and another program can be executed to stop the program.

  • Posted a comment on discussion Visualization on CODESYS Forge

    for example the hasFocus() method

  • Posted a comment on discussion Visualization on CODESYS Forge

    I know there are several Javascript methods which will return a boolean based on whether or not the tab is in focus. However, I am unsure about how to call this javascript method for each instance of the visualization.

  • Posted a comment on discussion Visualization on CODESYS Forge

    Hello all. We are looking for a way to determine whether or not each visualization is in focus or not. If for example a web visualization is not in focus (i.e. minimized) we want the program to terminate. Are there any built in methods for tracking visualization focus? or alternatively, would it be easier to write a script in another language to track if a visualization is in focus, then relay the information back to the codesys program? Other alternate solutions would be welcome as well. Please...

  • Posted a comment on discussion Visualization on CODESYS Forge

    VisuElems.g_ClientManager.BeginIteration(); IF isLoggedIn THEN WHILE (pClient := VisuElems.VisuElemBase.g_ClientManager.GetNextClient()) <> 0 DO IF pClient^.GlobalData.CurrentUserName = loggedInUser THEN EXIT; END_IF END_WHILE IF NOT (pClient = 0) THEN VisuElems.Visu_FctLogoutUser(pClient); loggedInUser := VisuNativeControl.CurrentFullUserName; //record new logged in user END_IF ELSE //else there's no logged in user on record LoggedInUser := VisuNativeControl.CurrentFullUserName; //logged in user...

  • Posted a comment on discussion Visualization on CODESYS Forge

    Hello all, What I have been trying to do is create a program which checks to see if a new user has logged in, and if a new user has logged in, force logout existing users. I am trying to do this by checking to see if VisuNativeControl.CurrentFullUserName does not equal the logged in user on record. When this condition is met, the program will call VisuElems.Visu_FctLogoutUser(pClient) where pClient is a pointer to VisuElems.VisuElemBase.VisuStructClientData. This method does not seem to actually...

View All