source: ETALON/SPARC/SPARC_controls/sparc_constants.py @ 797

Last change on this file since 797 was 797, checked in by delerue, 6 years ago

Added SPARC controls

File size: 1.0 KB
Line 
1__author__ = 'delerue'
2
3global data_dir
4data_dir='/Users/delerue/travail/smith-purcell/SPARC/data/201507/'
5
6encoder_IP = '192.168.197.145'
7encoder_port = 880
8
9#SCOPE_IP='192.168.197.145'
10SCOPE_IP='10.0.1.112'
11
12global motor_controller_IP
13global motor_controller_port
14
15#motor_controller_IP='192.168.197.145'
16#motor_controller_port=30000
17
18motor_controller_IP='10.0.1.160'
19motor_controller_port=30000
20
21
22#motor_controller_IP = '127.0.0.1'
23#motor_controller_port = 50007
24
25
26#Cameras [top, upstream, downstream]
27CAMERA_TOP_ON=1
28CAMERA_UPSTREAM_ON=1
29CAMERA_DOWNSTREAM_ON=0
30CAMERAS_ON=[CAMERA_TOP_ON, CAMERA_UPSTREAM_ON, CAMERA_DOWNSTREAM_ON]
31
32CAMERA_UPSTREAM_PORT='10.0.1.130:80'
33CAMERA_DOWNSTREAM_PORT='10.0.1.132:80'
34CAMERA_TOP_PORT='10.0.1.133:80'
35
36CAMERA_UPSTREAM_PORT='192.168.197.145:8070'
37CAMERA_DOWNSTREAM_PORT='192.168.197.145:8072'
38CAMERA_TOP_PORT='192.168.197.145:8073'
39CAMERAS_PORT=[CAMERA_TOP_PORT, CAMERA_UPSTREAM_PORT, CAMERA_DOWNSTREAM_PORT]
40
41global write_to_motor_dated_log
42write_to_motor_dated_log = data_dir + "sparc_write_to_motor_dated_log"
43
Note: See TracBrowser for help on using the repository browser.