The DLCO test is a non-invasive procedure typically performed in a pulmonary function laboratory. The patient breathes in a small amount of carbon monoxide, holds their breath for about 10 seconds, and then exhales. The amount of carbon monoxide absorbed by the blood is measured to assess the lung's gas exchange efficiency.