This test finds out if you have DNA from the herpes simplex virus in your nervous system. It can help diagnose encephalitis and meningitis.