-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Hi, I am trying to just save data from the tektronix DPO2024B oscilloscope, and am using a pretty simple code, but am getting this error in return: 'USBInstrument' object has no attribute 'ask'. Can someone help me understand how to fix this?
Thank you!
import os
import pyvisa
os.chdir('C:/Users/Lenovo/Desktop/ThorlabsKinesisControl/PyTektronixScope-master')
from PyTektronixScope import TektronixScope
rm = pyvisa.ResourceManager()
J = rm.list_resources()
scope = TektronixScope(J[0])
X,Y = scope.read_data_one_channel('CH2', t0 = 0, DeltaT = 1E-6, x_axis_out=True)
Metadata
Metadata
Assignees
Labels
No labels