## Script file for Licor and RH Sensor ## Target: Ocean Acidification Mooring $pulseTime = 0.5 $analogWaitTime = 5 $wetstarWaitTime = 20 $pumpOffTime = 5 $dataWait = 30 #Max time driver should run to get sample # The following constants are for testing the system # Comment them out when ready for deployment #$initTime = 20 #$LiTime = 20 # The following constants are for deployment # Comment them out when testing $initTime = 240 $LiTime = 60 repeat_interval forever, 3600 power_on LicorPwr pulse_on LicorA2, $pulseTime pulse_on LicorB1, $pulseTime pulse_on LicorC1, $pulseTime pulse_on LicorD2, $pulseTime power_on LicorPump wait $initTime run_driver Licor, 1 wait_driver Licor, $dataWait power_off LicorPump power_on Wetstar wait $wetstarWaitTime run_driver Analog5V wait_driver Analog5V, $dataWait power_off Wetstar wait $pumpOffTime run_driver Licor, 2 wait_driver Licor, $dataWait pulse_on LicorA2, $pulseTime pulse_on LicorB2, $pulseTime pulse_on LicorC2, $pulseTime pulse_on LicorD2, $pulseTime power_on LicorPump wait $LiTime run_driver Licor, 3 wait_driver Licor, $dataWait power_off LicorPump power_on Wetstar wait $wetstarWaitTime run_driver Analog5V wait_driver Analog5V, $dataWait power_off Wetstar wait $pumpOffTime run_driver Licor, 4 wait_driver Licor, $dataWait pulse_on LicorA1, $pulseTime pulse_on LicorB2, $pulseTime pulse_on LicorC2, $pulseTime pulse_on LicorD1, $pulseTime power_on LicorPump wait $LiTime run_driver Licor, 5 wait_driver Licor, $dataWait power_off LicorPump power_on Wetstar wait $wetstarWaitTime run_driver Analog5V wait_driver Analog5V, $dataWait power_off Wetstar wait $pumpOffTime run_driver Licor, 6 wait_driver Licor, $dataWait pulse_on LicorA1, $pulseTime pulse_on LicorB1, $pulseTime pulse_on LicorC2, $pulseTime pulse_on LicorD1, $pulseTime power_off LicorPwr next