collectData now works. Instead of reading from a data buffer it reads continuously from the output of the Lockins.