LabVIEW Code