-
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
AWG - RFC #8
base: master
Are you sure you want to change the base?
AWG - RFC #8
Conversation
… properties change, and some helpers
For the enums variants, I would shorten them like: pub enum PicoSigGenTrigType
{
Rising = 0,
Falling = 1,
...
} For the device.set_sig_gen_properties_built_in(SigGenProperties {
trigger_type: PicoTriggerType::Rising,
..Default::default()
}); Having not used the sig gen/awg APIs on these devices I don't know how viable default options are. The What are your plans for siggen/awg while streaming? |
I will do both suggestions, they make sense.
Meanwhile I implemented the software trigger function and one of the on the fly update functions since the initial PR.
My aim is to allow software triggering to allow a complete capture. Right now I have some unexpected delays that probably result from misuse of the API.
Doing stop, then calling sig gen, then enable again already works. It is very fast jn human terms, although there must be some lost samples, but I did not measure that yet.
|
…eaning changes per trigger type
… will just get PICO_BUSY wip since docs say in some cases it is acceptable, but I have not seen it and in practice I just want to change the waveform which is definitely not possible.
This is related to issue #2
It is partially I think correct and partially definitely not.
I would like to get comments on:
enums - is this the right way?
PicoDriver trait extension - ditto? especially the use of unimplemented macro.
ps2000a implementation
Lastly the PicoStreamingDevice additions are pure throw away code, just for testing. What worked was basically: