-
Notifications
You must be signed in to change notification settings - Fork 0
/
aqconfig.tcl
1932 lines (1919 loc) · 98.4 KB
/
aqconfig.tcl
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
#############################################################################
# Generated by PAGE version 5.5
# in conjunction with Tcl version 8.6
# Nov 04, 2020 02:26:28 PM CET platform: Windows NT
set vTcl(timestamp) ""
if {![info exists vTcl(borrow)]} {
tk_messageBox -title Error -message "You must open project files from within PAGE."
exit}
set image_list { \
configure_png "./assets/configure.png" \
dialog_close_png "./assets/dialog-close.png" \
document_new_png "./assets/document-new.png" \
document_open_png "./assets/document-open.png" \
document_save_as_png "./assets/document-save-as.png" \
document_save_png "./assets/document-save.png" \
help_about_png "./assets/help-about.png" \
help_contents_png "./assets/help-contents.png" \
help_contextual_png "./assets/help-contextual.png" \
ms_dos_batch_file_png "./assets/ms_dos_batch_file.png" \
}
vTcl:create_project_images $image_list ;# In image.tcl
if {!$vTcl(borrow) && !$vTcl(template)} {
set vTcl(actual_gui_font_dft_desc) TkDefaultFont
set vTcl(actual_gui_font_dft_name) TkDefaultFont
set vTcl(actual_gui_font_text_desc) TkTextFont
set vTcl(actual_gui_font_text_name) TkTextFont
set vTcl(actual_gui_font_fixed_desc) TkFixedFont
set vTcl(actual_gui_font_fixed_name) TkFixedFont
set vTcl(actual_gui_font_menu_desc) TkMenuFont
set vTcl(actual_gui_font_menu_name) TkMenuFont
set vTcl(actual_gui_font_tooltip_desc) TkDefaultFont
set vTcl(actual_gui_font_tooltip_name) TkDefaultFont
set vTcl(actual_gui_font_treeview_desc) TkDefaultFont
set vTcl(actual_gui_font_treeview_name) TkDefaultFont
set vTcl(actual_gui_bg) #d9d9d9
set vTcl(actual_gui_fg) #000000
set vTcl(actual_gui_analog) #ececec
set vTcl(actual_gui_menu_analog) #ececec
set vTcl(actual_gui_menu_bg) #d9d9d9
set vTcl(actual_gui_menu_fg) #000000
set vTcl(complement_color) #d9d9d9
set vTcl(analog_color_p) #d9d9d9
set vTcl(analog_color_m) #ececec
set vTcl(active_fg) #000000
set vTcl(actual_gui_menu_active_bg) #ececec
set vTcl(actual_gui_menu_active_fg) #000000
set vTcl(pr,autoalias) 1
set vTcl(pr,relative_placement) 0
set vTcl(mode) Relative
}
proc vTclWindow.top44 {base} {
global vTcl
if {$base == ""} {
set base .top44
}
if {[winfo exists $base]} {
wm deiconify $base; return
}
set top $base
###################
# CREATING WIDGETS
###################
vTcl::widgets::core::toplevel::createCmd $top -class Toplevel \
-menu "$top.m45" -background $vTcl(actual_gui_bg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black
wm focusmodel $top passive
wm geometry $top 800x600+631+159
update
# set in toplevel.wgt.
global vTcl
global img_list
set vTcl(save,dflt,origin) 0
wm maxsize $top 1924 1041
wm minsize $top 800 600
wm overrideredirect $top 0
wm resizable $top 1 1
wm deiconify $top
wm title $top "Aqserver configuration tool"
vTcl:DefineAlias "$top" "frmMain" vTcl:Toplevel:WidgetProc "" 1
set vTcl(real_top) {}
vTcl:withBusyCursor {
menu $top.m45 \
-activebackground $vTcl(analog_color_m) -activeforeground #000000 \
-background $vTcl(pr,menubgcolor) -font TkMenuFont \
-foreground $vTcl(pr,menufgcolor) -tearoff 0
$top.m45 add cascade \
-menu "$top.m45.men46" -label File
set site_3_0 $top.m45
menu $site_3_0.men46 \
-activebackground $vTcl(analog_color_m) -activeforeground #000000 \
-background $vTcl(pr,menubgcolor) -font TkMenuFont \
-foreground $vTcl(pr,menufgcolor) -tearoff 0
$site_3_0.men46 add command \
-command {#OnMnuFileNew} -label New
$site_3_0.men46 add command \
-command {#OnMnuFileOpen} -label {Open ...}
$site_3_0.men46 add command \
-command {#OnMnuFileSave} -label Save
$site_3_0.men46 add command \
-command {#OnMnuFileSaveAs} -label {Save as ...}
$site_3_0.men46 add command \
-command {#OnMnuSaveBat} -label {Save *.bat }
$site_3_0.men46 add command \
-command {#OnMnuFileSettings} -label Settings
$site_3_0.men46 add command \
-command {#OnMnuFileExit} -label Quit
$top.m45 add cascade \
-menu "$top.m45.men48" -label Help
set site_3_0 $top.m45
menu $site_3_0.men48 \
-activebackground $vTcl(analog_color_m) -activeforeground #000000 \
-background $vTcl(pr,menubgcolor) -font TkMenuFont \
-foreground $vTcl(pr,menufgcolor) -tearoff 0
$site_3_0.men48 add command \
-command {#OnMnuHelpContents} -label Contents
$site_3_0.men48 add command \
-command {#OnMnuHelpContext} -label {Contextual help}
$site_3_0.men48 add command \
-command {#OnMnuHelpAbout} -label About
ttk::style configure TNotebook -background $vTcl(actual_gui_bg)
ttk::style configure TNotebook.Tab -background $vTcl(actual_gui_bg)
ttk::style configure TNotebook.Tab -foreground $vTcl(actual_gui_fg)
ttk::style configure TNotebook.Tab -font "$vTcl(actual_gui_font_dft_desc)"
ttk::style map TNotebook.Tab -background [list disabled $vTcl(actual_gui_bg) selected $vTcl(pr,guicomplement_color)]
ttk::notebook $top.tNo50 \
-width 950 -height 575 -takefocus {}
vTcl:DefineAlias "$top.tNo50" "nbMain" vTcl:WidgetProc "frmMain" 1
frame $top.tNo50.t0 \
-background $vTcl(actual_gui_bg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black
vTcl:DefineAlias "$top.tNo50.t0" "nbMain_Info_1_1" vTcl:WidgetProc "frmMain" 1
$top.tNo50 add $top.tNo50.t0 \
-padding 0 -sticky nsew -state normal -text Info -image {} \
-compound left -underline -1
set site_4_0 $top.tNo50.t0
ttk::label $site_4_0.tLa45 \
-background $vTcl(actual_gui_bg) -foreground $vTcl(actual_gui_fg) \
-font TkDefaultFont -relief flat -anchor w -justify left \
-text Customer:
vTcl:DefineAlias "$site_4_0.tLa45" "lblInfoCustomer" vTcl:WidgetProc "frmMain" 1
vTcl:copy_lock $site_4_0.tLa45
ttk::label $site_4_0.tLa46 \
-background $vTcl(actual_gui_bg) -foreground $vTcl(actual_gui_fg) \
-font TkDefaultFont -relief flat -anchor w -justify left \
-text Creator:
vTcl:DefineAlias "$site_4_0.tLa46" "lblInfoCreator" vTcl:WidgetProc "frmMain" 1
vTcl:copy_lock $site_4_0.tLa46
ttk::label $site_4_0.tLa47 \
-background $vTcl(actual_gui_bg) -foreground $vTcl(actual_gui_fg) \
-font TkDefaultFont -relief flat -anchor w -justify left \
-text Machine:
vTcl:DefineAlias "$site_4_0.tLa47" "lblInfoMachine" vTcl:WidgetProc "frmMain" 1
vTcl:copy_lock $site_4_0.tLa47
ttk::label $site_4_0.tLa48 \
-background $vTcl(actual_gui_bg) -foreground $vTcl(actual_gui_fg) \
-font TkDefaultFont -relief flat -anchor w -justify left -text Order:
vTcl:DefineAlias "$site_4_0.tLa48" "lblInfoOrder" vTcl:WidgetProc "frmMain" 1
vTcl:copy_lock $site_4_0.tLa48
ttk::label $site_4_0.tLa49 \
-background $vTcl(actual_gui_bg) -foreground $vTcl(actual_gui_fg) \
-font TkDefaultFont -relief flat -anchor w -justify left \
-text Remarks:
vTcl:DefineAlias "$site_4_0.tLa49" "lblInfoRemarks" vTcl:WidgetProc "frmMain" 1
vTcl:copy_lock $site_4_0.tLa49
ttk::entry $site_4_0.tEn50 \
-font TkTextFont -textvariable strInfoCustomer -validate key \
-validatecommand set_modified -foreground {} -background {} \
-takefocus {} -cursor ibeam
vTcl:DefineAlias "$site_4_0.tEn50" "tinInfoCustomer" vTcl:WidgetProc "frmMain" 1
bind $site_4_0.tEn50 <<SetBalloon>> {
set ::vTcl::balloon::%W {enter the name of the customer / mill}
}
vTcl:copy_lock $site_4_0.tEn50
ttk::entry $site_4_0.tEn51 \
-font TkTextFont -textvariable strInfoCreator -validate key \
-validatecommand set_modified -foreground {} -background {} \
-takefocus {} -cursor ibeam
vTcl:DefineAlias "$site_4_0.tEn51" "tinInfoCreator" vTcl:WidgetProc "frmMain" 1
bind $site_4_0.tEn51 <<SetBalloon>> {
set ::vTcl::balloon::%W {enter your name}
}
vTcl:copy_lock $site_4_0.tEn51
ttk::entry $site_4_0.tEn52 \
-font TkTextFont -textvariable strInfoMachine -validate key \
-validatecommand set_modified -foreground {} -background {} \
-takefocus {} -cursor ibeam
vTcl:DefineAlias "$site_4_0.tEn52" "tinInfoMachine" vTcl:WidgetProc "frmMain" 1
bind $site_4_0.tEn52 <<SetBalloon>> {
set ::vTcl::balloon::%W {enter the type of machine}
}
vTcl:copy_lock $site_4_0.tEn52
ttk::entry $site_4_0.tEn53 \
-font TkTextFont -textvariable strInfoOrder -validate key \
-validatecommand set_modified -foreground {} -background {} \
-takefocus {} -cursor ibeam
vTcl:DefineAlias "$site_4_0.tEn53" "tinInfoOrder" vTcl:WidgetProc "frmMain" 1
bind $site_4_0.tEn53 <<SetBalloon>> {
set ::vTcl::balloon::%W {enter your order number}
}
vTcl:copy_lock $site_4_0.tEn53
text $site_4_0.tex54 \
-background white -font TkTextFont -foreground black -height 4 \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-insertbackground black -selectbackground blue \
-selectforeground white -width 10 -wrap word
$site_4_0.tex54 configure -font "TkTextFont"
$site_4_0.tex54 insert end text
vTcl:DefineAlias "$site_4_0.tex54" "txtInfoRemarks" vTcl:WidgetProc "frmMain" 1
bind $site_4_0.tex54 <<SetBalloon>> {
set ::vTcl::balloon::%W {enter some description}
}
vTcl:copy_lock $site_4_0.tex54
place $site_4_0.tLa45 \
-in $site_4_0 -x 30 -y 30 -width 59 -relwidth 0 -height 20 \
-relheight 0 -anchor nw -bordermode ignore
place $site_4_0.tLa46 \
-in $site_4_0 -x 30 -y 60 -width 49 -relwidth 0 -height 19 \
-relheight 0 -anchor nw -bordermode ignore
place $site_4_0.tLa47 \
-in $site_4_0 -x 30 -y 90 -width 53 -relwidth 0 -height 19 \
-relheight 0 -anchor nw -bordermode ignore
place $site_4_0.tLa48 \
-in $site_4_0 -x 30 -y 120 -width 37 -relwidth 0 -height 19 \
-relheight 0 -anchor nw -bordermode ignore
place $site_4_0.tLa49 \
-in $site_4_0 -x 30 -y 150 -width 52 -relwidth 0 -height 19 \
-relheight 0 -anchor nw -bordermode ignore
place $site_4_0.tEn50 \
-in $site_4_0 -x 150 -y 30 -width 200 -relwidth 0 -height 21 \
-relheight 0 -anchor nw -bordermode ignore
place $site_4_0.tEn51 \
-in $site_4_0 -x 150 -y 60 -width 200 -relwidth 0 -height 21 \
-relheight 0 -anchor nw -bordermode ignore
place $site_4_0.tEn52 \
-in $site_4_0 -x 150 -y 90 -width 200 -relwidth 0 -height 21 \
-relheight 0 -anchor nw -bordermode ignore
place $site_4_0.tEn53 \
-in $site_4_0 -x 150 -y 120 -width 200 -relwidth 0 -height 21 \
-relheight 0 -anchor nw -bordermode ignore
place $site_4_0.tex54 \
-in $site_4_0 -x 150 -y 150 -width 400 -relwidth 0 -height 80 \
-relheight 0 -anchor nw -bordermode ignore
frame $top.tNo50.t1 \
-background $vTcl(actual_gui_bg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black
vTcl:DefineAlias "$top.tNo50.t1" "nbMain_Com_1_1" vTcl:WidgetProc "frmMain" 1
$top.tNo50 add $top.tNo50.t1 \
-padding 0 -sticky nsew -state normal -text Communication -image {} \
-compound left -underline -1
set site_4_1 $top.tNo50.t1
ttk::style configure TCheckbutton -background $vTcl(actual_gui_bg)
ttk::style configure TCheckbutton -foreground $vTcl(actual_gui_fg)
ttk::style configure TCheckbutton -font "$vTcl(actual_gui_font_dft_desc)"
ttk::checkbutton $site_4_1.tCh55 \
-variable boolComDemo -command set_modified -takefocus {} -text Demo
vTcl:DefineAlias "$site_4_1.tCh55" "chkComDemo" vTcl:WidgetProc "frmMain" 1
bind $site_4_1.tCh55 <<SetBalloon>> {
set ::vTcl::balloon::%W {run communication in demo}
}
vTcl:copy_lock $site_4_1.tCh55
label $site_4_1.lab45 \
-activebackground #f9f9f9 -activeforeground black \
-background $vTcl(actual_gui_bg) -disabledforeground #a3a3a3 \
-font TkDefaultFont -foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-justify left -text {IP address:}
vTcl:DefineAlias "$site_4_1.lab45" "lblComIp" vTcl:WidgetProc "frmMain" 1
vTcl:copy_lock $site_4_1.lab45
label $site_4_1.lab46 \
-activebackground #f9f9f9 -activeforeground black \
-background $vTcl(actual_gui_bg) -disabledforeground #a3a3a3 \
-font TkDefaultFont -foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-justify left -text {Rack no.:}
vTcl:DefineAlias "$site_4_1.lab46" "lblComRack" vTcl:WidgetProc "frmMain" 1
vTcl:copy_lock $site_4_1.lab46
label $site_4_1.lab47 \
-activebackground #f9f9f9 -activeforeground black \
-background $vTcl(actual_gui_bg) -disabledforeground #a3a3a3 \
-font TkDefaultFont -foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-justify left -text {Slot no.:}
vTcl:DefineAlias "$site_4_1.lab47" "lblComSlot" vTcl:WidgetProc "frmMain" 1
vTcl:copy_lock $site_4_1.lab47
spinbox $site_4_1.spi48 \
-activebackground #f9f9f9 -background white -buttonbackground #d9d9d9 \
-disabledforeground #a3a3a3 -font TkDefaultFont -foreground black \
-from 0.0 -highlightbackground black -highlightcolor black \
-increment 1.0 -insertbackground black -justify right \
-selectbackground blue -selectforeground white \
-textvariable strComIp1 -to 255.0 -validatecommand set_modified
vTcl:DefineAlias "$site_4_1.spi48" "spbComIp1" vTcl:WidgetProc "frmMain" 1
vTcl:copy_lock $site_4_1.spi48
label $site_4_1.lab49 \
-activebackground #f9f9f9 -activeforeground black \
-background $vTcl(actual_gui_bg) -disabledforeground #a3a3a3 \
-font {-family {Segoe UI} -size 9 -weight bold -slant roman -underline 0 -overstrike 0} \
-foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-text .
vTcl:DefineAlias "$site_4_1.lab49" "lblComIpDot1" vTcl:WidgetProc "frmMain" 1
vTcl:copy_lock $site_4_1.lab49
spinbox $site_4_1.spi50 \
-activebackground #f9f9f9 -background white -buttonbackground #d9d9d9 \
-disabledforeground #a3a3a3 -font TkDefaultFont -foreground black \
-from 0.0 -highlightbackground black -highlightcolor black \
-increment 1.0 -insertbackground black -justify right \
-selectbackground blue -selectforeground white \
-textvariable strComIp2 -to 255.0 -validatecommand set_modified
vTcl:DefineAlias "$site_4_1.spi50" "spbComIp2" vTcl:WidgetProc "frmMain" 1
vTcl:copy_lock $site_4_1.spi50
label $site_4_1.lab51 \
-activebackground #f9f9f9 -activeforeground black \
-background $vTcl(actual_gui_bg) -disabledforeground #a3a3a3 \
-font {-family {Segoe UI} -size 9 -weight bold -slant roman -underline 0 -overstrike 0} \
-foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-text .
vTcl:DefineAlias "$site_4_1.lab51" "lblComIpDot2" vTcl:WidgetProc "frmMain" 1
vTcl:copy_lock $site_4_1.lab51
spinbox $site_4_1.spi52 \
-activebackground #f9f9f9 -background white -buttonbackground #d9d9d9 \
-disabledforeground #a3a3a3 -font TkDefaultFont -foreground black \
-from 0.0 -highlightbackground black -highlightcolor black \
-increment 1.0 -insertbackground black -justify right \
-selectbackground blue -selectforeground white \
-textvariable strComIp3 -to 255.0 -validatecommand set_modified
vTcl:DefineAlias "$site_4_1.spi52" "spbComIp3" vTcl:WidgetProc "frmMain" 1
vTcl:copy_lock $site_4_1.spi52
label $site_4_1.lab53 \
-activebackground #f9f9f9 -activeforeground black \
-background $vTcl(actual_gui_bg) -disabledforeground #a3a3a3 \
-font {-family {Segoe UI} -size 9 -weight bold -slant roman -underline 0 -overstrike 0} \
-foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-text .
vTcl:DefineAlias "$site_4_1.lab53" "lblComIpDot3" vTcl:WidgetProc "frmMain" 1
vTcl:copy_lock $site_4_1.lab53
spinbox $site_4_1.spi54 \
-activebackground #f9f9f9 -background white -buttonbackground #d9d9d9 \
-disabledforeground #a3a3a3 -font TkDefaultFont -foreground black \
-from 0.0 -highlightbackground black -highlightcolor black \
-increment 1.0 -insertbackground black -justify right \
-selectbackground blue -selectforeground white \
-textvariable strComIp4 -to 255.0 -validatecommand set_modified
vTcl:DefineAlias "$site_4_1.spi54" "spbComIp4" vTcl:WidgetProc "frmMain" 1
vTcl:copy_lock $site_4_1.spi54
spinbox $site_4_1.spi57 \
-activebackground #f9f9f9 -background white -buttonbackground #d9d9d9 \
-disabledforeground #a3a3a3 -font TkDefaultFont -foreground black \
-from 0.0 -highlightbackground black -highlightcolor black \
-increment 1.0 -insertbackground black -justify right \
-selectbackground blue -selectforeground white \
-textvariable strComRack -to 10.0 -validatecommand set_modified
vTcl:DefineAlias "$site_4_1.spi57" "spbComRack" vTcl:WidgetProc "frmMain" 1
vTcl:copy_lock $site_4_1.spi57
spinbox $site_4_1.spi58 \
-activebackground #f9f9f9 -background white -buttonbackground #d9d9d9 \
-disabledforeground #a3a3a3 -font TkDefaultFont -foreground black \
-from 0.0 -highlightbackground black -highlightcolor black \
-increment 1.0 -insertbackground black -justify right \
-selectbackground blue -selectforeground white \
-textvariable strComSlot -to 18.0 -validatecommand set_modified
vTcl:DefineAlias "$site_4_1.spi58" "spbComSlot" vTcl:WidgetProc "frmMain" 1
vTcl:copy_lock $site_4_1.spi58
label $site_4_1.lab44 \
-activebackground #f9f9f9 -activeforeground black \
-background $vTcl(actual_gui_bg) -disabledforeground #a3a3a3 \
-font TkDefaultFont -foreground $vTcl(actual_gui_fg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black \
-justify left -text Attempts:
vTcl:DefineAlias "$site_4_1.lab44" "lblComAttempts" vTcl:WidgetProc "frmMain" 1
vTcl:copy_lock $site_4_1.lab44
spinbox $site_4_1.spi49 \
-activebackground #f9f9f9 -background white -buttonbackground #d9d9d9 \
-disabledforeground #a3a3a3 -font TkDefaultFont -foreground black \
-from 0.0 -highlightbackground black -highlightcolor black \
-increment 1.0 -insertbackground black -justify right \
-selectbackground blue -selectforeground white \
-textvariable strComAttempts -to 10.0 -validatecommand set_modified
vTcl:DefineAlias "$site_4_1.spi49" "spbComAttempts" vTcl:WidgetProc "frmMain" 1
vTcl:copy_lock $site_4_1.spi49
place $site_4_1.tCh55 \
-in $site_4_1 -x 150 -y 30 -width 60 -relwidth 0 -height 30 \
-relheight 0 -anchor nw -bordermode ignore
place $site_4_1.lab45 \
-in $site_4_1 -x 30 -y 60 -width 59 -relwidth 0 -height 21 \
-relheight 0 -anchor nw -bordermode ignore
place $site_4_1.lab46 \
-in $site_4_1 -x 30 -y 90 -width 60 -relwidth 0 -height 21 \
-relheight 0 -anchor nw -bordermode ignore
place $site_4_1.lab47 \
-in $site_4_1 -x 30 -y 120 -width 60 -relwidth 0 -height 21 \
-relheight 0 -anchor nw -bordermode ignore
place $site_4_1.spi48 \
-in $site_4_1 -x 150 -y 60 -width 50 -relwidth 0 -height 19 \
-relheight 0 -anchor nw -bordermode ignore
place $site_4_1.lab49 \
-in $site_4_1 -x 205 -y 60 -width 5 -relwidth 0 -height 21 \
-relheight 0 -anchor nw -bordermode ignore
place $site_4_1.spi50 \
-in $site_4_1 -x 220 -y 60 -width 50 -relwidth 0 -height 19 \
-relheight 0 -anchor nw -bordermode ignore
place $site_4_1.lab51 \
-in $site_4_1 -x 270 -y 60 -width 5 -relwidth 0 -height 21 \
-relheight 0 -anchor nw -bordermode ignore
place $site_4_1.spi52 \
-in $site_4_1 -x 280 -y 60 -width 50 -relwidth 0 -height 19 \
-relheight 0 -anchor nw -bordermode ignore
place $site_4_1.lab53 \
-in $site_4_1 -x 335 -y 60 -width 5 -height 21 -anchor nw \
-bordermode ignore
place $site_4_1.spi54 \
-in $site_4_1 -x 345 -y 60 -width 50 -relwidth 0 -height 19 \
-relheight 0 -anchor nw -bordermode ignore
place $site_4_1.spi57 \
-in $site_4_1 -x 150 -y 90 -width 50 -relwidth 0 -height 19 \
-relheight 0 -anchor nw -bordermode ignore
place $site_4_1.spi58 \
-in $site_4_1 -x 150 -y 120 -width 51 -relwidth 0 -height 19 \
-relheight 0 -anchor nw -bordermode ignore
place $site_4_1.lab44 \
-in $site_4_1 -x 0 -relx 0.038 -y 0 -rely 0.306 -width 0 \
-relwidth 0.062 -height 0 -relheight 0.043 -anchor nw \
-bordermode ignore
place $site_4_1.spi49 \
-in $site_4_1 -x 0 -relx 0.19 -y 0 -rely 0.306 -width 0 \
-relwidth 0.062 -height 0 -relheight 0.039 -anchor nw \
-bordermode ignore
frame $top.tNo50.t2 \
-background $vTcl(actual_gui_bg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black
vTcl:DefineAlias "$top.tNo50.t2" "nbMain_Misc_1_1" vTcl:WidgetProc "frmMain" 1
$top.tNo50 add $top.tNo50.t2 \
-padding 0 -sticky nsew -state normal -text Miscellaneous -image {} \
-compound left -underline -1
set site_4_2 $top.tNo50.t2
ttk::label $site_4_2.tLa63 \
-background $vTcl(actual_gui_bg) -foreground $vTcl(actual_gui_fg) \
-font TkDefaultFont -relief flat -anchor w -justify left \
-text {Datafile prefix:}
vTcl:DefineAlias "$site_4_2.tLa63" "lblMiscDatafile" vTcl:WidgetProc "frmMain" 1
bind $site_4_2.tLa63 <<SetBalloon>> {
set ::vTcl::balloon::%W {enter name of the datafile without extension}
}
vTcl:copy_lock $site_4_2.tLa63
ttk::label $site_4_2.tLa64 \
-background $vTcl(actual_gui_bg) -foreground $vTcl(actual_gui_fg) \
-font TkDefaultFont -relief flat -anchor w -justify left \
-text {Storage path:}
vTcl:DefineAlias "$site_4_2.tLa64" "lblMiscPath" vTcl:WidgetProc "frmMain" 1
bind $site_4_2.tLa64 <<SetBalloon>> {
set ::vTcl::balloon::%W {enter name of the datafile without extension}
}
vTcl:copy_lock $site_4_2.tLa64
ttk::label $site_4_2.tLa65 \
-background $vTcl(actual_gui_bg) -foreground $vTcl(actual_gui_fg) \
-font TkDefaultFont -relief flat -anchor w -justify left \
-text Scantime:
vTcl:DefineAlias "$site_4_2.tLa65" "lblMiscScantime" vTcl:WidgetProc "frmMain" 1
vTcl:copy_lock $site_4_2.tLa65
ttk::entry $site_4_2.tEn66 \
-font TkTextFont -textvariable strMiscDatafile -validate key \
-validatecommand { set_modified
} -foreground {} -background {} \
-takefocus {} -cursor ibeam
vTcl:DefineAlias "$site_4_2.tEn66" "tinMiscDatafile" vTcl:WidgetProc "frmMain" 1
bind $site_4_2.tEn66 <<SetBalloon>> {
set ::vTcl::balloon::%W {enter the name of the datafile, without extension}
}
vTcl:copy_lock $site_4_2.tEn66
ttk::entry $site_4_2.tEn67 \
-font TkTextFont -textvariable strMiscStoragePath -validate key \
-validatecommand set_modified -foreground {} -background {} \
-takefocus {} -cursor ibeam
vTcl:DefineAlias "$site_4_2.tEn67" "tinMiscStoragePath" vTcl:WidgetProc "frmMain" 1
bind $site_4_2.tEn67 <<SetBalloon>> {
set ::vTcl::balloon::%W {enter the name of the storage path for archived files}
}
vTcl:copy_lock $site_4_2.tEn67
ttk::style configure TButton -background $vTcl(actual_gui_bg)
ttk::style configure TButton -foreground $vTcl(actual_gui_fg)
ttk::style configure TButton -font "$vTcl(actual_gui_font_dft_desc)"
ttk::button $site_4_2.tBu68 \
-command OnBtnMiscStoragePath -takefocus {} -text ...
vTcl:DefineAlias "$site_4_2.tBu68" "btnMiscStoragePath" vTcl:WidgetProc "frmMain" 1
vTcl:copy_lock $site_4_2.tBu68
ttk::style configure TCheckbutton -background $vTcl(actual_gui_bg)
ttk::style configure TCheckbutton -foreground $vTcl(actual_gui_fg)
ttk::style configure TCheckbutton -font "$vTcl(actual_gui_font_dft_desc)"
ttk::checkbutton $site_4_2.tCh69 \
-variable boolMiscStoragePath -command set_modified -takefocus {} \
-text {use yyyy/mm/dd directory structure}
vTcl:DefineAlias "$site_4_2.tCh69" "chkMiscStoragePath" vTcl:WidgetProc "frmMain" 1
bind $site_4_2.tCh69 <<SetBalloon>> {
set ::vTcl::balloon::%W {file are store in a directory structure, per day}
}
vTcl:copy_lock $site_4_2.tCh69
spinbox $site_4_2.spi70 \
-activebackground #f9f9f9 -background white -buttonbackground #d9d9d9 \
-disabledforeground #a3a3a3 -font TkDefaultFont -foreground black \
-from 0.0 -highlightbackground black -highlightcolor black \
-increment 10.0 -insertbackground black -justify right \
-selectbackground blue -selectforeground white \
-textvariable strMiscScantime -to 1000.0 \
-validatecommand set_modified
vTcl:DefineAlias "$site_4_2.spi70" "spbMiscScantime" vTcl:WidgetProc "frmMain" 1
vTcl:copy_lock $site_4_2.spi70
ttk::label $site_4_2.tLa71 \
-background $vTcl(actual_gui_bg) -foreground $vTcl(actual_gui_fg) \
-font TkDefaultFont -relief flat -anchor w -justify left -text {[ms]}
vTcl:DefineAlias "$site_4_2.tLa71" "lblMiscScantimeUnit" vTcl:WidgetProc "frmMain" 1
vTcl:copy_lock $site_4_2.tLa71
ttk::style configure TCheckbutton -background $vTcl(actual_gui_bg)
ttk::style configure TCheckbutton -foreground $vTcl(actual_gui_fg)
ttk::style configure TCheckbutton -font "$vTcl(actual_gui_font_dft_desc)"
ttk::checkbutton $site_4_2.tCh50 \
-variable boolMiscAutostart -command set_modified -takefocus {} \
-text {auto start}
vTcl:DefineAlias "$site_4_2.tCh50" "chkMiscAutostart" vTcl:WidgetProc "frmMain" 1
bind $site_4_2.tCh50 <<SetBalloon>> {
set ::vTcl::balloon::%W {file are store in a directory structure, per day}
}
vTcl:copy_lock $site_4_2.tCh50
ttk::label $site_4_2.tLa51 \
-background $vTcl(actual_gui_bg) -foreground $vTcl(actual_gui_fg) \
-font TkDefaultFont -relief flat -anchor w -justify left \
-text {max. records:}
vTcl:DefineAlias "$site_4_2.tLa51" "lblMiscMaxRecords" vTcl:WidgetProc "frmMain" 1
bind $site_4_2.tLa51 <<SetBalloon>> {
set ::vTcl::balloon::%W {maximum number of records in one file, to avoid big files}
}
vTcl:copy_lock $site_4_2.tLa51
spinbox $site_4_2.spi53 \
-activebackground #f9f9f9 -background white -buttonbackground #d9d9d9 \
-disabledforeground #a3a3a3 -font TkDefaultFont -foreground black \
-from 0.0 -highlightbackground black -highlightcolor black \
-increment 1000.0 -insertbackground black -justify right \
-selectbackground blue -selectforeground white \
-textvariable strMiscMaxRecords -to 10000000.0 \
-validatecommand set_modified
vTcl:DefineAlias "$site_4_2.spi53" "spbMiscMaxRecords" vTcl:WidgetProc "frmMain" 1
place $site_4_2.tLa63 \
-in $site_4_2 -x 30 -y 30 -width 100 -relwidth 0 -height 19 \
-relheight 0 -anchor nw -bordermode ignore
place $site_4_2.tLa64 \
-in $site_4_2 -x 30 -y 60 -width 101 -relwidth 0 -height 19 \
-relheight 0 -anchor nw -bordermode ignore
place $site_4_2.tLa65 \
-in $site_4_2 -x 30 -y 120 -width 61 -relwidth 0 -height 19 \
-relheight 0 -anchor nw -bordermode ignore
place $site_4_2.tEn66 \
-in $site_4_2 -x 150 -y 30 -width 200 -relwidth 0 -height 21 \
-relheight 0 -anchor nw -bordermode ignore
place $site_4_2.tEn67 \
-in $site_4_2 -x 150 -y 60 -width 300 -relwidth 0 -height 21 \
-relheight 0 -anchor nw -bordermode ignore
place $site_4_2.tBu68 \
-in $site_4_2 -x 460 -y 55 -width 30 -relwidth 0 -height 30 \
-relheight 0 -anchor nw -bordermode ignore
place $site_4_2.tCh69 \
-in $site_4_2 -x 150 -y 90 -width 300 -relwidth 0 -height 30 \
-relheight 0 -anchor nw -bordermode ignore
place $site_4_2.spi70 \
-in $site_4_2 -x 150 -y 120 -width 60 -relwidth 0 -height 20 \
-relheight 0 -anchor nw -bordermode ignore
place $site_4_2.tLa71 \
-in $site_4_2 -x 220 -y 120 -width 35 -relwidth 0 -height 19 \
-relheight 0 -anchor nw -bordermode ignore
place $site_4_2.tCh50 \
-in $site_4_2 -x 0 -relx 0.19 -y 0 -rely 0.306 -width 0 \
-relwidth 0.317 -height 0 -relheight 0.061 -anchor nw \
-bordermode ignore
place $site_4_2.tLa51 \
-in $site_4_2 -x 0 -relx 0.032 -y 0 -rely 0.367 -width 0 \
-relwidth 0.107 -height 0 -relheight 0.039 -anchor nw \
-bordermode ignore
place $site_4_2.spi53 \
-in $site_4_2 -x 0 -relx 0.19 -y 0 -rely 0.367 -width 0 \
-relwidth 0.109 -height 0 -relheight 0.041 -anchor nw \
-bordermode ignore
frame $top.tNo50.t3 \
-background $vTcl(actual_gui_bg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black
vTcl:DefineAlias "$top.tNo50.t3" "nbMain_Trigger_1_1" vTcl:WidgetProc "frmMain" 1
$top.tNo50 add $top.tNo50.t3 \
-padding 0 -sticky nsew -state normal -text Trigger -image {} \
-compound left -underline -1
set site_4_3 $top.tNo50.t3
ttk::style configure TCheckbutton -background $vTcl(actual_gui_bg)
ttk::style configure TCheckbutton -foreground $vTcl(actual_gui_fg)
ttk::style configure TCheckbutton -font "$vTcl(actual_gui_font_dft_desc)"
ttk::checkbutton $site_4_3.tCh72 \
-variable boolTrigUseTrigger -command set_modified -takefocus {} \
-text {use trigger}
vTcl:DefineAlias "$site_4_3.tCh72" "chkTrigUseTrigger" vTcl:WidgetProc "frmMain" 1
bind $site_4_3.tCh72 <<SetBalloon>> {
set ::vTcl::balloon::%W {use a trigger to start a new file}
}
vTcl:copy_lock $site_4_3.tCh72
ttk::label $site_4_3.tLa73 \
-background $vTcl(actual_gui_bg) -foreground $vTcl(actual_gui_fg) \
-font TkDefaultFont -relief flat -anchor w -justify left \
-text {Use value:}
vTcl:DefineAlias "$site_4_3.tLa73" "lblTrigValue" vTcl:WidgetProc "frmMain" 1
vTcl:copy_lock $site_4_3.tLa73
ttk::label $site_4_3.tLa74 \
-background $vTcl(actual_gui_bg) -foreground $vTcl(actual_gui_fg) \
-font TkDefaultFont -relief flat -anchor w -justify left \
-text Condition:
vTcl:DefineAlias "$site_4_3.tLa74" "lblTrigCondition" vTcl:WidgetProc "frmMain" 1
vTcl:copy_lock $site_4_3.tLa74
ttk::label $site_4_3.tLa75 \
-background $vTcl(actual_gui_bg) -foreground $vTcl(actual_gui_fg) \
-font TkDefaultFont -relief flat -anchor w -justify left \
-text {Compare with:}
vTcl:DefineAlias "$site_4_3.tLa75" "lblTrigCompare" vTcl:WidgetProc "frmMain" 1
vTcl:copy_lock $site_4_3.tLa75
ttk::label $site_4_3.tLa76 \
-background $vTcl(actual_gui_bg) -foreground $vTcl(actual_gui_fg) \
-font TkDefaultFont -relief flat -anchor w -justify left \
-text {Pretrigger time:}
vTcl:DefineAlias "$site_4_3.tLa76" "lblTrigPretriggerTime" vTcl:WidgetProc "frmMain" 1
vTcl:copy_lock $site_4_3.tLa76
ttk::label $site_4_3.tLa77 \
-background $vTcl(actual_gui_bg) -foreground $vTcl(actual_gui_fg) \
-font TkDefaultFont -relief flat -anchor w -justify left \
-text {Posttrigger time:}
vTcl:DefineAlias "$site_4_3.tLa77" "lblTrigPosttriggerTime" vTcl:WidgetProc "frmMain" 1
vTcl:copy_lock $site_4_3.tLa77
ttk::combobox $site_4_3.tCo78 \
-font TkTextFont -textvariable strTrigValue -validate all \
-validatecommand set_modified -foreground {} -background {} \
-takefocus {}
vTcl:DefineAlias "$site_4_3.tCo78" "cboTrigValue" vTcl:WidgetProc "frmMain" 1
bind $site_4_3.tCo78 <<SetBalloon>> {
set ::vTcl::balloon::%W {select value for trigger}
}
vTcl:copy_lock $site_4_3.tCo78
ttk::combobox $site_4_3.tCo79 \
-values {{>} {>=} {=} {<=} {<}} -font TkTextFont \
-textvariable strTrigCondition -validate all \
-validatecommand set_modified -foreground {} -background {} \
-takefocus {}
vTcl:DefineAlias "$site_4_3.tCo79" "cboTrigCondition" vTcl:WidgetProc "frmMain" 1
bind $site_4_3.tCo79 <<SetBalloon>> {
set ::vTcl::balloon::%W {select the comparison operation}
}
vTcl:copy_lock $site_4_3.tCo79
ttk::entry $site_4_3.tEn80 \
-font TkTextFont -justify right -textvariable strTrigCompare \
-validate key -validatecommand set_modified -foreground {} \
-background {} -takefocus {} -cursor ibeam
vTcl:DefineAlias "$site_4_3.tEn80" "tinTrigCompare" vTcl:WidgetProc "frmMain" 1
vTcl:copy_lock $site_4_3.tEn80
spinbox $site_4_3.spi81 \
-activebackground #f9f9f9 -background white -buttonbackground #d9d9d9 \
-disabledforeground #a3a3a3 -font TkDefaultFont -foreground black \
-from 1.0 -highlightbackground black -highlightcolor black \
-increment 1.0 -insertbackground black -justify right \
-selectbackground blue -selectforeground white \
-textvariable strTrigPreTriggerTime -to 100.0 \
-validatecommand set_modified
vTcl:DefineAlias "$site_4_3.spi81" "spbTrigPretriggerTime" vTcl:WidgetProc "frmMain" 1
vTcl:copy_lock $site_4_3.spi81
spinbox $site_4_3.spi82 \
-activebackground #f9f9f9 -background white -buttonbackground #d9d9d9 \
-disabledforeground #a3a3a3 -font TkDefaultFont -foreground black \
-from 1.0 -highlightbackground black -highlightcolor black \
-increment 1.0 -insertbackground black -justify right \
-selectbackground blue -selectforeground white \
-textvariable strTrigPostTriggerTime -to 100.0 \
-validatecommand set_modified
vTcl:DefineAlias "$site_4_3.spi82" "spbTrigPosttriggerTime" vTcl:WidgetProc "frmMain" 1
vTcl:copy_lock $site_4_3.spi82
ttk::label $site_4_3.tLa83 \
-background $vTcl(actual_gui_bg) -foreground $vTcl(actual_gui_fg) \
-font TkDefaultFont -relief flat -anchor w -justify left -text {[s]}
vTcl:DefineAlias "$site_4_3.tLa83" "lblTrigPretriggerTimeUnit" vTcl:WidgetProc "frmMain" 1
vTcl:copy_lock $site_4_3.tLa83
ttk::label $site_4_3.tLa84 \
-background $vTcl(actual_gui_bg) -foreground $vTcl(actual_gui_fg) \
-font TkDefaultFont -relief flat -anchor w -justify left -text {[s]}
vTcl:DefineAlias "$site_4_3.tLa84" "lblTrigPosttriggerTimeUnit" vTcl:WidgetProc "frmMain" 1
vTcl:copy_lock $site_4_3.tLa84
place $site_4_3.tCh72 \
-in $site_4_3 -x 150 -y 30 -width 101 -relwidth 0 -height 30 \
-relheight 0 -anchor nw -bordermode ignore
place $site_4_3.tLa73 \
-in $site_4_3 -x 30 -y 60 -width 70 -relwidth 0 -height 19 \
-relheight 0 -anchor nw -bordermode ignore
place $site_4_3.tLa74 \
-in $site_4_3 -x 30 -y 90 -width 80 -relwidth 0 -height 19 \
-relheight 0 -anchor nw -bordermode ignore
place $site_4_3.tLa75 \
-in $site_4_3 -x 30 -y 120 -width 90 -relwidth 0 -height 19 \
-relheight 0 -anchor nw -bordermode ignore
place $site_4_3.tLa76 \
-in $site_4_3 -x 30 -y 150 -width 101 -relwidth 0 -height 20 \
-relheight 0 -anchor nw -bordermode ignore
place $site_4_3.tLa77 \
-in $site_4_3 -x 30 -y 180 -width 100 -relwidth 0 -height 19 \
-relheight 0 -anchor nw -bordermode ignore
place $site_4_3.tCo78 \
-in $site_4_3 -x 150 -y 60 -width 200 -relwidth 0 -height 21 \
-relheight 0 -anchor nw -bordermode ignore
place $site_4_3.tCo79 \
-in $site_4_3 -x 150 -y 90 -width 51 -relwidth 0 -height 20 \
-relheight 0 -anchor nw -bordermode ignore
place $site_4_3.tEn80 \
-in $site_4_3 -x 150 -y 120 -width 101 -relwidth 0 -height 21 \
-relheight 0 -anchor nw -bordermode ignore
place $site_4_3.spi81 \
-in $site_4_3 -x 150 -y 150 -width 51 -relwidth 0 -height 20 \
-relheight 0 -anchor nw -bordermode ignore
place $site_4_3.spi82 \
-in $site_4_3 -x 150 -y 180 -width 51 -relwidth 0 -height 20 \
-relheight 0 -anchor nw -bordermode ignore
place $site_4_3.tLa83 \
-in $site_4_3 -x 210 -y 150 -width 35 -relwidth 0 -height 19 \
-relheight 0 -anchor nw -bordermode ignore
place $site_4_3.tLa84 \
-in $site_4_3 -x 210 -y 180 -width 35 -relwidth 0 -height 19 \
-relheight 0 -anchor nw -bordermode ignore
frame $top.tNo50.t4 \
-background $vTcl(actual_gui_bg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black
vTcl:DefineAlias "$top.tNo50.t4" "nbMain_Debug_1_1" vTcl:WidgetProc "frmMain" 1
$top.tNo50 add $top.tNo50.t4 \
-padding 0 -sticky nsew -state normal -text Debug -image {} \
-compound left -underline -1
set site_4_4 $top.tNo50.t4
ttk::label $site_4_4.tLa85 \
-background $vTcl(actual_gui_bg) -foreground $vTcl(actual_gui_fg) \
-font TkDefaultFont -relief flat -anchor w -justify left -text Level
vTcl:DefineAlias "$site_4_4.tLa85" "lblDebugLevel" vTcl:WidgetProc "frmMain" 1
bind $site_4_4.tLa85 <<SetBalloon>> {
set ::vTcl::balloon::%W {level of debug messages - makes more or less verbose}
}
vTcl:copy_lock $site_4_4.tLa85
ttk::label $site_4_4.tLa86 \
-background $vTcl(actual_gui_bg) -foreground $vTcl(actual_gui_fg) \
-font TkDefaultFont -relief flat -anchor w -justify left \
-text {Files to keep:}
vTcl:DefineAlias "$site_4_4.tLa86" "lblDebugFilesToKeep" vTcl:WidgetProc "frmMain" 1
bind $site_4_4.tLa86 <<SetBalloon>> {
set ::vTcl::balloon::%W {number of logfiles to keep}
}
vTcl:copy_lock $site_4_4.tLa86
ttk::combobox $site_4_4.tCo87 \
\
-values {{0-no logging} {1-INFO} {2-WARNING} {3-DEBUG} {4-ERROR} {5-CRITICAL} {6-EXCEPTION}} \
-font TkTextFont -textvariable strDebugLevel -validate all \
-validatecommand set_modified -foreground {} -background {} \
-takefocus {}
vTcl:DefineAlias "$site_4_4.tCo87" "cboDebugLevel" vTcl:WidgetProc "frmMain" 1
bind $site_4_4.tCo87 <<SetBalloon>> {
set ::vTcl::balloon::%W {select the debug level, 0 is none, 1 is most verbose}
}
vTcl:copy_lock $site_4_4.tCo87
spinbox $site_4_4.spi88 \
-activebackground #f9f9f9 -background white -buttonbackground #d9d9d9 \
-disabledforeground #a3a3a3 -font TkDefaultFont -foreground black \
-from 1.0 -highlightbackground black -highlightcolor black \
-increment 1.0 -insertbackground black -justify right \
-selectbackground blue -selectforeground white \
-textvariable strDebugFilesToKeep -to 10.0 \
-validatecommand set_modified
vTcl:DefineAlias "$site_4_4.spi88" "spbDebugFilesToKeep" vTcl:WidgetProc "frmMain" 1
vTcl:copy_lock $site_4_4.spi88
place $site_4_4.tLa85 \
-in $site_4_4 -x 30 -y 30 -width 100 -relwidth 0 -height 19 \
-relheight 0 -anchor nw -bordermode ignore
place $site_4_4.tLa86 \
-in $site_4_4 -x 30 -y 60 -width 101 -relwidth 0 -height 20 \
-relheight 0 -anchor nw -bordermode ignore
place $site_4_4.tCo87 \
-in $site_4_4 -x 150 -y 30 -width 151 -relwidth 0 -height 21 \
-relheight 0 -anchor nw -bordermode ignore
place $site_4_4.spi88 \
-in $site_4_4 -x 150 -y 60 -width 40 -relwidth 0 -height 19 \
-relheight 0 -anchor nw -bordermode ignore
frame $top.tNo50.t5 \
-background $vTcl(actual_gui_bg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black
vTcl:DefineAlias "$top.tNo50.t5" "nbMain_Values_1_1" vTcl:WidgetProc "frmMain" 1
$top.tNo50 add $top.tNo50.t5 \
-padding 0 -sticky nsew -state normal -text Values -image {} \
-compound left -underline -1
set site_4_5 $top.tNo50.t5
ttk::style configure TLabelframe.Label -background $vTcl(actual_gui_bg)
ttk::style configure TLabelframe.Label -foreground $vTcl(actual_gui_fg)
ttk::style configure TLabelframe.Label -font "$vTcl(actual_gui_font_dft_desc)"
ttk::style configure TLabelframe -background $vTcl(actual_gui_bg)
ttk::labelframe $site_4_5.tLa46 \
-text {Area of value} -borderwidth 1 -relief sunken -width 150 \
-height 75
vTcl:DefineAlias "$site_4_5.tLa46" "lfrValuesGetArea" vTcl:WidgetProc "frmMain" 1
set site_5_0 $site_4_5.tLa46
ttk::style configure TRadiobutton -background $vTcl(actual_gui_bg)
ttk::style configure TRadiobutton -foreground $vTcl(actual_gui_fg)
ttk::style configure TRadiobutton -font "$vTcl(actual_gui_font_dft_desc)"
ttk::radiobutton $site_5_0.tRa47 \
-variable strRdoValues -value D -text Data
vTcl:DefineAlias "$site_5_0.tRa47" "rdoValuesData" vTcl:WidgetProc "frmMain" 1
bind $site_5_0.tRa47 <<SetBalloon>> {
set ::vTcl::balloon::%W {select for value from datablock}
}
bind $site_5_0.tRa47 <Button-1> {
lambda e: rdoValuesData_LeftClick(e)
}
vTcl:copy_lock $site_5_0.tRa47
ttk::style configure TRadiobutton -background $vTcl(actual_gui_bg)
ttk::style configure TRadiobutton -foreground $vTcl(actual_gui_fg)
ttk::style configure TRadiobutton -font "$vTcl(actual_gui_font_dft_desc)"
ttk::radiobutton $site_5_0.tRa48 \
-variable strRdoValues -value Q -text Output
vTcl:DefineAlias "$site_5_0.tRa48" "rdoValuesOutput" vTcl:WidgetProc "frmMain" 1
bind $site_5_0.tRa48 <<SetBalloon>> {
set ::vTcl::balloon::%W {select for value from output area}
}
bind $site_5_0.tRa48 <Button-1> {
lambda e: rdoValuesOutput_LeftClick(e)
}
vTcl:copy_lock $site_5_0.tRa48
ttk::style configure TRadiobutton -background $vTcl(actual_gui_bg)
ttk::style configure TRadiobutton -foreground $vTcl(actual_gui_fg)
ttk::style configure TRadiobutton -font "$vTcl(actual_gui_font_dft_desc)"
ttk::radiobutton $site_5_0.tRa49 \
-variable strRdoValues -value I -text Input
vTcl:DefineAlias "$site_5_0.tRa49" "rdoValuesInput" vTcl:WidgetProc "frmMain" 1
bind $site_5_0.tRa49 <<SetBalloon>> {
set ::vTcl::balloon::%W {select for value from input area}
}
bind $site_5_0.tRa49 <Button-1> {
lambda e: rdoValuesInput_LeftClick(e)
}
vTcl:copy_lock $site_5_0.tRa49
ttk::style configure TRadiobutton -background $vTcl(actual_gui_bg)
ttk::style configure TRadiobutton -foreground $vTcl(actual_gui_fg)
ttk::style configure TRadiobutton -font "$vTcl(actual_gui_font_dft_desc)"
ttk::radiobutton $site_5_0.tRa50 \
-variable strRdoValues -value F -text Flag
vTcl:DefineAlias "$site_5_0.tRa50" "rdoValuesFlag" vTcl:WidgetProc "frmMain" 1
bind $site_5_0.tRa50 <<SetBalloon>> {
set ::vTcl::balloon::%W {select for value from flag area}
}
bind $site_5_0.tRa50 <Button-1> {
lambda e: rdoValuesFlag_LeftClick(e)
}
vTcl:copy_lock $site_5_0.tRa50
ttk::style configure TRadiobutton -background $vTcl(actual_gui_bg)
ttk::style configure TRadiobutton -foreground $vTcl(actual_gui_fg)
ttk::style configure TRadiobutton -font "$vTcl(actual_gui_font_dft_desc)"
ttk::radiobutton $site_5_0.tRa51 \
-variable strRdoValues -value T -text Timer
vTcl:DefineAlias "$site_5_0.tRa51" "rdoValuesTimer" vTcl:WidgetProc "frmMain" 1
bind $site_5_0.tRa51 <<SetBalloon>> {
set ::vTcl::balloon::%W {select for value from timer area}
}
bind $site_5_0.tRa51 <Button-1> {
lambda e: rdoValuesTimer_LeftClick(e)
}
vTcl:copy_lock $site_5_0.tRa51
ttk::style configure TRadiobutton -background $vTcl(actual_gui_bg)
ttk::style configure TRadiobutton -foreground $vTcl(actual_gui_fg)
ttk::style configure TRadiobutton -font "$vTcl(actual_gui_font_dft_desc)"
ttk::radiobutton $site_5_0.tRa52 \
-variable strRdoValues -value C -text Counter
vTcl:DefineAlias "$site_5_0.tRa52" "rdoValuesCounter" vTcl:WidgetProc "frmMain" 1
bind $site_5_0.tRa52 <<SetBalloon>> {
set ::vTcl::balloon::%W {select for value from counter area}
}
bind $site_5_0.tRa52 <Button-1> {
lambda e: rdoValuesCounter_LeftClick(e)
}
vTcl:copy_lock $site_5_0.tRa52
ttk::label $site_5_0.tLa53 \
-background $vTcl(actual_gui_bg) -foreground $vTcl(actual_gui_fg) \
-font TkDefaultFont -relief flat -anchor w -justify left \
-text {Datablock no.:}
vTcl:DefineAlias "$site_5_0.tLa53" "lblValuesDBNo" vTcl:WidgetProc "frmMain" 1
vTcl:copy_lock $site_5_0.tLa53
spinbox $site_5_0.spi54 \
-activebackground #f9f9f9 -background white -buttonbackground #d9d9d9 \
-disabledforeground #a3a3a3 -font TkDefaultFont -foreground black \
-from 1.0 -highlightbackground black -highlightcolor black \
-increment 1.0 -insertbackground black -justify right \
-selectbackground blue -selectforeground white \
-textvariable strValuesDBNo -to 8192.0
vTcl:DefineAlias "$site_5_0.spi54" "spbValuesDBNo" vTcl:WidgetProc "frmMain" 1
vTcl:copy_lock $site_5_0.spi54
ttk::label $site_5_0.tLa44 \
-background $vTcl(actual_gui_bg) -foreground $vTcl(actual_gui_fg) \
-font TkDefaultFont -relief flat -anchor w -justify left -takefocus 0 \
-text Address:
vTcl:DefineAlias "$site_5_0.tLa44" "lblValueRealAdress" vTcl:WidgetProc "frmMain" 1
spinbox $site_5_0.spi45 \
-activebackground #f9f9f9 -background white -buttonbackground #d9d9d9 \
-disabledforeground #a3a3a3 -font TkDefaultFont -foreground black \
-from 0.0 -highlightbackground black -highlightcolor black \
-increment 1.0 -insertbackground black -justify right \
-selectbackground blue -selectforeground white -takefocus 0 \
-textvariable strValuesAdress -to 8192.0
vTcl:DefineAlias "$site_5_0.spi45" "spbValuesAddress" vTcl:WidgetProc "frmMain" 1
place $site_5_0.tRa47 \
-in $site_5_0 -x 110 -y 20 -width 70 -relwidth 0 -height 21 \
-relheight 0 -anchor nw -bordermode ignore
place $site_5_0.tRa48 \
-in $site_5_0 -x 180 -y 20 -width 70 -relwidth 0 -height 21 \
-relheight 0 -anchor nw -bordermode ignore
place $site_5_0.tRa49 \
-in $site_5_0 -x 250 -y 20 -width 70 -relwidth 0 -height 21 \
-relheight 0 -anchor nw -bordermode ignore
place $site_5_0.tRa50 \
-in $site_5_0 -x 320 -y 20 -width 70 -relwidth 0 -height 21 \
-relheight 0 -anchor nw -bordermode ignore
place $site_5_0.tRa51 \
-in $site_5_0 -x 390 -y 20 -width 70 -relwidth 0 -height 21 \
-relheight 0 -anchor nw -bordermode ignore
place $site_5_0.tRa52 \
-in $site_5_0 -x 460 -y 20 -width 70 -relwidth 0 -height 21 \
-relheight 0 -anchor nw -bordermode ignore
place $site_5_0.tLa53 \
-in $site_5_0 -x 30 -y 50 -width 80 -relwidth 0 -height 19 \
-relheight 0 -anchor nw -bordermode ignore
place $site_5_0.spi54 \
-in $site_5_0 -x 110 -y 50 -width 50 -relwidth 0 -height 20 \
-relheight 0 -anchor nw -bordermode ignore
place $site_5_0.tLa44 \
-in $site_5_0 -x 180 -y 50 -width 100 -height 20 -anchor nw \
-bordermode ignore
place $site_5_0.spi45 \
-in $site_5_0 -x 235 -y 50 -width 60 -relwidth 0 -height 19 \
-relheight 0 -anchor nw -bordermode ignore
vTcl:copy_lock $site_4_5.tLa46
ttk::style configure TNotebook -background $vTcl(actual_gui_bg)
ttk::style configure TNotebook.Tab -background $vTcl(actual_gui_bg)
ttk::style configure TNotebook.Tab -foreground $vTcl(actual_gui_fg)
ttk::style configure TNotebook.Tab -font "$vTcl(actual_gui_font_dft_desc)"
ttk::style map TNotebook.Tab -background [list disabled $vTcl(actual_gui_bg) selected $vTcl(pr,guicomplement_color)]
ttk::notebook $site_4_5.tNo55 \
-width 300 -height 200 -takefocus {}
vTcl:DefineAlias "$site_4_5.tNo55" "nbValue" vTcl:WidgetProc "frmMain" 1
bind $site_4_5.tNo55 <<NotebookTabChanged>> {
lambda e: nbValue_TabChanged(e)
}
frame $site_4_5.tNo55.t0 \
-background $vTcl(actual_gui_bg) \
-highlightbackground $vTcl(actual_gui_bg) -highlightcolor black
vTcl:DefineAlias "$site_4_5.tNo55.t0" "nbValue_Real_1_1" vTcl:WidgetProc "frmMain" 1
$site_4_5.tNo55 add $site_4_5.tNo55.t0 \
-padding 0 -sticky nsew -state normal -text Value -image {} \
-compound left -underline -1
set site_6_0 $site_4_5.tNo55.t0
ttk::label $site_6_0.tLa57 \
-background $vTcl(actual_gui_bg) -foreground $vTcl(actual_gui_fg) \
-font TkDefaultFont -relief flat -anchor w -justify left -takefocus 0 \
-text Name:
vTcl:DefineAlias "$site_6_0.tLa57" "lblValueRealName" vTcl:WidgetProc "frmMain" 1
vTcl:copy_lock $site_6_0.tLa57
ttk::label $site_6_0.tLa58 \
-background $vTcl(actual_gui_bg) -foreground $vTcl(actual_gui_fg) \
-font TkDefaultFont -relief flat -anchor w -justify left -takefocus 0 \
-text Gain:
vTcl:DefineAlias "$site_6_0.tLa58" "lblValueRealGain" vTcl:WidgetProc "frmMain" 1
vTcl:copy_lock $site_6_0.tLa58
ttk::label $site_6_0.tLa59 \
-background $vTcl(actual_gui_bg) -foreground $vTcl(actual_gui_fg) \
-font TkDefaultFont -relief flat -anchor w -justify left -takefocus 0 \
-text Offset:
vTcl:DefineAlias "$site_6_0.tLa59" "lblValueRealOffset" vTcl:WidgetProc "frmMain" 1
vTcl:copy_lock $site_6_0.tLa59
ttk::label $site_6_0.tLa60 \
-background $vTcl(actual_gui_bg) -foreground $vTcl(actual_gui_fg) \
-font TkDefaultFont -relief flat -anchor w -justify left -takefocus 0 \
-text Unit:
vTcl:DefineAlias "$site_6_0.tLa60" "lblValueRealUnit" vTcl:WidgetProc "frmMain" 1
vTcl:copy_lock $site_6_0.tLa60
ttk::entry $site_6_0.tEn66 \
-font TkTextFont -textvariable strValuesValueName -foreground {} \
-background {} -takefocus {} -cursor ibeam
vTcl:DefineAlias "$site_6_0.tEn66" "tinValuesValuename" vTcl:WidgetProc "frmMain" 1
bind $site_6_0.tEn66 <<SetBalloon>> {
set ::vTcl::balloon::%W {enter a name for the value }
}
vTcl:copy_lock $site_6_0.tEn66
spinbox $site_6_0.spi68 \
-activebackground #f9f9f9 -background white -buttonbackground #d9d9d9 \
-disabledforeground #a3a3a3 -font TkDefaultFont -foreground black \
-from 1.0 -highlightbackground black -highlightcolor black \