measurement of ac and dc voltage using cro