Replies: 2 comments 6 replies
-
I don't think this is specific to do0d. What happens when you call do0d here is that it calls get on the parameter that you supply and store the result. I would expect that if you call |
Beta Was this translation helpful? Give feedback.
-
I ended up adding a parameter to the driver # Set number of points for waveform
self.waveform_points = Parameter(
name="waveform_points",
instrument=self,
label="No. of points for waveform",
get_cmd=":WAV:POIN?",
set_cmd=":WAV:POIN {}",
vals=vals.Numbers(),
get_parser=int,
) And did the following to replicate the tutorial: nPoints = 5000
dso.acquire_points(nPoints)
dso.sample_rate(nPoints/dso.timebase_range())
dso.acquire_interpolate(0)
dso.run()
# Modified addition from here onwards
dso.waveform_points(2500)
dso.ch4.trace.get() I get no errors and get an array as the output. However, when running
|
Beta Was this translation helpful? Give feedback.
-
Hi,
I'm trying to replicate the tutorial mentioned in the documentation but end up running into an error when running the following command:
Any help would be appreciated!
Beta Was this translation helpful? Give feedback.
All reactions