Audio & midi not lining up

Have you set up the keyboard as an external instrument so Delay Compensation can be used?