View Full Version : Tridium AX device status
justjohnson
04-21-2008, 02:22 PM
Is there a way to reference a Bacnet Device Status in a program object to trigger commands when a device is offline? I am using NiagaraAx 3.2.
jgraham
04-21-2008, 04:37 PM
I don't know about an already built block, but if you write a block you can reference an input to the Status of a Bacnet device to read whether or not it is "Ok."
if (getInput().isOk() != true)
Drop me an e-mail if you want any more help.
John
aztra
04-21-2008, 09:10 PM
Baing a NON coder im interested in what you just wrote.. Was that VB script? I would like to read up on it...
You can use the status demux in the kit control palette. It is in the util folder. Link the status out to the In status of the demux and you will get a boolean output. Whether it is in alarm, fault, down.
jgraham
04-21-2008, 09:54 PM
Very cool tk2k. I didn't realize it was that simple.
Aztra, it is Java. All program blocks in Tridium AX are written in Java. That is just the first half of one statement asking if Input Status is not equal to "Ok."
justjohnson
04-23-2008, 05:03 PM
thanks, I got a program block to reference device status using Status.isDown() and went from there.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.