A parser for serial reading of traces from a LeCroy scope