Spectroscopic investigations of the plasma behavior in a plasma opening switch experiment