# proglets.dat
#
# This file specifies the configuration of a 
# science computer in a Webb Research Glider.
# CTD sn 0043
# BAM sn 019R
# BBFL2 sn 935
# AANDERAA sn 62
#------------------------------------------------------------------------
# CTD41CP Sea-bird  CTD(SBE-41)
# Continuous Profile Unit
#          Seabird CTD              OES                       Persistor
#Hardware: Pin 1(Power CTRL)                                 Pin 27 (CTD5)
#          Pin 2(TX OUT)         J7pin25(UART4 RXC)
#          Pin 3(MODE)                                       Pin 26 (CTD6)
#
proglet = ctd41cp
    uart =     2    # UART4-RXC
    bit  =    27    # Power Ctrl
    bit  =    26    # MODE
    start_snsr=c_profile_on(sec)
    simulator = ctd41cp_sim
#
#------------------------------------------------------------------------
# wet labs bbfl2slo  custom 3-param fluorescence/scattering meter
# NOTE: This proglet requires the following sensor specific constants from
#       Wet Labs for deriving engineering units (put in autoexec.mi):
#         u_bbfl2s_bb_cwo(nodim)         # clean water offset, nodim == counts
#         u_bbfl2s_chlor_cwo(nodim)      # clean water offset, nodim == counts
#         u_bbfl2s_cdom_cwo(nodim)       # clean water offset, nodim == counts
#         u_bbfl2s_bb_sf(Mnodim)         # scale factor to get units
#         u_bbfl2s_chlor_sf(ug/l/nodim)  # scale factor to get units
#         u_bbfl2s_cdom_sf(ppb/nodim)    # scale factor to get units
#         u_bbfl2s_is_calibrated(bool) 1 # set to 1 after entering 
#                                        # calibration constants
#
# For simulator, set u_wetlabs_sim_num_eng_units(nodim) to 3 in autoexec.mi
#
proglet = bbfl2s
    uart       = 0          # U4Soem Pins T-2,R-3  (we only use receive)
    bit        = 29         # power control for sensor
    start_snsr = c_bbfl2s_on(sec)
    simulator = wetlabs_sim
#
#------------------------------------------------------------------------
# Wetlabs BAM beam attenuation meter
proglet = bbam
    uart       = 6     # U4Soem Pins T-2,R-3 
    bit        = 30    # power control
    start_snsr = c_bbam_on(sec)
    simulator  = bbam_sim

#------------------------------------------------------------------------
# Aanderaa Oxygen Optode 3835 
proglet = oxy3835_wphase
    uart       = 3          # U4Soem Pins T-2,R-3  (we only use receive)
    bit        = 34         # power control for sensor
    start_snsr = c_oxy3835_wphase_on(sec)

#------------------------------------------------------------------------
