Files
2026-01-07 11:47:54 +00:00

18 lines
406 B
Python

import vxi11
class DSO80204B(vxi11.Instrument):
def __init__(self, host, *args, **kwargs):
super(DSO80204B, self).__init__(host, *args, **kwargs)
def get_identification(self):
return self.ask("*IDN?")
def main():
# Get scope
instrument = DSO80204B('192.168.45.2')
print (instrument.get_identification())
if __name__ == "__main__":
main()