Add DAQ status _daq_running and store the allocated buffer size in
_daq_buffersize to allow comparison with hal->daq_GetSize values.
Add more functions to takedata. nTrig == 0 means: loop and fill the buffer
completely. DAQ stops automatically after buffer is filled (only in case of
daqTriggerLoop() for now).
Merge branch 'master' of github.com:psi46/pxar