; Copyright (c) 1995,  Microstar Laboratories, Inc.
; All rights reserved.

RESET
PIPES P1,P2,P3 LONG,P4
TRIGGER T 2, T1
IDEFINE A 1
  TIME 250
  SET IP0 D3
  END
PDEFINE B
  AVERAGE (IP0, 4, P1)
  LIMIT (P1, OUTSIDE, -32768, 9830, T, OUTSIDE, -32768, 9830)
  WAIT (P1, T, 0, 50, P2)
  MINTIME (T, 50, T1)
  TSTAMP (T1, P3)
  HIGH (P2, 50, P4)
  MERGE (P3, P4, $BINOUT)
  END
START A, B
