Create ping_for_window