Added basic GUI
This commit is contained in:
18
test_eth.py
Normal file
18
test_eth.py
Normal file
@@ -0,0 +1,18 @@
|
||||
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()
|
||||
Reference in New Issue
Block a user