On 01/07/2013 05:16 PM, Lior Elazary wrote:

> 1) I still need some more work on the number of samples since this device
> always returns 1024 samples. For now I am limiting it for a minimum of
> 1024. However, if we want 2048 sample, that will result in two triggers,
> but we should still return all this data. This can be very useful to
> decode protocols that are outputting different data at a particular rate.
> So what should we do about the triggers? since the data will not be
> contiguous.

I'm not sure I understand this... if the two chunks of data are not
contiguous, what would be the point of concatenating them together and
decoding them that way? Some piece in the middle would be missing in that
case...

> 2) Need to add the analog sensor. I just need to see how you guys do it
> in the other drivers.

Check the hantek-dso driver, that's the most complete oscilloscope driver.

> 3) Need to convert the trigger position to time? How is the trigger
> position set right now in the GUIs?

>From the driver's point of view, when you get a chunk of data from the
hardware with an indication of where the trigger happened in that chunk, you
split that chunk in two. Send the first part to the session bus, then a
SR_DF_TRIGGER packet, then the second part.


-- 
Bert Vermeulen        [email protected]          email/xmpp

------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of 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_122512
_______________________________________________
sigrok-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to