def FetchAllCurrent(self): """Return electric current reading. Returns: (ACDCaverge, HIGH, LOW, MAXimum, MINimum) in mA. """ resp = self.ask('FETC:CURR:ACDC?; HIGH? ;LOW?; MAX?; MIN? ') return [core.ValueCheck(x) for x in resp.split(";")]
def MeasureAllCurrent(self): """Return electric current reading. Also initiates a measurement cycle. Returns: (ACDCaverge, LOW, HIGH, MINimum, MAXimum). """ resp = self.ask('MEAS:CURR:ACDC?;:FETC:CURR:LOW?;HIGH?;MIN?;MAX?') return [core.ValueCheck(x) for x in resp.split(";")]
def read_values(self, length=65536): text = _gpib.readbin(self._id, length) arr = array.array("d") for valstring in text.split(","): arr.append(core.ValueCheck(valstring)) return arr
def GetCurrentRange(self): return core.ValueCheck(self.ask("SENS:CURR:RANG?"))
def MeasureContinuity(self): self.SetMode(CONT) return core.ValueCheck(self.ask("MEAS?"))