According to multiple cops I knew, Barney Miller was the most accurate depiction of actual policework seen on TV (up to and including Cops) - no other show showed the mountains of paperwork and the hours stuck at the station.
Also one of my favorite theme songs of all time.
(edited to use a not-crappy youtube)