On Sun, Oct 26, 2014 at 01:01:06PM +0100, Bert Vermeulen wrote:
> 
> >> The problem is that I don't know if that is currently possible.
> >> It is easy to put data from multiple channels into one packet,
> >> but the problem is that in this case the different channels
> >> have different MQs and units. Is there currently some way that
> >> would allow sending a packet that contains multiple measurements
> >> with independent MQs and units each?
> > 
> > No, unfortunatly it is not currently possible.
> > I agree with you about this problem, and IMHO, it would be nice
> > if we could output simultaneously several MQs on a single channel.
> > This would also benefit PPS which can report both V and A for each
> > channel.
> > If you have a concrete proposition to go in this direction, I
> > would like to here the opinion of other developpers.
> 
> The need for this has come up before, in the context of logic + analog data
> that refers to the same time period, e.g. input and output of some ADC. The
> frontend would need some way to sync up the two streams.
> 
> And indeed, the PPS example is a good one. Some of these devices allow for
> grabbing voltage and current measurements at the same time from the internal
> measurement averages, but sigrok doesn't permit reporting them as synced
> measurements.

Yes it does. We already have a way to represent this.

The SR_DF_FRAME_BEGIN and SR_DF_FRAME_END packets are used to group sets
of packets to indicate they contain synchronised data. This is already
implemented by some of our scope drivers, e.g. for a Rigol DS1052D you
will see a set of packets like this for each frame:

SR_DF_FRAME_BEGIN
SR_DF_ANALOG (CH1)
SR_DF_ANALOG (CH2)
SR_DF_LOGIC (D0-D16)
SR_DF_FRAME_END

The same approach should be applicable for any other synchronised
measurements IMO.


Martin

------------------------------------------------------------------------------
_______________________________________________
sigrok-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to