Using LabVIEW to Develop an Automatic Control System