Switched around the ordering of the parameters so that they are consistent with other data acquisition helper functions.