-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathgui.fl
executable file
·1515 lines (1515 loc) · 42.5 KB
/
gui.fl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# data file for the Fltk User Interface Designer (fluid)
version 1.0300
header_name {.h}
code_name {.cxx}
class Gui {open
} {
Function {Gui()} {open
} {
Fl_Window mainWindow {
label {FOXSI GSE} open
xywh {410 44 1361 937} type Double color 19
code0 {\#include "Application.h"}
code1 {\#include <stdlib.h>}
code2 {\#include "Foxsidata.h"}
code3 {\#include "usbd2xx.h"} visible
} {
Fl_Menu_Bar menuBar {
label menuBar open
xywh {-5 -1 1460 26} box BORDER_BOX color 29
} {
Submenu {} {
label {FOXSI GSE}
xywh {0 0 100 20} labelfont 1
} {
MenuItem {} {
label {About FOXSI GSE}
callback {AboutWindow->show()}
xywh {0 0 36 21}
}
MenuItem {} {
label {Preferences...}
callback {app->read_preferences();
app->update_preferencewindow();
PreferenceWindow->show();}
xywh {0 0 36 21}
}
MenuItem {} {
label Quit
callback {prefs->flush();
exit(1);}
xywh {5 5 36 21} shortcut 0x400071
}
}
Submenu fileMenu {
label File open
xywh {0 0 100 20}
} {
MenuItem readFile {
label {Read Formatter Save File}
callback {app->read_file();}
xywh {0 0 100 20}
}
MenuItem readUSBStream {
label {Read USB Stream}
xywh {0 0 36 21}
}
MenuItem readTeleStream {
label {Read Tele Stream}
xywh {0 0 36 21}
}
MenuItem WritePicScreen {
label {Write Spec}
xywh {10 10 100 20}
}
MenuItem WriteLightcurve {
label {Write Lightcurve}
xywh {10 10 100 20}
}
}
Submenu menuProc {
label Window open
xywh {0 0 100 20}
} {
MenuItem {} {
label Commanding
callback {sendCommandsWindow->show()}
xywh {0 0 31 20}
}
MenuItem {} {
label {ACTEL Commanding}
callback {sendParamsWindow->show();}
xywh {0 0 31 20}
}
}
}
Fl_Group {} {
label Image open
xywh {10 45 740 880}
} {
Fl_Box mainImageWindow {
label Image
xywh {15 640 280 285} box GTK_UP_BOX
code0 {\#include "mainImage.h"}
class mainImage
}
Fl_Output pixelNum {
label Pixel
xywh {660 437 80 25}
}
Fl_Button {} {
label Flush
callback {app->flush_image();}
xywh {653 168 80 25}
}
Fl_Light_Button mainImage_integrate_button {
label Integrate
callback {app->toggle_image_integrate();}
xywh {654 200 80 30}
}
Fl_Button {} {
label Save
callback {app->save_image_to_file();}
xywh {679 235 54 25}
}
Fl_Check_Button showmask_checkbox {
label {show mask}
callback {app->toggle_show_mask();}
xywh {649 60 63 15} down_box DOWN_BOX
}
Fl_Value_Output pixelCounts {
label {Cts:}
xywh {659 81 75 24} step 1
}
Fl_Light_Button Lockbut {
label {lock position}
xywh {629 138 105 25}
}
Fl_Value_Slider mainImageMax_slider {
label {max:}
callback {app->set_imagemax();}
xywh {665 270 31 145} align 258 maximum 100 step 1 textsize 14
}
Fl_Box detectorsImageWindow {
label {All Detectors Image}
xywh {14 56 595 552} box GTK_UP_BOX
code0 {\#include "detectorsImage.h"}
class detectorsImage
}
Fl_Value_Slider pixel_halflife_slider {
label {half-life}
xywh {700 270 30 145} align 294 maximum 30 step 0.1 value 1 textsize 14
}
Fl_Choice {} {
label {\#:} open
xywh {75 615 70 20} down_box BORDER_BOX
} {
MenuItem {} {
label 0
callback {app->set_detector_to_display(0);}
xywh {0 0 31 20}
}
MenuItem {} {
label 1
callback {app->set_detector_to_display(1);}
xywh {0 0 31 20}
}
MenuItem {} {
label 2
callback {app->set_detector_to_display(2);}
xywh {0 0 31 20}
}
MenuItem {} {
label 3
callback {app->set_detector_to_display(3);}
xywh {0 0 31 20}
}
MenuItem {} {
label 4
callback {app->set_detector_to_display(4);}
xywh {0 0 31 20}
}
MenuItem {} {
label 5
callback {app->set_detector_to_display(5);}
xywh {0 0 31 20}
}
MenuItem {} {
label 6
callback {app->set_detector_to_display(6);}
xywh {0 0 31 20}
}
}
Fl_Output arcminOffset {
label Arcmin
xywh {660 465 80 25}
}
}
Fl_Group {} {
label {Telemetry Info} open
xywh {1040 120 315 170} box THIN_UP_FRAME
} {
Fl_Value_Output shutterstateOutput {
label {Shutter state}
xywh {1314 128 39 22} step 1
}
Fl_Value_Output tempOutput2 {
label FAct
tooltip {ACTEL on formatter board} xywh {1076 211 40 24} step 0.1
}
Fl_Value_Output HVOutput {
label HV
xywh {1077 127 40 24} step 1
}
Fl_Value_Output tempOutput1 {
label Pwr
tooltip {power board} xywh {1076 183 40 24} step 0.1
}
Fl_Value_Output tempOutput3 {
label FClk
tooltip {Clock on formatter board} xywh {1076 237 40 23} step 0.1
}
Fl_Value_Output tempOutput {
label Tref
xywh {1077 156 40 24} step 0.1
}
Fl_Value_Output tempOutput10 {
label DPlan
tooltip {Detector Plane (near 3)} xywh {1240 215 40 24} step 0.1
}
Fl_Value_Output tempOutput7 {
label Det1
tooltip {Detector 1} xywh {1240 185 40 24} step 0.1
}
Fl_Value_Output tempOutput11 {
label Det4
tooltip {Detector 5} xywh {1240 155 40 24} step 0.1
}
Fl_Value_Output tempOutput6 {
label Det6
tooltip {Detector 6} xywh {1153 212 40 24} step 0.1
}
Fl_Value_Output tempOutput5 {
label ABrd
tooltip {ACTEL board} xywh {1152 185 40 24} step 0.1
}
Fl_Value_Output tempOutput9 {
label Det3
tooltip {Detector 3} xywh {1153 238 40 22} step 0.1
}
Fl_Value_Output tempOutput4 {
label AAct
tooltip {ACTEL on ACTEL board} xywh {1152 155 40 24} step 0.1
}
Fl_Value_Output tempOutput8 {
label Det0
tooltip {Detector 0} xywh {1240 241 40 20} step 0.1
}
Fl_Value_Output VoltageOutput1 {
label {-5V}
xywh {1313 184 40 24} step 0.01
}
Fl_Value_Output VoltageOutput0 {
label 5V
xywh {1313 155 40 24} step 0.01
}
Fl_Value_Output VoltageOutput2 {
label {1.5V}
xywh {1313 212 40 24} step 0.01
}
Fl_Value_Output VoltageOutput3 {
label {3.3V}
xywh {1313 240 40 20} step 0.01
}
Fl_Value_Output CommandCntOutput {
label CmdCnt
xywh {1153 263 40 25}
}
Fl_Output CommandOutput {
label {Cmd:}
xywh {1240 266 115 23}
}
}
Fl_Group {} {
label Histogram open
xywh {295 478 1055 446} color 41
} {
Fl_Box mainHistogramWindow {
label Histogram
xywh {845 480 325 278} box GTK_UP_BOX
code0 {\#include "mainHistogram.h"}
class mainHistogram
}
Fl_Choice mainHistogram_choice {
label {choice:} open
xywh {1235 545 105 25} down_box BORDER_BOX
} {
MenuItem {} {
label Channel
xywh {0 0 31 20}
}
MenuItem {} {
label Energy
callback {app->set_energy_histogram()}
xywh {0 0 31 20}
}
}
Fl_Value_Output histCounts {
label {Counts:}
xywh {1265 516 75 24} step 1
}
Fl_Value_Output histEnergy {
label {Chan/Energy:}
xywh {1265 486 75 24} step 1
}
Fl_Button {} {
label Flush
callback {app->flush_histogram();}
xywh {1275 574 65 25}
}
Fl_Counter histogrambinsize_counter {
label {bin size:}
callback {app->update_histogrambinsize();}
xywh {1225 604 115 20} minimum 1 step 1 value 25
}
Fl_Counter histogramxmax_counter {
label {Chan max:}
callback {app->update_histogramxmax();}
xywh {1225 645 115 20} minimum 1 maximum 1024 step 1 value 1024
}
Fl_Button {} {
label Save
callback {app->save_histogram_to_file();}
xywh {1215 574 54 25}
}
Fl_Value_Slider mainImageMin_slider {
label {min ADC}
callback {app->set_lowthreshold();}
xywh {790 645 45 105} align 289 minimum 1 maximum 1023 step 1 value 100 textsize 14
}
Fl_Check_Button minus_common_mode_checkbox {
label {minus common mode}
xywh {1180 735 160 15} down_box DOWN_BOX
}
Fl_Value_Slider mainHistogram_ymax_slider {
label max
callback {app->set_histogram_max();}
xywh {790 500 45 115} align 289 maximum 20000 step 200 textsize 14
}
Fl_Box detectorsHistogramWindow {
label {All Histogram Display}
xywh {300 774 1050 150} box GTK_UP_BOX
code0 {\#include "detectorsHistogram.h"}
class detectorsHistogram
}
}
Fl_Group {} {
label Control open
xywh {745 75 290 215} box DOWN_FRAME
} {
Fl_Value_Output frameTime {
label {frame time}
xywh {820 263 75 23} maximum 1e+07 step 1
}
Fl_Value_Output framenumOutput {
label {Frame \#:}
xywh {807 136 75 24} maximum 1e+09 step 1
}
Fl_Button {} {
label reset
callback {app->reset_read_counter();}
xywh {970 105 55 25}
}
Fl_Light_Button initializeBut {
label Initialize
callback {app->initialize()}
xywh {753 78 70 25} box THIN_UP_BOX
}
Fl_Button startReadingDataButton {
label Start
callback {app->read_preferences();
app->start_reading_data();}
xywh {826 78 60 25} deactivate
}
Fl_Light_Button closeBut {
label Close
callback {app->close_data()}
xywh {945 78 80 25} deactivate
}
Fl_Value_Input nEvents {
label events
xywh {807 166 40 24}
}
Fl_Light_Button writeFileBut {
label {Write to file}
callback {app->start_file()}
xywh {753 105 95 25}
}
Fl_Button stopReadingDataButton {
label Stop
callback {app->stop_reading_data();}
xywh {891 78 50 25} labelcolor 1 deactivate
}
Fl_Value_Output inttimeOutput {
label {local time (s):}
xywh {840 236 65 24}
}
Fl_Button test_button {
label test2
callback {app->testfunction();}
xywh {760 205 60 25}
}
Fl_Value_Output frame_missOutput {
label {frame miss %:}
xywh {980 136 40 24} step 1
}
Fl_Value_Output bad_frameOutput {
label {bad frame %:}
xywh {980 166 40 24} step 1
}
Fl_Value_Output no_triggerOutput {
label {no trig %:}
xywh {980 196 40 24} step 1
}
Fl_Value_Output int_timeOutput {
label {int time (s)}
xywh {965 263 65 23} maximum 1e+10 step 1
}
Fl_Button {} {
label {flush all}
callback {app->flush_all();}
xywh {905 105 55 25}
}
}
Fl_Group {} {
label LightCurve open
xywh {765 345 585 110} box THIN_UP_FRAME
} {
Fl_Box mainLightcurveWindow {
label {Light curve}
xywh {837 345 303 110} box GTK_UP_BOX
code0 {\#include "mainLightcurve.h"}
class mainLightcurve
}
Fl_Button {} {
label Flush
callback {app->flush_timeseries();}
xywh {1275 350 75 25}
}
Fl_Value_Output ctsOutput {
label {cts/s:}
xywh {1187 350 77 24} step 0.1
}
Fl_Counter timebinsize_counter {
label {bin size (s):}
xywh {1150 380 120 20} align 8 minimum 0.1 value 1
}
Fl_Counter lightcurvexmax_counter {
label {total sec:}
callback {app->update_lightcurvexmax();}
xywh {1150 405 120 20} align 8 minimum 1 step 1 value 20
}
Fl_Value_Slider mainLightcurve_ymaxslider {
label {max:}
callback {app->set_lightcurve_ymax();}
xywh {785 350 25 85} align 290 maximum 5000 step 100 textsize 14
}
Fl_Value_Output totalctsOutput {
label {Total Counts}
xywh {1230 428 115 24} step 1
}
}
Fl_Group {} {
label Console
xywh {300 640 465 125} box THIN_UP_FRAME
} {
Fl_Text_Display consoleBuf {
xywh {300 645 370 120}
}
Fl_Button {} {
label Clear
callback {app->clear_console();}
xywh {685 660 65 25}
}
Fl_Check_Button printasicframe_button {
label {print frame}
xywh {675 700 63 15} down_box DOWN_BOX
}
}
Fl_Group detector_choice {
label {\#} open
xywh {780 301 260 29} box DOWN_BOX align 4
} {
Fl_Check_Button detector0_checkbox {
label 0
callback {app->toggle_detector_display();}
xywh {785 301 35 29} down_box DOWN_BOX
}
Fl_Check_Button detector1_checkbox {
label 1
callback {app->toggle_detector_display();}
xywh {815 301 35 29} down_box DOWN_BOX
}
Fl_Check_Button detector2_checkbox {
label 2
callback {app->toggle_detector_display();}
xywh {845 301 35 29} down_box DOWN_BOX
}
Fl_Check_Button detector3_checkbox {
label 3
callback {app->toggle_detector_display();}
xywh {875 301 35 29} down_box DOWN_BOX
}
Fl_Check_Button detector4_checkbox {
label 4
callback {app->toggle_detector_display();}
xywh {905 301 35 29} down_box DOWN_BOX
}
Fl_Check_Button detector5_checkbox {
label 5
callback {app->toggle_detector_display();}
xywh {935 301 35 29} down_box DOWN_BOX
}
Fl_Check_Button detector6_checkbox {
label 6
callback {app->toggle_detector_display();}
xywh {965 301 65 29} down_box DOWN_BOX
}
Fl_Check_Button detectorAll_checkbox {
label All
callback {app->toggle_detector_display();}
xywh {995 301 45 29} down_box DOWN_BOX value 1
}
}
Fl_Output versionDisplay {
label {version:} selected
xywh {1120 30 235 24}
}
}
Fl_Window sendParamsWindow {
label {Send Parameters}
xywh {867 479 1053 524} type Double visible
} {
Fl_Button sendParamsWindow_sendBut {
label Send
callback {app->save_settings();
app->send_params();
//sendParamsWindow->hide();}
xywh {415 425 70 25} value 1
}
Fl_Value_Input {sendParamsWindow_value[0]} {
label {Vfss_neg:}
xywh {135 11 40 24} step 1
}
Fl_Value_Input {sendParamsWindow_value[1]} {
label {Tp_longb:}
xywh {135 38 40 24} maximum 7 step 1
}
Fl_Button {} {
label Close
callback {sendParamsWindow->hide();}
xywh {415 460 70 25}
}
Fl_Value_Input {sendParamsWindow_value[2]} {
label {Sbi_hp1:}
xywh {135 65 40 23} maximum 7 step 1
}
Fl_Value_Input {sendParamsWindow_value[3]} {
label {Sbi_hp2b:}
xywh {135 92 40 23} maximum 7 step 1
}
Fl_Value_Input {sendParamsWindow_value[4]} {
label {Iramp_fb:}
xywh {135 118 40 24} maximum 7 step 1
}
Fl_Value_Input {sendParamsWindow_value[5]} {
label {Iramp_f2:}
xywh {135 146 40 24} maximum 7 step 1
}
Fl_Value_Input {sendParamsWindow_value[6]} {
label {CM_thr_dis:}
xywh {135 173 40 24} maximum 7 step 1
}
Fl_Value_Input {sendParamsWindow_value[7]} {
label {RO_all:}
xywh {135 201 40 24} maximum 7 step 1
}
Fl_Value_Input {sendParamsWindow_value[8]} {
label {Ck_en:}
xywh {135 228 40 24} maximum 7 step 1
}
Fl_Value_Input {sendParamsWindow_value[9]} {
label {Prebi_hp:}
xywh {135 256 40 24} maximum 7 step 1
}
Fl_Value_Input {sendParamsWindow_value[10]} {
label {Cal_gen_on:}
xywh {135 284 40 24} maximum 7 step 1
}
Fl_Value_Input {sendParamsWindow_value[11]} {
label {Slew_on_b:}
xywh {135 311 40 24} maximum 7 step 1
}
Fl_Value_Input {sendParamsWindow_value[12]} {
label {Nside:}
xywh {135 338 40 24} maximum 7 step 1
}
Fl_Value_Input {sendParamsWindow_value[13]} {
label {CC_on:}
xywh {135 365 40 24} maximum 7 step 1
}
Fl_Value_Input {sendParamsWindow_value[14]} {
label {Test_on:}
xywh {135 392 40 24} maximum 7 step 1
}
Fl_Value_Input {sendParamsWindow_value[15]} {
label {Low_gain:}
xywh {135 420 40 24} maximum 7 step 1
}
Fl_Value_Input {sendParamsWindow_value[16]} {
label {negQ:}
xywh {290 13 40 24} maximum 7 step 1
}
Fl_Value_Input {sendParamsWindow_value[17]} {
label Reserved
xywh {290 40 40 24} maximum 7 step 1
}
Fl_Value_Input {sendParamsWindow_value[18]} {
label {ADC_on_b:}
xywh {290 67 40 24} maximum 7 step 1
}
Fl_Value_Input {sendParamsWindow_value[19]} {
label {VA_RO:}
xywh {290 95 40 24} maximum 7 step 1
}
Fl_Value_Input {sendParamsWindow_value[20]} {
label {Vrc_negQ:}
xywh {290 120 40 24} maximum 7 step 1
}
Fl_Value_Input {sendParamsWindow_value[21]} {
label {Ileak_offset:}
xywh {290 147 40 24} maximum 7 step 1
}
Fl_Value_Input {sendParamsWindow_value[22]} {
label {ADC_test1:}
xywh {290 174 40 24} maximum 7 step 1
}
Fl_Value_Input {sendParamsWindow_value[23]} {
label {ADC_test2:}
xywh {290 201 40 24} maximum 7 step 1
}
Fl_Value_Input {sendParamsWindow_value[24]} {
label {Delay, dummy:}
xywh {290 229 40 24} maximum 63 step 1
}
Fl_Value_Input {sendParamsWindow_value[25]} {
label {Digital threshold:}
xywh {290 257 40 24} maximum 255 step 1
}
Fl_Value_Input {sendParamsWindow_value[26]} {
label {Shabi_lg:}
xywh {290 284 40 24} maximum 7 step 1
}
Fl_Value_Input {sendParamsWindow_value[27]} {
label {Pos_Il_1:}
xywh {290 311 40 24} maximum 7 step 1
}
Fl_Value_Input {sendParamsWindow_value[28]} {
label {Pos_Il_2:}
xywh {290 338 40 24} maximum 7 step 1
}
Fl_Value_Input {sendParamsWindow_value[29]} {
label {Bias DAC, vthr:}
xywh {290 366 40 24} maximum 31 step 1
}
Fl_Value_Input {sendParamsWindow_value[30]} {
label {Bias DAC, ifp:}
xywh {290 394 40 24} maximum 31 step 1
}
Fl_Value_Input {sendParamsWindow_value[31]} {
label {Bias DAC, Iramp:}
xywh {290 421 40 24} maximum 31 step 1
}
Fl_Value_Input {sendParamsWindow_value[32]} {
label {Bias DAC, ck_bi:}
xywh {480 14 40 24} maximum 31 step 1
}
Fl_Value_Input {sendParamsWindow_value[33]} {
label {Bias DAC, cal_bi:}
xywh {480 41 40 24} maximum 31 step 1
}
Fl_Value_Input {sendParamsWindow_value[34]} {
label {Bias DAC, twbi:}
xywh {480 68 40 24} maximum 31 step 1
}
Fl_Value_Input {sendParamsWindow_value[35]} {
label {Bias DAC, sha_bias:}
xywh {480 96 40 24} maximum 31 step 1
}
Fl_Value_Input {sendParamsWindow_value[36]} {
label {Bias DAC, ifss:}
xywh {480 123 40 24} maximum 31 step 1
}
Fl_Value_Input {sendParamsWindow_value[37]} {
label {Bias DAC, ifsf:}
xywh {480 150 40 24} maximum 31 step 1
}
Fl_Value_Input {sendParamsWindow_value[38]} {
label {Bias DAC, vrc:}
xywh {480 177 40 24} maximum 31 step 1
}
Fl_Value_Input {sendParamsWindow_value[39]} {
label {Bias DAC, sbi:}
xywh {480 205 40 24} maximum 31 step 1
}
Fl_Value_Input {sendParamsWindow_value[40]} {
label {Bias DAC, pre_bias:}
xywh {480 232 40 24} maximum 31 step 1
}
Fl_Value_Input {sendParamsWindow_value[41]} {
label {Bias DAC, ibuf:}
xywh {480 260 40 24} maximum 31 step 1
}
Fl_Value_Input {sendParamsWindow_value[42]} {
label {Bias DAC, obi:}
xywh {480 287 40 24} maximum 31 step 1
}
Fl_Value_Input {sendParamsWindow_value[43]} {
label {Bias DAC, Ioffset:}
xywh {480 314 40 24} maximum 31 step 1
}
Fl_Value_Input {sendParamsWindow_value[44]} {
label {Bias DAC, disc3_bi:}
xywh {480 341 40 24} maximum 31 step 1
}
Fl_Light_Button {sendParamsWindow_chan[0]} {
label 0
xywh {555 35 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[1]} {
label 1
xywh {555 55 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[2]} {
label 2
xywh {555 75 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[3]} {
label 3
xywh {555 95 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[4]} {
label 4
xywh {555 115 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[5]} {
label 5
xywh {555 135 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[6]} {
label 6
xywh {555 155 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[7]} {
label 7
xywh {555 175 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[8]} {
label 8
xywh {555 195 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[9]} {
label 9
xywh {555 215 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[10]} {
label 10
xywh {555 235 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[11]} {
label 11
xywh {555 255 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[12]} {
label 12
xywh {555 275 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[13]} {
label 13
xywh {555 295 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[14]} {
label 14
xywh {555 315 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[15]} {
label 15
xywh {555 335 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[16]} {
label 16
xywh {555 355 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[17]} {
label 17
xywh {555 375 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[18]} {
label 18
xywh {555 395 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[19]} {
label 19
xywh {555 415 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[20]} {
label 20
xywh {555 435 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[21]} {
label 21
xywh {620 35 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[22]} {
label 22
xywh {620 55 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[23]} {
label 23
xywh {620 75 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[24]} {
label 24
xywh {620 95 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[25]} {
label 25
xywh {620 115 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[26]} {
label 26
xywh {620 135 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[27]} {
label 27
xywh {620 155 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[28]} {
label 28
xywh {620 175 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[29]} {
label 29
xywh {620 195 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[30]} {
label 30
xywh {620 215 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[31]} {
label 31
xywh {620 235 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[32]} {
label 32
xywh {620 255 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[33]} {
label 33
xywh {620 275 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[34]} {
label 34
xywh {620 295 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[35]} {
label 35
xywh {620 315 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[36]} {
label 36
xywh {620 335 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[37]} {
label 37
xywh {620 355 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[38]} {
label 38
xywh {620 375 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[39]} {
label 39
xywh {620 395 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[40]} {
label 40
xywh {620 415 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[41]} {
label 41
xywh {620 435 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[42]} {
label 42
xywh {685 35 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[43]} {
label 43
xywh {685 55 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[44]} {
label 44
xywh {685 75 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[45]} {
label 45
xywh {685 95 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[46]} {
label 46
xywh {685 115 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[47]} {
label 47
xywh {685 135 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[48]} {
label 48
xywh {685 155 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[49]} {
label 49
xywh {685 175 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[50]} {
label 50
xywh {685 195 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[51]} {
label 51
xywh {685 215 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[52]} {
label 52
xywh {685 235 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[53]} {
label 53
xywh {685 255 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[54]} {
label 54
xywh {685 275 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[55]} {
label 55
xywh {685 295 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[56]} {
label 56
xywh {685 315 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[57]} {
label 57
xywh {685 335 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[58]} {
label 58
xywh {685 355 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[59]} {
label 59
xywh {685 375 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[60]} {
label 60
xywh {685 395 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[61]} {
label 61
xywh {685 415 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[62]} {
label 62
xywh {685 435 67 20}
}
Fl_Light_Button {sendParamsWindow_chan[63]} {
label 63
xywh {685 455 67 20}
}
Fl_Value_Input sendParamsWindow_asic {
label ASIC
callback {app->restore_settings();}
xywh {460 386 15 24} maximum 3 step 1
}
Fl_Button {} {
label {set all}
callback {for(int i=0; i<64; i++)
sendParamsWindow_chan[i]->set();}
xywh {555 455 63 20}
}
Fl_Button {} {
label {clear all}
callback {for(int i=0; i<64; i++)
sendParamsWindow_chan[i]->clear();}
xywh {619 455 63 20}
}
Fl_Text_Display {} {
label {Channel disable}
xywh {705 5 15 20} align 4