PyTektronixScope
PyTektronixScope copied to clipboard
Two unresolved references in code
in file PyTektronixScope.py
Unresolved reference 1:
in line 184/184: def get_out_waveform_vertical_scale_factor(self): return float(self.ask('%s:SCA?'%self.channel_name(channel))) The reference to 'channel' is unresolved. I suspect the member function should include 'channel' as a parameter
Unresolved reference 2:
in lines 321/322: raise TektronixScopeError("Try to read channel %s which
is not selectecd"%(str(name)))
The reference to 'name' is not resolved. I suspect the variable 'name' should be 'channel'
Thanks for your comments. Ref 1 : there is now two functions : get_out_waveform_vertical_scale_factor that returns 'WFMO:YMUlt?' and get_vertical_scale(self, channel) that returns 'CHx:SCA' Ref 2: OK
See commit fa82158