Bug 1123

Summary: Timebase sequence incorrect for some Siglent scopes
Product: libsigrok Reporter: Uwe Hermann <uwe>
Component: Driver: siglent-sdsAssignee: Nobody <nobody>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unreleased development snapshot   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Uwe Hermann 2018-02-18 18:43:53 CET
Some scopes, e.g. SDS1052DL+, use a different timebase set than the usual 5-2-1 sequence.

The driver currently uses this for all scopes:
        /* milliseconds */
        { 1, 1000 },
        { 2, 1000 },
        { 5, 1000 },
        { 10, 1000 },
        { 20, 1000 },
        { 50, 1000 },
        { 100, 1000 },
        { 200, 1000 },
        { 500, 1000 },

On SDS1052DL+ the following is actually correct (5-2.5-1 sequnce):

        /* milliseconds */
        { 1, 1000 },
        { 25, 10000 }, // 2.5ms
        { 5, 1000 },
        { 10, 1000 },
        { 25, 1000 }, // 25ms
        { 50, 1000 },
        { 100, 1000 },
        { 250, 1000 }, // 250ms
        { 500, 1000 },

The same applies for other timebase values.

The VDIV values *are* 5-2-1 based on this scope, however.