Diabetes mellitus is a disease which needs constant and continued attention. The treatment of diabetes is patient specific and extreme care and caution is necessary for effective monitoring. The amount of insulin to be given to patients should be exact to their needs for obtaining the best results. The proposed system calculates the insulin required by using patient blood glucose levels and weight using fuzzy analysis. This quantity of insulin can be delivered to the patient using an insulin pump. The process has been simulated in LabVIEW. The insulin levels can be sent to the doctor by online access. It has been implemented and tested using each of the three different protocols web publishing, TCP-IP and datasocket connections separately. The doctor can advise further treatment and also suggest changes to the insulin quantity according to current glucose levels. The patient can also post questions for doctor consultation.