On Fri, 2020-06-05 at 18:18 +0200, Christian Mauderer wrote:
>
> I recently got my hands on a Siglent SDS2104X Plus. [ ... ]
>
> Is there some guide or some hints (like notes for porting an older
> Siglent model) that I could use as a starting point to find out what the
> values mean and determine the right values for my scope?

Usually you'd get the vendor's programming guide for those SCPI
speaking devices. Then compare more recent models' capabilities
to the existing implementation, whether the same set of
instructions can be kept, or new instructions were introduced and
are required to use the newer device's features. Check the
vendor's download area for programming guides, or programming
related chapters in the user manual.

> @@ -196,6 +197,8 @@ static const struct siglent_sds_series supported_series[] 
> = {
>               { 50, 1 }, { 500, 100000 }, 14, 8, 14000363},
>       [SDS2000X] = {VENDOR(SIGLENT), "SDS2000X", SPO_MODEL,
>               { 50, 1 }, { 500, 100000 }, 14, 8, 14000363},
> +     [SDS2000XP] = {VENDOR(SIGLENT), "SDS2000X Plus", SPO_MODEL,
> +             { 50, 1 }, { 500, 100000 }, 14, 8, 14000363},
>  };
>
>  #define SERIES(x) &supported_series[x]

The specific question of what the supported_series[] table items'
fields mean -- just lookup the the item's data type declaration
(here: struct siglent_sds_series). Your diff's context (the
hunk's caption) shows it already. Get an editor that's capable of
navigating source code, if you don't have one yet. Otherwise
you'd be stuck with mere text search, which is possible but more
tedious.


virtually yours
Gerhard Sittig
--
     If you don't understand or are scared by any of the above
             ask your parents or an adult to help you.


_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to