added recording of digital inputs and analog outouts