-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for AWG? #2
Comments
Yes, all that's currently implemented is continuous streaming. First I need to merge these changes which:
Once thats merged all the SigGen/AWG features will be available like this. After that, support for SigGen/AWG would be added by:
|
Oooh, I see! The bindgen will be much better than writing those wrappers by hand for sure. |
We can leave this issue open and close it when the AWG is fully supported! |
Hi, I've taken a stab at adding AWG, so far I'm getting errors when trying to grab the handle, but those appear to be my misunderstanding about getting a handle from driver and using streaming at the same time. Is this something that is already being worked on? The PR mentioned above has been merged it seems. Alon p.s. A bit preliminary to do a PR, because it still doesn't run (or rather my test code cannot do streaming and call this at the same time since when I do driver.handle.lock().take() it causes the following streaming operation to fail with NOT_FOUND),
|
Hi @alon, No, I have started looking at the AWG yet. Even though I have experience with every Pico driver, I have never implemented AWG features! My understanding of how the Pico devices work, and observing them in PicoScope is that you cannot modify the AWG settings while streaming is in progress. You need to configure before streaming starts and if you want to modify the settings later, you need to stop capture, modify AWG settings and then start streaming again. |
I have access to most Pico devices so if you get stuck, link to a repository and I'll be happy to take a look! |
Ok. Incidentally, I tried that meanwhile with the built in v2 variant, and it worked! Bummer about the required work flow, but it should be still usable. I will need ro figure out the relation between transmit start (i.e. AWG trigger?) And the recieve (i.e. streaming). I will post my test code as PR for review.
|
Is there any support for Arbitrary Waveform Generator?
All I've seen is
Streaming
for incoming data, and I only see 2 channels being shown (A, B) on my 2204A.I've skimmed through most of the crates in this repo but haven't seen a way of using the AWG.
EDIT:
More information about the AWG can be seen at 2.11.47 here.
People seem to be calling it directly from the dll.
The text was updated successfully, but these errors were encountered: