Ignore:
Timestamp:
Jan 17, 2014, 10:18:16 AM (11 years ago)
Author:
demin
Message:

reorder channels

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/3DEES/UserInterface.tcl

    r181 r182  
    6969    variable cfgThrs
    7070    array set cfgThrs {
    71         0  20
    72         6  2000
    73         1  20
    74         7  2000
    75         2  20
    76         8  200
    77         9  2000
    78         10 3000
    79         3  20
    80         11 200
    81         12 2000
    82         13 3000
    83         4  20
    84         14 200
    85         15 2000
    86         16 3000
    87         5  20
    88         17 200
    89         18 2000
    90         19 3000
     71        0  8
     72        6  50
     73        1  8
     74        7  50
     75        2  10
     76        8  31
     77        9  52
     78        10 79
     79        3  60
     80        11 135
     81        12 171
     82        13 233
     83        4  249
     84        14 348
     85        15 495
     86        16 693
     87        5  505
     88        17 606
     89        18 707
     90        19 808
    9191    }
    9292
     
    9797    array set inpCodes {
    9898        0 {r}
    99         1 {f}
    100         2 {d}
    101         3 {c}
     99        1 {c}
     100        2 {a}
     101        3 {f}
    102102    }
    103103
     
    351351                set column [expr {$num + 1}]
    352352                set value $cfgCodes(${ch}_${num})
    353                 puts "${ch} ${num} ${value}"
    354353                spinbox ${config(thrs)}.thrs_${value} -from 0 -to 4095 \
    355354                  -increment 10 -width 10 -textvariable [myvar thrs($value)] \
     
    376375                set column [expr {$num + 1}]
    377376                set value $cfgCodes(${ch}_${num})
    378                 puts "${ch} ${num} ${value}"
    379377                spinbox ${config(bins)}.thrs_${value} -from 0 -to 4095 \
    380378                  -increment 10 -width 10 -textvariable [myvar thrs($value)] \
     
    511509        $config(4).chan_0_4 select
    512510        $config(5).chan_0_5 select
    513         $config(6).chan_0_1 select
     511        $config(6).chan_2_1 select
    514512
    515513        foreach {ch dummy} [array get adcCodes] {
     
    564562        grid $config(key).r -row 0 -column 0 -sticky news
    565563
    566         label $config(key).f -text "f - filtered signal"
     564        label $config(key).f -text "c - filtered and clipped signal"
    567565        grid $config(key).f -row 0 -column 1 -sticky news
    568566
    569         label $config(key).d -text "d - deconvoluted signal"
     567        label $config(key).d -text "a - amplitude"
    570568        grid $config(key).d -row 0 -column 2 -sticky news
    571569
    572         label $config(key).c -text "c - clipped signal"
     570        label $config(key).c -text "f - amplitude flag"
    573571        grid $config(key).c -row 0 -column 3 -sticky news
    574572
     
    983981
    984982        ${config}.thrs_check select
    985         ${config}.thrs_field set 100
     983        ${config}.thrs_field set 30
    986984    }
    987985
Note: See TracChangeset for help on using the changeset viewer.