LSM9DS1 in FIFO mode

Does anyone have experience working with the LSM9DS1 in FIFO mode? Is there a basic example of this functionality anywhere?

I’ve tried using a snippet taken from the calibration code:

imu.setFIFO(FIFO_THS, 0x1F);

however I get zero samples when calling getFIFOSamples(). Any help would be appreciated.