Add Examples/Scope_Simple_Demo.py
This commit is contained in:
parent
2a344c2130
commit
b4f8b89d49
12
Examples/Scope_Simple_Demo.py
Normal file
12
Examples/Scope_Simple_Demo.py
Normal file
@ -0,0 +1,12 @@
|
||||
import MeasKit
|
||||
import pyvisa
|
||||
|
||||
rm = pyvisa.ResourceManager()
|
||||
print(rm.list_resources())
|
||||
inst = MeasKit.instrument('TCPIP::192.168.0.3::INSTR','DS1054Z')
|
||||
inst.conf_channel('1','ON',10,'20M','DC')
|
||||
inst.conf_channel('2','ON',10,'20M','DC')
|
||||
inst.conf_channel('3','ON',10,'20M','DC')
|
||||
inst.conf_channel('4','ON',10,'20M','DC')
|
||||
inst.send_trigger('TFORCE')
|
||||
print(inst.get_data(1))
|
||||
Loading…
x
Reference in New Issue
Block a user