The machines, called Fourier transform infrared (FTIR) spectrometers, use lasers to determine the chemical composition of substances, to give help inform drug users about what they are consuming.