VisuFbFrameBase.SetInputPositionData: The element id for the input position cannot be determined

tvm
2024-02-08
2025-03-06
  • tvm - 2025-03-06

    This came up again today, so I'll post the fix for future reference. Happens with Schneider Machine Expert 2.2 and M262 controllers.

    Add this bit of code to a program called from the visu task

    //disable "VisuFbFrameBase.SetInputPositionData" log messages, which fill up the logs 
    IF VisuElems.Private_Visu_Globals.g_ValueChangedListenerManager.GetListenerCount() > 0 THEN
        VisuElems.Private_Visu_Globals.g_ValueChangedListenerManager.RemoveValueChangedListener(VisuElems.Private_Visu_Globals.g_ValueChangedListenerManager.listenerForOnValueChanged);
    END_IF
    
     

    Last edit: tvm 2025-03-06

Log in to post a comment.