LabVIEW code for Compositron