# Example configuration file for hdriver
#
# =========================================
#
#  Things that you may often want to change
#
# =========================================
#
# Whether to enable hdriver's server for RTPLOT 1/0
rtplot_server_on = 0
# Whether the hipercam server on the rack is enabled. It does no
# harm to leave it on, but if you turn it off, it will prevent
# you even trying to interact with the server
hcam_server_on = 1
# Whether the program tries to interact with the focal plane slide
focal_plane_slide_on = 0
# Whether the program tries to interact with the CCD temperature monitor
ccd_temp_monitoring_on = 0
# Whether the program tries to interact with the flow rate monitor
flow_monitoring_on = 0
# Whether the program tries to interact with the vacuum monitor
ccd_vac_monitoring_on = 0
# Whether the program tries to interact with the chiller temp monitor
chiller_temp_monitoring_on = 0
# Whether the program tries to interact with the TCS
tcs_on = 0
# Whether the rack PC has a GPS card inserted or not
gps_attached = 1
# How long an acknowledged alarm should stay quiet for (seconds)
alarm_sleep_time = 600
# Expert level governs the complexity of the GUI
# 0 -- program stops you doing things out of order. Simple interface
# 1 -- program still prevents you doing things out of order. More detailed setup
# 2 -- guru status. All buttons on all the time, enabling havoc
expert_level = 0
# If enabled, all log msgs are also printed to a file.
file_logging_on = 1
# Name of telescope. Must be one of the keys in utils.globals.Container.TINS.
# Currently that is WHT or GTC
telins_name = WHT
# Default font family, e.g. 'helvetica', 'times' and size in pts
# Change font size if GUI struggles to fit in your windw
font_family = helvetica
font_size = 10

# ===========================================
#
# Alarm limits for hardware monitoring
# Don't change unless you know what you are doing
#
# ===========================================
# Thermal enclosure for Rack, GTC only
rack_temp_lower = 15
rack_temp_upper = 25
# Chiller; only used on WHT
chiller_temp_lower = 5
chiller_temp_upper = 15
# NGC flow rate
ngc_flow_lower = 0.5
ngc_flow_upper = 10.0
# CCD flow rates
ccd_flow_lower = 0.75
ccd_flow_upper = 10.0
# CCD temperatures
ccd_temp_lower = -105
ccd_temp_upper = -75
# CCD heatsink temperatures
ccd_sink_temp_lower = 0
ccd_sink_temp_upper = 40
# CCD peltier powers
ccd_peltier_lower = -5
ccd_peltier_upper = 90

# ===========================================
#
#  Things you may occasionally want to change
#
# ===========================================
# The URL of the hipercam server on the rack PC
hipercam_server = http://localhost:5000/
# The URL of the GTC offset server
gtc_offset_server = http://localhost:5001/
# The URL of the termserver for serial connections
termserver_ip = 192.168.1.3
slide_port = 10001
vacuum_ports = 10002, 10003, 10004, 10005, 10006
chiller_port = 10007
# The URL of GTC Rack sensor
rack_sensor_ip = 192.168.1.11
# The URL of the meerstetter for CCD temps
meerstetter_ip = 192.168.1.5, 192.168.1.6
# The URL of the Honeywell monitor for flow rates
honeywell_ip = 192.168.1.4
# port number for rtplot server
rtplot_server_port = 5100
# Initial directory on local machine to save and load applications inside
app_directory = ~/.hdriver/apps
# log file directory
log_file_directory = ~/.hdriver/logs
# enable to force entry of run parameters before allowing starting runs
require_run_params = 1
# to prompt a confirmation of the target name after
# any change of setup without a corresponding change of
# target. This is a safety device.
confirm_on_change = 1
# enables reporting diagnostic output
debug = 1
# to prompt confirmation whenever you try to quit
confirm_on_quit = 1
# number of degrees from Moon at which to warn
mdist_warn = 20.0
