A novel method of semiconductor device measurements