IB Square Wave Response