'Getting Trigger interval info from Program block in Niagara
I have a TimeTrigger block set for IntervalMode. I linked its FireTrigger slot to the Execute slot of a Program block. My program code needs to get the trigger interval details. Is there a programmatic way to do that in Java? I tried
getKnobs(getSlot("execute"))
but that is only available in BComponent and, even though BProgram subclasses BComponent, the actual Java code for a Program block derives from com.tridium.program.ProgramBase which doesn't seem to know anything about Knobs or Links.
What is the right way to do this?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
