On 01/01/2013 04:03 PM, Martin Ling wrote: > - Some of the hwcap settings (coupling and vdiv) apply to individual > probes rather than the device as a whole. I am applying the requested > settings to all probes for now, but obviously this isn't really the > right thing to be doing. How should these settings be supported > properly?
Ok, having given this some thought it seems to me the easiest way to handle this would be to submit to the driver not a single probe's value for those settings, but all of the probes' values for a particular setting. In other words, an array of length SR_DI_NUM_PROBES containing whatever that setting requires (ptr to sr_rational, ptr to string, etc). This requires the frontend to keep track of those settings for all probes, but that is of course already the case. -- Bert Vermeulen [email protected] email/xmpp ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122912 _______________________________________________ sigrok-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sigrok-devel

