There is a boolean switch in the Util folder under the kitControl palette that will do this.
I need to do simple logic in Niagara AX - I want a Boolean point to output "true" if the input is true and "null" if the input is false. I thought I had done this before, but I can't figure it out. Any help is welcome. Thanks very much.
There is a boolean switch in the Util folder under the kitControl palette that will do this.
I'm not seeing it - maybe it's because we're still running an older version (3.4.43). We're upgrading shortly.
Thanks very much for your help.
Here is a bolean switch I made when we first started using tridium and I couldn't believe there wasn't such a simple thing in the library. This will work with any version of Niagara. Just open the .bog file, copy the switch and paste it on your wire sheet.
https://dl.dropbox.com/u/16002934/Boolean_Switch.bog
I leave it up for a couple days. Drop box is acting weird. I guess it doesn't like a .bog file. It downloads as a zip which extracts to an xml. Just download and change the file extension to a .bog and then open in niagara.
It took actually learning something to realize how much I had to learn.
shuffman - drop the boolean switch on a wire sheet, double left click the switch, at the far right of "InFalse" is two small down arrows, left click the arrows, check off the "null" box and finally, save.
UA LU 562
there is another "ToggleSwitch" in AxCommunity.jar as well....it will switch boolean and analog values as well.
The 'null' would work beautifully in the priority inputs for say, a BooleanWritable but, a bit of a gotcha...be careful using 'null' values with boolean logic ... the null can be ignored.
ie If an AND component has 2 inputs and 1 is on and the other is null... then the output will be on too...
1 + 1 = 3 ( *** for very large values of 1)
...everybody wants a box of chocolates and long stemmed rose
Be brave. You cannot get eaten by an imaginary tiger.
Why not just use a simple block such as a "NOT"/Whatever block and set it to be "Null" on In-Active?
Use the priority array on the Boolean in question and call life simple?
"Xor" block is what I use the most for overrides and what not into an array
An advantage to using the Boolean Switch is readability. One sees "null on inactive" without drilling in to the object.
UA LU 562