Development of a closed loop controlled system that automatically infuses insulin on the basis of an automated algorithm to diabetic patients in the operating room, could permit good glycemic control ( (140-180 mg/dl)by decreasing the events of intra-operative and postoperative hyperglycemia (>200 mg/dl) and hypoglycemia -(≤70 mg/dl).