The non-linear optical properties of CdS and ZnSe using a new setup which we have named "f-scan". It uses an electrically-focus-tunable-lens instead of a mechanical translation stage. In this talk I will outline the theory, and experimental implementation.