OPEnSLab-OSU / eDNA-Server

Backend Application for eDNA Genomic Sampler
1 stars 1 forks source link

Preload Protocol Testing #9

Closed kawinie closed 4 years ago

kawinie commented 4 years ago

Preload Water

State Motor Status Inlet Valves Filter valve Outlet valves Duraration Next condition Target
Flush Forward Water valve ON OFF ON 10s
Offshoot Preload Forward Water valve ON ON OFF 2~3 s Time Special state, only run once in the begining, Flush then Preload offshoot.
baonguyen21 commented 4 years ago

Kawin, I was unable to pull the code that has this protocol. I do have the new.cpp files but not sure if I need new interface code or not.

My latest develop pull only perform old routine. Flush Sample Dry Preserve

baonguyen21 commented 4 years ago

I changed the BallValve pins in ball.cpp. Corrected pins: image

Request: The code run all 24 valves but I only have 3. I had to changed the for loop and the transition time to do just 3.

image

kawinie commented 4 years ago

Hey thanks. I think the best thing to do here is to preload water according to valves in config.js?

kawinie commented 4 years ago

I updated Preloading to preload only valves specified in config.js. closes #9