Measure the voltage.
(self, key)
| 33 | |
| 34 | @DictFeat(units='V', keys=(0, 1)) |
| 35 | def voltage(self, key): |
| 36 | """Measure the voltage. |
| 37 | """ |
| 38 | return float(self.query('?MEAS {}'.format(key))) |
| 39 | |
| 40 | @DictFeat(values={0.1: '0', 1: '1', 10: '2', 100: '3', 1000: '4'}, keys=(0, 1)) |
| 41 | def range(self, key): |