Multiple x-rays need to be done to follow the barium in the colon. The test may take up to a few hours depending on how fast the barium goes through.