Apex Controller - Cant use Virtual Outlet in Configuration

  • Thread starter Thread starter CJ Monty
  • Start date Start date
  • Tagged users Tagged users None

CJ Monty

Active Member
View Badges
Joined
May 19, 2018
Messages
241
Reaction score
78
Rating - 0%
0   0   0
I created a bunch of virtual outlets and see them in my outputs page in fusion. It looks something like this.

Name - PUMP_10
Device - Cntl_A1
Type - virtual

However when I go to use this virtual outlet in either an outlet output or another virtual output I get the following error message.

Send Failed
//Error: line 1 - Valid keywords following If are Temp, pH, ORP, DO, Cond, Salt, Par, Feed, SwX, FLx, Error, Power, Sun, or Moon // IF PUMP_10 ON THEN OFF

Is there something else I need to configure to use these outlets in configurations?
 
You need "It output pump_10 on then off"

(Outlet or output are actually interchangeable, but you need to use one of em.)
 
The syntax is wrong - you are missing the required equal sign and “Output” keyword

If Output PMUP_10 = On Then OFF
Thanks was missing output. As a developer writing code for the apex is very frustrating.
 

TOP 10 Trending Threads

ARE YOU READY TO CONFESS TO CRAZIEST, DUMBEST, FUNNIEST THING YOU’VE EVER DONE IN REEFING?

  • Yeah, I'll confess! (Share your story in the comments!)

    Votes: 38 54.3%
  • Nah, I'll keep mine a secret...(Don't be like that, share with the class!)

    Votes: 32 45.7%
Back
Top
Home
Post thread…
Market
What's new