Changeset 480
- Timestamp:
- Dec 4, 2009 5:06:52 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/readexp.tcl
- Property rcs:date changed from 2001/10/19 19:27:09 to 2001/10/31 20:08:54
- Property rcs:lines changed from +3 -3 to +16 -2
- Property rcs:rev changed from 1.32 to 1.33
r471 r480 328 328 cdatset MXCY [format %4d $value] 329 329 } 330 cyclesrun-get { 331 set cycle -1 332 regexp {.*cycles run *([0-9]*) } [readexp " GNLS RUN"] x cycle 333 return $cycle 334 } 330 335 print-get { 331 336 set print [string trim [cdatget PRNT]] … … 1002 1007 # dstep -- dummy histogram step size tmin/emin/2theta (*) 1003 1008 # dpoints -- dummy histogram number of points (*) 1009 # dtype -- dummy histogram type (CONST or SLOG) 1010 # parameters transferred from the instrument parameter file: 1011 # ITYP -- returns the contents of the ITYP record 1004 1012 proc histinfo {histlist parm "action get" "value {}"} { 1005 1013 global expgui … … 1411 1419 if ![validint value 10] {return 0} 1412 1420 setexp "${key} DUMMY" $value 1 10 1421 } 1422 dtype-get { 1423 return [string trim [string range [readexp "${key} DUMMY"] 10 19]] 1424 } 1425 ITYP-get { 1426 return [string trim [readexp "${key}I ITYP"]] 1413 1427 } 1414 1428 default {
Note: See TracChangeset
for help on using the changeset viewer.