Critical current measurement on Y-Ba-Cu-O