MIDAS experiment „alc“
USER MANUAL
SR35, 05.07.2006
Data acquisition is running on psw407 (DELL Power Edge 2600).
AFS users can logon to pc5145, the local user account is l_musr_alc.
Data files are stored locally on psw407 in /home/l_musr_alc/exp/alcand
automatically copied to /afs/psi.ch/project/bulkmusr/data/alc/ti
Download from Www.Somanuals.com. All Manuals Search And Download.
Start a run
for autorun sequence: set autorun_active = 1 (if 0: only single run)
there are no ‘scans’ anymore!
Download from Www.Somanuals.com. All Manuals Search And Download.
Stop a run
Do not interfere the stopping procedure – wait until the pages refreshes and shows status
‘stopped’.
Download from Www.Somanuals.com. All Manuals Search And Download.
Set Magnet
change Demand value
read Hall probe
read NMR probe
- field >= 0.0
* - probe is locked
* - readout unit is Tesla
* - sum of returned errors (returned value < 0.0)
*
*
*
*
*
*
*
*
status unit
-1.0 BUS DRIVER I/O TIMEOUT I
-2.0 BUS DRIVER ERROR
-4.0 not in state LOCKED
-8.0 state NOT LOCKED
-16.0 state WRONG
-32.0 state NMR signal
-64.0 unit not Tesla
B
!L
N
W
S
!T
* -128.0 invalid channel number C
*
* status = I|B|L|N|W|S|C|E
* unit = T|F|U
Download from Www.Somanuals.com. All Manuals Search And Download.
Set Temperature
LTC21: Input: read values
Output: set value LTC21_Analog_Set_Point (K)
Download from Www.Somanuals.com. All Manuals Search And Download.
Set Flow
Demand = 3000 for T = 0 – 100 °C,
set Demand = 10000 for cooling down,
base temp. ???
Download from Www.Somanuals.com. All Manuals Search And Download.
History
Download from Www.Somanuals.com. All Manuals Search And Download.
ODB: DO NOT TOUCH! – discuss with Instrument Scientist first
Start frontends from terminal by running the command
alc_start_midas
Shutdown all frontends:
alc_mcleanup
[l_musr_alc@pc4244 alc]$ alc_mcleanup
Midas cleanup procedure for experiment ALC...
Stopping MIDAS clients...
09:48:00 [ODBEdit] Program ODBEdit on host pc4244 stopped
09:48:00 [IPS120 SC] Program IPS120 SC on host pc4244 stopped
09:48:00 [alc_fe] Program alc_fe on host pc4244 stopped
09:48:00 [HALL_SCfe] Program HALL_SCfe on host pc4244 stopped
09:48:00 [ODBEdit1] Cannot shutdown client "NMR_SCfe", please kill manually and do an ODB cleanup
09:48:00 [SampleT_scfe] Program SampleT_scfe on host pc4244 stopped
09:48:00 [LTC21 SC] Program LTC21 SC on host pc4244 stopped
09:48:00 [BeamLine SC] Program BeamLine SC on host pc4244 stopped
09:48:00 [Logger] Program Logger on host pc4244 stopped
09:48:00 [mhttpd] Program mhttpd on host pc4244 stopped
09:48:00 [RVC200 Frontend] Program RVC200 Frontend on host pc4244 stopped
09:48:00 [Analyzer] Program Analyzer on host pc4244 stopped
odbedit exit status 0
Now I do an ODB cleanup...
Killing processes in case that odbedit failed to stop them ...
Process with pid \003256\\ (mhttpd) ...killednecho -n Process with pid \003278\\ (nmr_scfe) ...
killedn
killproc exit status 0
killing mozilla...
mozilla-bin: no process killed
killing opera...
opera: no process killed
Cleaning up shared memory segments for user l_musr_alc ...
Shared memory segment id 65537 ...
resource(s) deleted
Shared memory segment id 98306 ...
resource(s) deleted
Shared memory segment id 131075 ...
resource(s) deleted
Cleaning up semaphores for user l_musr_alc ...
------ Shared Memory Segments --------
key
shmid
owner
root
perms
777
bytes
49152
nattch
status
0x00000000 0
1
------ Semaphore Arrays --------
key semid owner
perms
nsems
0x4d05c027 0
l_musr_al 666
l_musr_al 666
l_musr_al 666
l_musr_al 666
l_musr_al 666
1
1
1
1
1
0x4d05c028 32769
0x4d05c029 65538
0x4d05c080 98307
0x4d05c1c0 131076
------ Message Queues --------
key msqid owner
perms
used-bytes
messages
[l_musr_alc@pc4244 alc]$
(eventually run twice or more… until no midas daemons left)
then it looks like:
[l_musr_alc@pc4244 alc]$ alc_mcleanup
Midas cleanup procedure for experiment ALC...
Stopping MIDAS clients...
No clients found
odbedit exit status 0
Now I do an ODB cleanup...
Killing processes in case that odbedit failed to stop them ...
killproc exit status 0
killing mozilla...
Download from Www.Somanuals.com. All Manuals Search And Download.
mozilla-bin: no process killed
killing opera...
opera: no process killed
Cleaning up shared memory segments for user l_musr_alc ...
Cleaning up semaphores for user l_musr_alc ...
------ Shared Memory Segments --------
key
shmid
owner
root
perms
777
bytes
49152
nattch
status
0x00000000 0
1
------ Semaphore Arrays --------
key semid owner
0x4d05c027 0 l_musr_al 666
perms
nsems
1
------ Message Queues --------
key msqid owner
perms
used-bytes
messages
[l_musr_alc@pc4244 alc]$
alternatively: start midas daemons one by one without X-server:
[l_musr_alc@pc4244]$ mhttpd -p 8080 -D
[l_musr_alc@pc4244]$ alc_fe -D
[l_musr_alc@pc4244]$ ips120_scfe -D
[l_musr_alc@pc4244]$ ltc21_scfe -D
[l_musr_alc@pc4244]$ samplet_scfe -D
[l_musr_alc@pc4244]$ hall_scfe -D
[l_musr_alc@pc4244]$ nmr_scfe -D
[l_musr_alc@pc4244]$ rvc200_scfe -D
[l_musr_alc@pc4244]$ bl_scfe -D
[l_musr_alc@pc4244]$ analyzer -D
[l_musr_alc@pc4244]$ mlogger -D
Download from Www.Somanuals.com. All Manuals Search And Download.
Separator: vncviewer sepii:0, pw: exhalle
if only black screen appears use rdesktop sepii, user: halle, pw: exhalle
-
under winXP: Remote Desktop Connection (All Programs – Accessories –
Communications)
for
HV = 150 kV: SEP = 746
The beamline setting is named ALC2005_1st_period.set.
Download from Www.Somanuals.com. All Manuals Search And Download.
Data written as
ASCII file: alc_05_NNNN.dat
(run number NNNN)
format:
19 header lines followed by data, lines containing 48 coloumns each
!File: /home/l_musr_alc/exp/alc/alc_05_0270.dat
!Run : 270
!Start/Stop time: 01:25:32 (30-04-2005) / 06:55:08 (30-04-2005)
!Comment: cell 107, 15% DHTAC / 50 mole% ortho-chlorobenzoate, 35C
!Field [T]: prescan = 1.5000; from = 1.5500; to = 2.3000; step = 0.0005
!Temperature (cold finger) : T1 = 346.503 K; dT1 =
!Temperature (sample plate): T2 = 350.154 K; dT2 =
!Preset Count: 1500000
0.029 K
0.063 K
!Group of preset
detectors: 0x00000004
!Group of forward detectors: 0x007f0000
!Group of backward detectors: 0x000007f0
!
!
!
!
!
!-------------------------------------------------------------------------------
B_IPS asym a_err I_IPS B_NMR B_Hall T1 T2 reserve[0..7] scaler[0..31]
!-------------------------------------------------------------------------------
!
1.5500
0.11370
0.00031 22.79400
0
1.5481
1.5480
346.629
1601696
350.034
0
0
0
0
0
0
0
0
9042
0
915025
829539
925851
756272
512164
0
827958
508840
883336
602534
764988
716321
0
0
0
0
0
0
0
0
0
0
862837
751539
743396
0
0
0
1.5505
0.11459
0.00030 22.80140
0
1.5485
1.5480
346.660
1620915
350.027
0
0
0
0
0
0
0
0
9149
0
927877
842968
938642
767071
518703
0
839195
514314
895571
612899
777035
725841
0
0
0
0
0
0
0
0
0
0
872329 758847
754103
0
0
0
scaler[28] – [31] contains the sums of all detector counts in fw and bw generated by an
FC103 ‘OR’ unit. This avoids counting of double hits.
sb_pos = scaler[28];
sb_neg = scaler[29];
sf_pos = scaler[30];
sf_neg = scaler[31];
The resulting asymmetry and error are written in reserve[0] – [3]for pos. and neg.
electric field applied (asy_pos, errasy_pos, asy_neg, errasy_neg). (Only negative
polarity if no electric field clock signal present!).
AFS data path:
/afs/psi.ch/project/bulkmusr/data/alc/ti/
defined as DATAPATH on pc5145: cd $DATAPATH
visualize, e.g., gnuplot: plot “alc_05_0123.dat” u 1:2:3 w e
use Root on pc5145:
cd /home/l_musr_alc/ALC
root -l DoALC.C
[] load();
[] plot();
[] combine();
[] save();
Download from Www.Somanuals.com. All Manuals Search And Download.
Appendix: Some ODB entries
Ip_min is the minimum required beam currenton Target E in mA. Measurement is
paused when the current is lower.
rate_min is the minimum required positron rate in the sum of the backward counters
(this makes sure that the run is automatically paused when the beamblocker is closed).
TestRun = ‘n’ writes datafile ‘alc_05_NNNN.dat’
TestRun= ‘y’ writes ‘test_alc_05_NNNN.dat’
Download from Www.Somanuals.com. All Manuals Search And Download.
Ip_channel is the channel number (starting at 0, in the above example this is the third
channel) of the proton beam current signal, 100 kHz correspond to 1 mA.
preset channels is the bitmask for the scaler channels used for the preset counting
register in hex form. In the above example this is the proton current (equivalent to
counting for a certain number of incoming muons). 3rd channel has bitmask 0100,
represented by 0x4 in hex code.
preset_value is the number of counts per field points in the preset_channel. 1’500’000
counts in the proton beam channel correspond to 10 seconds measurement time at an
average beam of 1.5 mA. Keep in mind that the scaler is read only every 3 seconds…
Forward_Detectors, Backward_Detectors is the bitmask for the detectors in hex code.
FW: 0x7F0000 ==
0111 1111 0000 0000 0000 0000 == channels 17 – 23 out of 32,
BW: 0x7F0 == 0000 0000 0000 0111 1111 0000 == channels 5 – 11 out of 32.
Channel_norm_time scaler[n](#n) is number of the channel used for the clock signal
(starting at channel 0, here in the second channel (scaler[1]))
and Rate_norm_time is the clock frequency (1 kHz).
Contacts:
phone: 3465
phone: 3200
πE3 mobile phone: 5883
ALC counting room: 3025
Download from Www.Somanuals.com. All Manuals Search And Download.
|