Changed a hard coded vna main channel to a class variable. I also added some channel value checking, error messages.