low oil pressure light and beeping on 2007 Cadillac Escalade

hi all, can anyone please help me when im driving the dashboard says low oil pressure shut engine and the beeping is driving me nuts, i checked the oil and it was fine dont know what to do anyone?

Asked by for the 2007 Cadillac Escalade
It is probably a defective oil pressure switch perhaps replacing the switch will attend to the problem but may for peace of mind want to attach a mechanical oil pressure gauge to verify actual oil pressure.