Code to automatically Enable/Disable probes in Apex Fusion?

chaostactics

Valuable Member
View Badges
Joined
Jul 5, 2010
Messages
1,155
Reaction score
677
Location
Maryland
Rating - 0%
0   0   0
Is there a way to code to temporarily disable probes when x event occurs?

I would like my pH and salt probes to stop reading when my ATO is active so that my alarms aren't triggered and my other equipment doesn't change states based on pH and salt readings. Thank you.
 
The probes will always gather data, and there's no programmable way to turn them off. However, you can programmatically suspend the alarm programming. The best way to do this is to place monitoring of specific conditions into a virtual output, program it to ignore the readings when the ATO is active, and then monitor that virtual output state in your EmailAlm program.

Example:

[Alert_Salt] --- virtual output
Set OFF
If Salt < 33.0 Then ON
If Salt > 35.5 Then ON
If Output ATO = ON Then OFF

[EmailAlm]
Set OFF
If Output Alert_Salt = ON Then ON

See my tutorial on Virtual Outputs for more details: https://www.reef2reef.com/ams/neptune-apex-programming-tutorials-part-5-virtual-outputs.703/

Also see my tutorial on Apex Alarm Programming for more alarm tips & tricks: https://www.reef2reef.com/ams/neptune-apex-programming-tutorials-part-6-alarms.707/
 

HOW MUCH DOES A FISH’S FEEDING REQUIREMENTS AFFECT YOUR STOCKING DECISIONS?

  • A lot! - I avoid fish that require frequent or specialized feeding

    Votes: 9 25.7%
  • Quite a bit, but an automatic feeder can change my answer

    Votes: 6 17.1%
  • It depends on whether my nutrient export can handle it

    Votes: 5 14.3%
  • It depends on how badly I want the fish

    Votes: 10 28.6%
  • Not much. I’m willing to adjust my routine

    Votes: 9 25.7%
  • Not at all. Feeding demands don’t limit my stocking choices

    Votes: 5 14.3%
  • I usually learn about the demanding feeding schedule after buying the fish!

    Votes: 2 5.7%
  • I haven’t really considered this before

    Votes: 3 8.6%
  • Something else (see my comments in the thread)

    Votes: 1 2.9%
Back
Top
Home
Post thread…
Market
What's new