forked from MDSplus/mdsplus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
JOERGER_TR612.uil
560 lines (530 loc) · 15.3 KB
/
JOERGER_TR612.uil
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
/*
* Generated by the ICS builderXcessory (BX).
*
*
* Builder Xcessory 3.5.1 VMS.
*
*/
module joerger_tr612
version = 'V1.0'
names = case_sensitive
!(BX) bx_info("app_class", "BuilderProduct")
!(BX) bx_info("app_name", "builderProduct")
!(BX) bx_info("app_defaults", "APP-DEFAULTS.DAT")
!(BX) bx_info("c++_old_construct", "false")
!(BX) bx_info("c++_unmanage_dialogs", "true")
!(BX) bx_info("c++_gen_derived", "false")
!(BX) bx_info("c++_target", "MAIN-CXX.EXE")
!(BX) bx_info("c++_hdrext", "HXX")
!(BX) bx_info("c++_srcext", "CXX")
!(BX) bx_info("c++_callbacks", "CALLBACKS-CXX", true)
!(BX) bx_info("c++_utilities", "BXUTILS-CXX", true)
!(BX) bx_info("c++_constants", "DEFS-CXX", true)
!(BX) bx_info("c++_baseclass", "UIComponent", true)
!(BX) bx_info("c++_main", "MAIN-CXX", true)
!(BX) bx_info("c++_makefile", "MAKEFILE-CXX.MMS", true)
!(BX) bx_info("c++_imakefile", "MAKEFILE-CXX.COM", true)
!(BX) bx_info("c_reverse_dialogs", "true")
!(BX) bx_info("c_dialogs_in_routine", "true")
!(BX) bx_info("c_unmanage_dialogs", "true")
!(BX) bx_info("c_target", "MAIN-C.EXE")
!(BX) bx_info("c_utilities", "BXUTILS-C.C", true)
!(BX) bx_info("c_constants", "CREATION-C.H", true)
!(BX) bx_info("c_callbacks", "CALLBACKS-C.C", true)
!(BX) bx_info("c_creation", "CREATION-C.C", true)
!(BX) bx_info("c_main", "MAIN-C.C", true)
!(BX) bx_info("c_makefile", "MAKEFILE-C.MMS", true)
!(BX) bx_info("c_imakefile", "MAKEFILE-C.COM", true)
!(BX) bx_info("uil_target", "MAIN-UIL.EXE")
!(BX) bx_info("uil_utilities", "BXUTILS-UIL.C", true)
!(BX) bx_info("uil_constants", "MAIN-UIL.H", true)
!(BX) bx_info("uil_callbacks", "CALLBACKS-UIL.C", true)
!(BX) bx_info("uil_uil", "TR612_NEW.UIL", true)
!(BX) bx_info("uil_main", "MAIN-UIL.C", true)
!(BX) bx_info("uil_makefile", "MAKEFILE-UIL.MMS", true)
!(BX) bx_info("uil_imakefile", "MAKEFILE-UIL.COM", true)
!(BX) bx_info("include_path", "[]", false)
!(BX) bx_info("xrunner_command", "$(M_ROOT)/arch/X11.5/Xm1.2/mic_xm.o", false)
!(BX) bx_info("purify_command", "purify", false)
!(BX) bx_info("c++_libraries", "sys$share:decw$dxmlibshr12.exe/share,sys$share:decw$xmlibshr12.exe/s"&
!(BX) "hare,sys$share:decw$mrmlibshr12.exe/share,sys$share:decw$xtlibshrr5."&
!(BX) "exe/share,sys$share:decw$xlibshr.exe/share,sys$share:decc$shr.exe/sh"&
!(BX) "are")
!(BX) bx_info("c++_flags", "/standard=vaxc/define=(__STDC__=1)")
!(BX) bx_info("c++_cc", "CC")
!(BX) bx_info("system_directory", "BX$SYSTEM:")
!(BX) bx_info("builder_version", "Builder Xcessory 3.5.1 VMS")
!(BX) bx_info("uil", "uil")
!(BX) bx_info("cc", "cc")
!(BX) bx_info("cpp", "CC")
!(BX) bx_info("cOutputIncludes", "/standard=vaxc/define=(__STDC__=1)")
!(BX) bx_info("cOutputLibraries", "sys$share:decw$dxmlibshr12.exe/share,sys$share:decw$xmlibshr12.ex"&
!(BX) "e/share,sys$share:decw$mrmlibshr12.exe/share,sys$share:decw$xtlib"&
!(BX) "shrr5.exe/share,sys$share:decw$xlibshr.exe/share,sys$share:decc$s"&
!(BX) "hr.exe/share")
!(BX) bx_info("uilCOutputIncludes", "/standard=vaxc/define=(__STDC__=1)")
!(BX) bx_info("uilUILOutputIncludes", "/motif")
!(BX) bx_info("uilOutputLibraries", "sys$share:decw$dxmlibshr12.exe/share,sys$share:decw$xmlibshr12."&
!(BX) "exe/share,sys$share:decw$mrmlibshr12.exe/share,sys$share:decw$x"&
!(BX) "tlibshrr5.exe/share,sys$share:decw$xlibshr.exe/share,sys$share:"&
!(BX) "decc$shr.exe/share")
!(BX) bx_info("cppOutputIncludes", "/standard=vaxc/define=(__STDC__=1)")
!(BX) bx_info("cppOutputLibraries", "sys$share:decw$dxmlibshr12.exe/share,sys$share:decw$xmlibshr12."&
!(BX) "exe/share,sys$share:decw$mrmlibshr12.exe/share,sys$share:decw$x"&
!(BX) "tlibshrr5.exe/share,sys$share:decw$xlibshr.exe/share,sys$share:"&
!(BX) "decc$shr.exe/share")
!(BX) bx_info("builder_version", "Builder Xcessory 3.5.1 VMS")
!(BX) bx_info("ansi", "false")
!(BX) bx_info("use_locales", "false")
!(BX) bx_info("new_mrm_style", "true")
!(BX) bx_info("c_wrap_lines", "true")
!(BX) bx_info("uil_wrap_lines", "true")
!(BX) bx_info("integrate_purify", "false")
!(BX) bx_info("purify_command", "purify")
!(BX) bx_info("integrate_xrunner", "false")
!(BX) bx_info("xrunner_command", "$(M_ROOT)/arch/X11.5/Xm1.2/mic_xm.o")
include file "XmdsWidgets.uil";
value
DEVICE_NID : -1;
DEVICE$N_NAME : 1;
DEVICE$N_COMMENT : 2;
DEVICE$N_ACTMEM : 3;
DEVICE$N_PRETRIG : 4;
DEVICE$N_MODE : 5;
DEVICE$N_FREQUENCY : 6;
DEVICE$N_EXT_CLOCK : 7;
DEVICE$N_TRIGGER : 8;
DEVICE$N_INPUTS : 9;
DEVICE$K_NODES_PER_INP : 3;
DEVICE$N_INP_HEAD : 0;
DEVICE$N_INP_ENDIDX : 2;
DEVICE$N_INP_STARTIDX : 1;
DEVICE$N_INIT_ACTION : 27;
DEVICE$N_STORE_ACTION : 28;
list BaseStyle : arguments {
};
list BaseStyleReasons : callbacks {
};
!(BX)list BaseStyleHandlers : handlers {
!(BX)};
!(BX)object topLevelShell : TopLevelShell widget {
!(BX) arguments {
!(BX) XmNx = 318;
!(BX) XmNy = 306;
!(BX) XmNwidth = 665;
!(BX) XmNheight = 581;
!(BX) };
!(BX) controls {
!(BX) managed XmFormDialog JOERGER_TR612;
!(BX) };
!(BX) callbacks {
!(BX) };
!(BX)};
object JOERGER_TR612 : XmFormDialog widget {
arguments {
XmNautoUnmanage = false;
XmNresizePolicy = XmRESIZE_GROW;
XmNnoResize = true;
XmNdialogTitle = compound_string("Joerger Model TR612/3 Six Channe" &
"l Transient Recorder");
XmNx = 369;
XmNy = 194;
XmNwidth = 665;
XmNheight = 581;
};
controls {
managed XmBulletinBoard bulletinBoard;
managed XmForm bottomButtons;
managed user_defined commentField;
managed XmLabelGadget commentLabel;
managed user_defined nameField;
managed XmLabelGadget nameLabel;
};
callbacks {
};
};
object nameLabel : XmLabelGadget widget {
arguments {
XmNlabelString = compound_string("CAMAC Name:");
XmNtopAttachment = XmATTACH_FORM;
XmNleftAttachment = XmATTACH_FORM;
XmNtopOffset = 10;
XmNleftOffset = 10;
};
controls {
};
callbacks {
};
};
object nameField : user_defined procedure XmdsCreateExprField widget {
arguments {
XmdsNnid = DEVICE_NID;
XmdsNdefaultQuote = true;
XmNcolumns = 32;
XmdsNputOnApply = true;
XmdsNnidOffset = DEVICE$N_NAME;
XmNmarginHeight = 1;
XmNmarginWidth = 1;
XmdsNautoQuote = true;
XmNtopAttachment = XmATTACH_FORM;
XmNleftAttachment = XmATTACH_FORM;
XmNtopOffset = 10;
XmNleftOffset = 110;
};
controls {
};
callbacks {
};
};
object commentLabel : XmLabelGadget widget {
arguments {
XmNlabelString = compound_string("Comment:");
XmNtopAttachment = XmATTACH_FORM;
XmNleftAttachment = XmATTACH_FORM;
XmNtopOffset = 40;
XmNleftOffset = 10;
};
controls {
};
callbacks {
};
};
object commentField : user_defined procedure XmdsCreateExprField widget {
arguments {
XmdsNnid = DEVICE_NID;
XmdsNdefaultQuote = true;
XmNcolumns = 32;
XmdsNputOnApply = true;
XmdsNnidOffset = DEVICE$N_COMMENT;
XmNmarginHeight = 1;
XmNmarginWidth = 1;
XmdsNautoQuote = true;
XmNtopAttachment = XmATTACH_FORM;
XmNleftAttachment = XmATTACH_FORM;
XmNtopOffset = 40;
XmNleftOffset = 110;
};
controls {
};
callbacks {
};
};
object bottomButtons : XmForm widget {
arguments {
XmNresizePolicy = XmRESIZE_NONE;
XmNtopAttachment = XmATTACH_NONE;
XmNbottomAttachment = XmATTACH_FORM;
XmNleftAttachment = XmATTACH_FORM;
XmNrightAttachment = XmATTACH_FORM;
XmNbottomOffset = 5;
XmNleftOffset = 5;
XmNrightOffset = 5;
};
controls {
managed user_defined storeAction;
managed user_defined initAction;
managed XmForm deviceButtons;
};
callbacks {
};
};
object deviceButtons : XmForm widget {
arguments {
XmNresizePolicy = XmRESIZE_NONE;
XmNtopAttachment = XmATTACH_WIDGET;
XmNbottomAttachment = XmATTACH_FORM;
XmNleftAttachment = XmATTACH_FORM;
XmNrightAttachment = XmATTACH_FORM;
XmNtopWidget = user_defined initAction;
XmNtopOffset = 15;
XmNbottomOffset = 0;
XmNleftOffset = 0;
XmNrightOffset = 0;
XmNy = 50;
};
controls {
managed user_defined cancelButton;
managed user_defined resetButton;
managed user_defined applyButton;
managed user_defined okButton;
};
callbacks {
};
};
object okButton : user_defined procedure XmdsCreateOkButton widget {
arguments {
XmNleftAttachment = XmATTACH_FORM;
XmNleftOffset = 10;
};
controls {
};
callbacks {
};
};
object applyButton : user_defined procedure XmdsCreateApplyButton widget {
arguments {
XmNleftAttachment = XmATTACH_POSITION;
XmNleftPosition = 33;
XmNleftOffset = -25;
};
controls {
};
callbacks {
};
};
object resetButton : user_defined procedure XmdsCreateResetButton widget {
arguments {
XmNleftAttachment = XmATTACH_POSITION;
XmNleftPosition = 66;
XmNleftOffset = -25;
};
controls {
};
callbacks {
};
};
object cancelButton : user_defined procedure XmdsCreateCancelButton widget {
arguments {
XmNrightAttachment = XmATTACH_FORM;
XmNrightOffset = 10;
};
controls {
};
callbacks {
};
};
object initAction : user_defined procedure XmdsCreateXdBoxOnOffButton widget {
arguments {
XmdsNnid = DEVICE_NID;
XmNlabelString = compound_string("Initialization Action");
XmdsNnidOffset = DEVICE$N_INIT_ACTION;
};
controls {
};
callbacks {
};
};
object storeAction : user_defined procedure XmdsCreateXdBoxOnOffButton widget {
arguments {
XmdsNnid = DEVICE_NID;
XmNlabelString = compound_string("Store Action");
XmdsNnidOffset = DEVICE$N_STORE_ACTION;
XmNleftAttachment = XmATTACH_WIDGET;
XmNleftWidget = user_defined initAction;
XmNleftOffset = 20;
};
controls {
};
callbacks {
};
};
object bulletinBoard : XmBulletinBoard widget {
arguments {
XmNresizePolicy = XmRESIZE_GROW;
XmNtopAttachment = XmATTACH_FORM;
XmNbottomAttachment = XmATTACH_FORM;
XmNleftAttachment = XmATTACH_FORM;
XmNrightAttachment = XmATTACH_FORM;
XmNtopOffset = 70;
XmNbottomOffset = 80;
XmNleftOffset = 5;
XmNrightOffset = 5;
};
controls {
managed user_defined ext_clock;
managed XmLabel label1;
managed user_defined trigger;
managed XmLabel label;
managed user_defined mode;
managed user_defined frequency;
managed user_defined actmem;
managed user_defined pretrig;
managed user_defined digChans;
};
callbacks {
};
};
object digChans : user_defined procedure XmdsCreateDigChans widget {
arguments {
XmdsNnodesPerChannel = DEVICE$K_NODES_PER_INP;
XmdsNnid = DEVICE_NID;
XmdsNchannels = 6;
XmdsNendIdxNidOffset = DEVICE$N_INP_ENDIDX;
XmdsNstartIdxNidOffset = DEVICE$N_INP_STARTIDX;
XmdsNdataNidOffset = DEVICE$N_INP_HEAD;
XmdsNnidOffset = DEVICE$N_INPUTS;
XmNx = 20;
XmNy = 160;
XmNwidth = 630;
XmNheight = 250;
};
controls {
};
callbacks {
};
};
object pretrig : user_defined procedure XmdsCreateNidOptionMenu widget {
arguments {
XmdsNnid = DEVICE_NID;
XmdsNvalueStrings = string_table(
compound_string("0"),
compound_string("1"),
compound_string("2"),
compound_string("3"),
compound_string("4"),
compound_string("5"),
compound_string("6"),
compound_string("7 "));
XmNlabelString = compound_string("Pre-trigger samples:");
XmdsNputOnApply = true;
XmdsNnidOffset = DEVICE$N_PRETRIG;
XmdsNlabelStrings = string_table(
compound_string("0/8 "),
compound_string("1/8 "),
compound_string("2/8 "),
compound_string("3/8 "),
compound_string("4/8"),
compound_string("5/8"),
compound_string("6/8"),
compound_string("7/8 "));
XmNx = 20;
XmNy = 10;
};
controls {
};
callbacks {
};
};
object actmem : user_defined procedure XmdsCreateNidOptionMenu widget {
arguments {
XmdsNnid = DEVICE_NID;
XmdsNvalueStrings = string_table(
compound_string("0"),
compound_string("1"),
compound_string("2"),
compound_string("3"),
compound_string("4"),
compound_string("5"),
compound_string("6"),
compound_string("7"));
XmNlabelString = compound_string("Active memory: ");
XmdsNputOnApply = true;
XmdsNnidOffset = DEVICE$N_ACTMEM;
XmdsNlabelStrings = string_table(
compound_string("1/8"),
compound_string("2/8"),
compound_string("3/8"),
compound_string("4/8"),
compound_string("5/8"),
compound_string("6/8"),
compound_string("7/8"),
compound_string("8/8"));
XmNx = 20;
XmNy = 50;
};
controls {
};
callbacks {
};
};
object frequency : user_defined procedure XmdsCreateNidOptionMenu widget {
arguments {
XmdsNnid = DEVICE_NID;
XmdsNvalueStrings = string_table(
compound_string("0"),
compound_string("1"),
compound_string("2"),
compound_string("3"),
compound_string("4"));
XmNlabelString = compound_string("Frequency: ");
XmdsNputOnApply = true;
XmdsNnidOffset = DEVICE$N_FREQUENCY;
XmdsNlabelStrings = string_table(
compound_string("3MHz"),
compound_string("2MHz"),
compound_string("1MHz"),
compound_string("100KHz"),
compound_string("External"));
XmNx = 30;
XmNy = 90;
};
controls {
};
callbacks {
};
};
object mode : user_defined procedure XmdsCreateNidOptionMenu widget {
arguments {
XmdsNnid = DEVICE_NID;
XmdsNvalueStrings = string_table(
compound_string("0 "),
compound_string("1 "));
XmNlabelString = compound_string("Mode: ");
XmdsNputOnApply = true;
XmdsNnidOffset = DEVICE$N_MODE;
XmdsNlabelStrings = string_table(
compound_string("Normal"),
compound_string("Burst"));
XmNx = 300;
XmNy = 50;
};
controls {
};
callbacks {
};
};
object label : XmLabel widget {
arguments {
XmNlabelString = compound_string("Trigger:");
XmNx = 300;
XmNy = 20;
};
controls {
};
callbacks {
};
};
object trigger : user_defined procedure XmdsCreateExprField widget {
arguments {
XmdsNnid = DEVICE_NID;
XmNcolumns = 32;
XmdsNputOnApply = true;
XmdsNnidOffset = DEVICE$N_TRIGGER;
XmNmarginHeight = 1;
XmNmarginWidth = 1;
XmNx = 380;
XmNy = 20;
};
controls {
};
callbacks {
};
};
object label1 : XmLabel widget {
arguments {
XmNlabelString = compound_string("Ext Clock:");
XmNx = 300;
XmNy = 100;
};
controls {
};
callbacks {
};
};
object ext_clock : user_defined procedure XmdsCreateExprField widget {
arguments {
XmdsNnid = DEVICE_NID;
XmNcolumns = 32;
XmdsNputOnApply = true;
XmdsNnidOffset = DEVICE$N_EXT_CLOCK;
XmNmarginHeight = 1;
XmNmarginWidth = 1;
XmNx = 380;
XmNy = 100;
};
controls {
};
callbacks {
};
};
end module;