Anyone have any ideas on how one could set one dose. It would be useful for getting your tank back in parameters. For example, I could do a one time dose of 30mL, which for me would be 90 seconds for me. I would love it if I could go to a screen and select dose. Then input how many mL. I would have it already programmed knowing it take my pumps 30 seconds to pump 10 mL.
There are several ways to do this. I would think the most logical solution we be something along the lines of what Lee (lnevo) did with the phantom relays to trigger functions. Add code that will run your dosing pump for a set amount of time when you trigger the phantom relay from the portal or one of the apps.
You don't need a phantom relay. I do it with my swabbie which i treat as a doser but i have it enabled to work for a set time in manual mode. Check what i do in RunSwabbie()
However i highly advise against it. Buttons can be hit too easily for my taste. Last thing i need is to accidentally hit the shot of alk button...
I would feel safer having a memory location trigger instead if you must have that functionality, or use a phantom port but require two for safety.