How can I do this....WXM vortech question

JG1

New member
I want to alternate between ReefCrest (100%), and NTM (100%).

Say 60 minutes per cycle.

How can I program this?
 
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.
 
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 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!
 
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!
 
Back
Top