lissajous pattern frequency measurement