Got first component of DAQ output mex working.