Commit 5c26daca authored by Dimitris Lampridis's avatar Dimitris Lampridis

common/Agilent33250A: Add possibility to control output loading (50Ω/high-Z).

This is necessary for the FMC-ADC PTS, because otherwise the function generator
will just use the last setting, leading to false errors in some of the tests.
parent ea672dc2
......@@ -110,6 +110,25 @@ class Agilent33250A(Generator):
return locals()
# output load
def load50():
doc = "Output load status of the generator"
def fget(self):
output =[0]
return output == "50"
def fset(self, enable):
if type(enable) is not bool:
self.command("OUTP:LOAD %s" % ("50" if enable else "INF"))
return locals()
# sync output
def sync():
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment