WaitGetFrame function (blocking)