#------------------------------------------------------------------------ # This implements the wwwsics command which generates a listing of # important experiment parameters in html format for the SICS WWW Status # application. This version is for the powder diffractometers DMC and # HRPT. # # Mark Koennecke, March 2000 #------------------------------------------------------------------------ proc wwwsics {} { #----- get all the data we need set user [GetNum [user]] set sample [GetNum [sample]] set tit [GetNum [title]] set ret [catch {lambda} msg] if {$ret != 0 } { set lam Undetermined } else { set lam [GetNum $msg] } set ret [catch {temperature} msg] if {$ret != 0 } { set tem Undetermined } else { set tem [GetNum $msg] } set run [GetNum [sicsdatanumber]] catch {incr run} msg set stat [GetNum [status]] #------- html format the reply append result "
| Run Number | $run |
|---|---|
| Title | $tit |
| User | $user |
| Sample | $sample |
| wavelength | $lam |
| Sample Temperature | $tem |
| Status | $stat |