Detect the presence of a flexpendant

is there a way to see if a flexpendant is connected to the controller within a rapid program?

When using instruction like TPReadFK an error is generated if it is not connected, I’d like to detect the TP and only if it is connected write message to the screen

If UiClientExist() then

endif

Perfect, thanks.