Make SetChannel protectedin TVAnalysedPulseGenerator

See issue #166 for discussion