SYSTEM_NAME="FIDO Production SN 10"  # change to name once written to Flash drive
BOARD_INFORMATION="FIDO Rev B" # FIXMEECW print this out on boot

# The following are the valve channel numbers.
# A total of 16 valves are spread across 2 boards of 8 valves each.
# board 0 handles 0-7 and board 1 handles 8-15
# Board 0 (0-7)
SAMPLEPUMP = 5
INTAKEVALVE = 0
NITROAIRVALVE = 1    # air is a pressurized N2 gas canister
PRESERVATIVEVALVE = 2

#Board 1 (8-15)
EXHAUSTVALVE = 8
VACUUMVALVE = 9
WASTEVALVE = 10
DECONVALVE = 11
SUCTIONVALVE = 12  # Vacuum arm valve
SUCTIONBREAKVALVE = 13
VACUUMCLEARVALVE = 14

MIN_PRESSUREPOT_PRESSURE_PSI = 5.0
SAMPLING_PRESSURE = 10.0

CLAMP_MIN_PRELOAD_LBS = 10

GOODVACUUM = 100  # ADC counts related to a strong vacuum

# default values for sample if not specified in parameters
deconAtEnd = False
pressurePot = False

# Clamp closes on puck with just enough force to hold it so 
# arm can let go and back away, then it holds it in place, 
# finally sealing
CLAMP_GRAB_LBS = 2.5    # lbs: just enough force to back away
CLAMP_CLOSE_LBS = 60    # lbs: crushed down on puck
CLAMP_SEAL_LBS = 65     # lbs: full seal, ready for sample

# distances the clamp needs to travel
# FIXMEECW: changed location from cal to config
CLAMP_MAX_DISTANCE = 10850*5+4000       # full open to full close
CLAMP_FLUSH_DISTANCE = 10850*5+4000     # full open to flush position (full close)
CLAMP_GRAB_OPEN_DISTANCE = 2000*5+3000  # full open to grab position
CLAMP_GRAB_CLOSE_RETAIN_DISTANCE = 2800*5+3000 # move from close back to grab
CLAMP_CLOSE_SEAL_DISTANCE = 100*5       # addition from close to seal
CLAMP_PUCK_CLOSE_DISTANCE = 19000       # from open to close on puck, bypass grab

