created a simpleget function that wraps measurement start and get into one and returns the measurement with a callback.