Hide action slot on BooleanWritables
The ability to batch edit slots is the primary use of the Batch Editor. For NiagaraAX-3.6 and later systems (Workbench and JACE controllers), you can also edit slot flags (Config Flags). For example, you can set or clear the “Operator” flag on slots, or set or clear the “Hidden” flag on slots.
In this example, we will hide the emergencyActive slot on a number of BooleanWritable components. Step numbers correspond to the numbers in the graphics.
To locate the components to edit, we’ll use the Bql Query Builder (Click
to display the Bql Query Builder) and narrow the search by drilling down in the nav tree.
To further narrow the search we’ll select the module and component by choosing (Custom Type) from the ‘Of Type:’ drop-down list.
This opens two additional lists: one for the module and the other for the component.
Knowing that a BooleanWriteable is in the control module, we choose control from the drop-down list.
Next we choose the component type from the component drop-down list and click .
To find the module and component type, refer to the ‘Type’ column on the slot sheet. The module and component type are displayed
in the format: module:component.
Finally, we click
, set Slot to emergencyActive, set Flag to Hidden, set action to Set Flag and click .
All the slot flags change and the Batch Editor displays the results.
To confirm the change, check the slot sheet for one of a changed component.
In Figure 18, the “h” in the Flags column indicates that the hidden flag for slot emergencyActive has been set.
Set the offnormal high limit on alarm extensions
In this example, we will change the temperature high limit from 100˚ to 95˚. We’ll also demonstrate how to use the right-click pop-up menu to selectively clear items that you don’t want to include in the change.
In the Batch Editor Bql Query Builder (double-lick ProgramService and click
) configure ‘Of Type’, (Custom Type) as follows.
The OffnormalAlgorithm is the component used to define the conditions that trigger an alarm.
In this step we select and clear from the Object field the objects we do not want to change.
The quickest way to clear items from the Object field is to click the Clear Selected Items icon
in the toolbar. If you’re using the pop-up menu, right-click in the blank area of the Object field otherwise you may inadvertently
deselect an object.
Click
and choose the highLimit property from the Property drop-down menu.
Set the New Value field to 95 and click .
The Batch Editor changes the objects. This may take a few seconds. Then it displays the results.
To close the BatchEditor Results, click .
Check the property sheet for one of the points to ensure that the change was made.
Increase history record count
In this example we will expand the capacity of the history databases that currently hold 500 records to allow them to hold 600 records. First we will do a wide search for all historyConfig containers, starting from the Config folder in the nav tree. Then, we will clear the containers configured to hold less than 500 records. And finally, we will change the capacity property on the remaining historyConfig containers.
Using the Bql Query Builder, search for all historyConfig container slots.
Expand the window slightly so you can see an additional column.
To add a capacity column to the Object field, click the Select Columns icon (
) in the toolbar.
To clear the historyConfig slots configured to hold less than 500 records, click the Clear Selected Items icon in the toolbar.
Click
, change the capacity property to 600 records and click .
The results indicate the change was made and the capacity column changes to reflect the change.
Copyright © 2000-2014 Tridium Inc. All rights reserved.