Summary: | Trigger source list not correct for all models | ||
---|---|---|---|
Product: | libsigrok | Reporter: | Uwe Hermann <uwe> |
Component: | Driver: rigol-ds | Assignee: | Nobody <nobody> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | a-sigrok.org |
Priority: | Normal | ||
Version: | unreleased development snapshot | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Attachments: | Stores the trigger sources in the model struct and uses a macro to populate the info |
Description
Uwe Hermann
2014-01-28 16:08:23 CET
The list of trigger sources that's returned currently only seems to depend on whether the scope has digital channels or not. For those with digital channels, it outputs the full list (including CH3 and CH4 for scopes with only two analog channels), for those without it'll always print CH1-4. I suppose a possible solution would be having two lists of triggers, with and without CH3 and CH4, and returning a (for analog-only scopes truncated) reference to that list. Created attachment 430 [details]
Stores the trigger sources in the model struct and uses a macro to populate the info
Fixed in 6bcc81ac3aae2ab805f9c856c211c56c07afc8e2, thanks! |