A method of using a vacuum chamber to assist in detecting and removing moisture from an instrument having a lumen, e.g., an endoscope is disclosed. Second derivatives of pressure with respect to time are calculated and differences therebetween summed. These summations may be compared to a threshold value to determine whether residual moisture remains on the instrument in the chamber. The vacuum chamber may include a rack for hanging instruments having lumens, such as endoscopes.