PyTektronixScope
PyTektronixScope copied to clipboard
Selected channel is not recognized as selected
On my system, the reply to SEL:%s?'%(self.channel_name(channel))
in the method is_channel_selected is not '1' for an active channel, but '1\n'. Therefore, is_channel_selected, that compares this value to '1', always returns False and I cannot read a waveform at all.
Stripping whitespace would help here.