From b4f8b89d49ad18ede563b2968aa246d1e519cb3b Mon Sep 17 00:00:00 2001 From: xans Date: Fri, 21 Nov 2025 21:11:09 +0100 Subject: [PATCH] Add Examples/Scope_Simple_Demo.py --- Examples/Scope_Simple_Demo.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Examples/Scope_Simple_Demo.py diff --git a/Examples/Scope_Simple_Demo.py b/Examples/Scope_Simple_Demo.py new file mode 100644 index 0000000..fa8a64d --- /dev/null +++ b/Examples/Scope_Simple_Demo.py @@ -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)) \ No newline at end of file