PDA

View Full Version : How can I do this....WXM vortech question


JG1
12/17/2010, 08:06 AM
I want to alternate between ReefCrest (100%), and NTM (100%).

Say 60 minutes per cycle.

How can I program this?

r0ck0
12/17/2010, 10:22 AM
create a virtual outlet called OSC, in that outlet add this code:
OSC 060:00/060:00/060:00 Then ON

Then in your vortech outlet add this code:
If Outlet Light = ON Then Lagoon
If Outlet OSC = ON Then Nutrient
If Outlet Light = OFF Then NightWav
If FeedA 000 Then OFF

Of course you will need to change the profiles to match and change the settings to match your needs, but this how you can osc the vortech profiles.

RussM
12/17/2010, 11:16 AM
I would choose a different name than OSC. Its probably not a good idea to use the name of a programming function.. aka a reserved keyword.

r0ck0
12/17/2010, 11:46 AM
I would choose a different name than OSC. Its probably not a good idea to use the name of a programming function.. aka a reserved keyword.

I haven't had any issue using it. If there was a problem the apex wouldn't save the program, it would display an error that there was a missing function.

Oh you run reeftronics? Great site, thanks for creating it!

coralreefhq
12/17/2010, 01:04 PM
Tagging along, planning to order my pair of Vortechs soon.

RussM
12/17/2010, 01:22 PM
While it may not cause a problem, it could lead to confusion later. I still wouldnt do it - 'cause I'm easily confused. ;) And it is just bad practice in any form of programming.

And thank you!

r0ck0
12/17/2010, 02:19 PM
Also I just set this up earlier this week, found the answer by searching this forum and found this post. So the credit goes to aquamanic and ChuckG.

http://www.reefcentral.com/forums/showthread.php?t=1913181&highlight=wxm+osc