Page 1 of 1
Dose on command
Posted: Thu Aug 22, 2013 9:10 pm
by alexwbush
I know the code for dosing throughout the day is:
Code: Select all
ReefAngel.DosingPumpRepeat1( Port1 );
or something like...
Code: Select all
ReefAngel.DosingPumpRepeat( Port1,30,360,10 );
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.
Re: Dose on command
Posted: Thu Aug 22, 2013 10:47 pm
by alexwbush
I may have posted too soon... reading through this:
http://forum.reefangel.com/viewtopic.ph ... 2&start=20
If I find it, I will post it here for others
Re: Dose on command
Posted: Fri Aug 23, 2013 9:09 am
by Piper
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.
~Charlie
Re: Dose on command
Posted: Fri Aug 23, 2013 10:55 am
by lnevo
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.
Re: Dose on command
Posted: Fri Aug 23, 2013 2:04 pm
by Piper
Good points, Lee. You can also put in a max run time for the port instead of or in addition to requiring two ports to be triggered.
~Charlie