MainPage:Nuclear:KaonDetector:PMTCharacteristics:COSMOS

From cua_phy
Jump to navigation Jump to search
⇐ Back to the PMT Characteristics page

COSMOS codes

There is a list with codes used to make the step motors to scan the PMTs.

Horizontal mode

 E,C,
 S1M2600,			;motor speed settings
 I1M0,		;initialize position
 P600,					;wait 3 mins for HV to stabilize
 LM0,					;loop begin
 P-50,					;5ms pause
 U15,U5,P-5,U4,U14,			;take data point
 L501,					;take 500 data points
 I1M-1898,				;move left/right
 P-1000,					;100ms pause
 L25,					;horizontal move loop end (does not move on last time, just takes data)
 ;I2M-1888,				;move up
 ;P-1000,					;100ms pause
 ;L-25,					;vertical move loop end
 R

Vertical mode

 E,C,
 S2M2600,			;motor speed settings
 I2M0,IA2M-0,		;initialize position
 P600,					;wait 3 mins for HV to stabilize
 LM0,					;loop begin
 P-50,					;5ms pause
 U15,U5,P-1,U4,U14,			;take data point
 L501,					;take 500 data points
 ;I1M-1898,				;move left/right
 ;P-1000,					;100ms pause
 ;L25,					;horizontal move loop end (does not move on last time, just takes data)
 I2M-1888,				;move up
 P-1000,					;100ms pause
 L-25,					;vertical move loop end
 R

25x25 horizontal

 E,C,
 S1M2600,S2M2600,			;motor speed settings
 I1M0,I2M0,IA1M-0,IA2M-0,		;initialize position
 P1800,					;wait 3 mins for HV to stabilize
 LM0,					;loop begin
 P-50,					;5ms pause
 U15,U5,P-1,U4,U14,			;take data point
 L501,					;take 500 data points
 I1M-1898,				;move left/right
 P-1000,					;100ms pause
 L25,					;horizontal move loop end (does not move on last time, just takes data)
 I2M-1888,				;move up
 P-1000,					;100ms pause
 L-25,					;vertical move loop end
 R

25x25 vertical

 E,C,
 S1M2600,S2M2600,			;motor speed settings
 I1M-0,I2M-0,IA1M-0,IA2M-0,			;initialize position
 P1800,					;wait 3 mins for HV to stabilize
 LM0,					;loop begin
 P-50,					;5ms pause
 U15,U5,P-5,U4,U14,			;take data point
 L501,					;take 500 data points
 I2M1888,				;move up/down
 P-1000,					;100ms pause
 L25,					;vertical move loop end (does not move on last time, just takes data)
 I1M1898,				;move right
 P-1000,					;100ms pause
 LM-2
 L12,					;horizontal move loop end
 LM0,					;loop begin
 P-50,					;5ms pause
 U15,U5,P-5,U4,U14,			;take data point
 L501,					;take 500 data points
 I2M1888,				;move down
 P-1000,					;100ms pause
 L25,					;vertical move loop end (does not move on last time, just takes data)
 R

25x25 horizontal and 25x25 vertical (two scans)

 E,C,
 S1M2600,S2M2600,			;motor speed settings
 ; Horizontal
 I1M0,I2M0,IA1M-0,IA2M-0,		;initialize position
 P1800,					;wait 3 mins for HV to stabilize
 LM0,					;loop begin
 P-50,					;5ms pause
 U15,U5,P-5,U4,U14,			;take data point
 L501,					;take 500 data points
 I1M-1898,				;move left/right
 P-1000,					;100ms pause
 L25,					;horizontal move loop end (does not move on last time, just takes data)
 I2M-1888,				;move up
 P-1000,					;100ms pause
 L-25,					;vertical move loop end
 ; Vertical
 I1M-0,I2M-0,IA1M-0,IA2M-0,		;initialize position
 P1800,					;wait 3 mins for HV to stabilize
 LM0,					;loop begin
 P-50,					;5ms pause
 U15,U5,P-5,U4,U14,			;take data point
 L501,					;take 500 data points
 I2M1888,				;move up/down
 P-1000,					;100ms pause
 L25,					;vertical move loop end (does not move on last time, just takes data)
 I1M1898,				;move right
 P-1000,					;100ms pause
 LM-2					;Repeat in opposite vertical direction
 L12,					;horizontal move loop end
 LM0,					;loop begin
 P-50,					;5ms pause
 U15,U5,P-5,U4,U14,			;take data point
 L501,					;take 500 data points
 I2M1888,				;move down
 P-1000,					;100ms pause
 L25,					;vertical move loop end (does not move on last time, just takes data)
 R

100x100 horizontal with 1k points (PMT_test_100x100_10k_v2.txt)

 E,C,
 S1M2600,S2M2600,			;motor speed settings
 I1M0,I2M0,IA1M-0,IA2M-0,		;initialize position
 P3200,					;wait 5 mins for HV to stabilize
 LM0,					;loop begin
 P-10,					;ms pause
 U15,U5,P-3,U4,U14,			;take data point
 L1001,					;take 1k data points
 I1M-457,				;move left/right
 P-10,					;ms pause
 L100,					;horizontal move loop end (does not move on last time, just takes data)
 I2M-457,				;move up
 P-10,					;ms pause
 L-100,					;vertical move loop end
 R