eQuest BDL Function Programming

2 posts / 0 new
Last post

Hello All;

Has anyone had success using a User Default expression for a System to reference the control zone?s Activity Description to set a MinOA Schedule?
Effectively, the System?s MinOA Schedule to references the Control-Zone, which will look at the Control-Zone?s to determine the Space, and then determine the Activity Description of the Space.
I believe the use of #LR and #L gets me on the right path, but haven?t been able to ?crack the nut??.
The code below attempts pass referenced names, but unsure where the breakdown is?

FAN-SCHEDULE =
{switch(#LR(#LR(#L("CONTROL-ZONE"),"NAME")),"SPACE")
case "SCHO" : #SI("FAN SUP EVNT","CONTROL-ZONE","FAN-SCHEDULE")
case "OFFI" : #SI("FAN SUP EVNT","CONTROL-ZONE","FAN-SCHEDULE")
default : no_default
endswitch}

There are more than 2 activity types, but it has been shorted for testing & debugging.
In reality, IF this is possible, any of the System level schedules should be able to be set from the Controlling Zone?s Space?s Activity Description.
Any help is greatly appreciated.

Thanks,
DARIC R. ADAIR PE, C.E.M.
Mechanical Engineer, Energy Analyst

[HEI logo]

Henderson Engineers, Inc. ?8345 Lenexa Drive, Suite 300 Lenexa, KS 66214
dir 913 742 5530? tel 913 742 5000? fax 913 742 5001? tx id #F-001236? www.hei-eng.com

Licensed in KS.?
Sending me large files? Please use my HEI DropBox
[Facebook Logo]

[Twitter Logo]

[Linkedin Logo]

AT:2|

________________________________

This email and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originator's personal views and opinions, which do not necessarily reflect those of Henderson Engineers, Inc. If you are not the original recipient or the person responsible for delivering the email to the intended recipient, be advised that you have received this email in error, and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. If you received this email in error, please immediately notify administrator at hei-eng.com.

daric.adair's picture
Offline
Joined: 2014-06-18
Reputation: 0

Daric,

I haven't tried it, but:
1) you're missing a local ref from the space to the C-ACTIVITY-DESC KEYWORD
2) the space might be a parent to the zone rather than local ref

Envoy? de mon iPhone

jmarrec's picture
Offline
Joined: 2013-01-09
Reputation: 0