Niagara Platform
Niagara Platform
Niagara Platform
Software Manual
PROPRIETARY DATA NOTICE
This document, as well as all reports, illustrations, data, information, and other
materials are the property of LG Electronics U.S.A., Inc., and are
disclosed by LG Electronics U.S.A., Inc., only in confidence.
The instructions included in this manual must be followed to prevent product malfunction,
property damage, injury, or death to the user or other people. Incorrect operation due to
ignoring any instructions will cause harm or damage. A summary of safety precautions
begins on page 6.
SOM_Getting_Started_with_Niagara_Framework_05_17
For continual product development, LG Electronics U.S.A., Inc., reserves the right to change specifications without notice.
©LG Electronics U.S.A., Inc.
This document, as well as all reports, illustrations, data, information, and other materials are the property of LG Electronics
U.S.A., Inc.
Getting Started with Niagara
TABLE OF CONTENTS
Chapter 1 About the Niagara framework.................................................................................................................................... 13
About Niagara 4 ................................................................................................................................................................... 14
About control systems integration ....................................................................................................................................... 17
About Java ........................................................................................................................................................................... 17
About common networking and Internet protocols ................................................................................................................ 18
About component software design ...................................................................................................................................... 20
About the software architecture ............................................................................................................................................ 20
About Baja ........................................................................................................................................................................... 21
About Niagara building blocks .............................................................................................................................................. 22
About modules ..................................................................................................................................................................... 23
About components ............................................................................................................................................................... 25
About presentation ............................................................................................................................................................... 28
About stations ...................................................................................................................................................................... 31
About ORDs ......................................................................................................................................................................... 33
About views.......................................................................................................................................................................... 38
About lexicons ...................................................................................................................................................................... 39
Formats (BFormat) ............................................................................................................................................................... 40
Chapter 2 About Workben ch ............................................................................................................................................. 52
Tour of the Workbench GUI ................................................................................................................................................. 52
Workbench window controls ................................................................................................................................................. 56
About the side bar panes ...................................................................................................................................................... 57
About popup menus.............................................................................................................................................................. 58
Table controls and options .................................................................................................................................................... 59
Controls and options for charts ............................................................................................................................................. 60
Customizing the Workbench environment.............................................................................................................................. 71
C ha p ter 3 Da ta and C o ntrol Mod el ........................................................................................................................................ 83
Wire Sheet object management ............................................................................................................................................ 83
About control points .............................................................................................................................................................. 89
About point extensions ....................................................................................................................................................... 102
About control triggers ......................................................................................................................................................... 107
About point status............................................................................................................................................................... 108
About writable points .......................................................................................................................................................... 112
About composites ............................................................................................................................................................... 115
C ha p ter 4 Ab ou t Work be nch too ls ...................................................................................................................................... 120
Due to our policy of continuous product innovation, some specifications may change without notification. 3
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Getting Started with Niagara
Due to our policy of continuous product innovation, some specifications may change without notification. 5
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Getting Started with Niagara
SAFETY INSTRUCTIONS
The instructions below must be followed to prevent product malfunction, property damage, injury or death to the user or other
people. Incorrect operation due to ignoring any instructions will cause harm or damage. The level of seriousness is classified by
the symbols described below.
TABLE OF SYMBOLS
This symbol indicates an imminently hazardous situation which, if not avoided, will result in death or
serious injury.
This symbol indicates a potentially hazardous situation which, if not avoided, could result in death or
serious injury.
This symbol indicates a potentially hazardous situation which, if not avoided, may result in minor or
moderate injury.
Note: This symbol indicates situations that may result in equipment or property damage accidents only.
This symbol indicates an action that should not be performed.
This manual provides basic information about the Niagara 4 Framework and Workbench. Included are basic descriptions of the
Workbench as well as reference information to help systems integrators and engineers get started with Niagara.
Refer to the LG MultiSITE VM3 Installation Manual for installation and mounting instructions of the controller.
Do not use or store flammable gas or combustibles near the MultiSITE VM3 unit.
There is risk of fire, explosion, and physical injury or death.
Do not touch any exposed outdoor unit wiring, terminals, or other electrical components with tools or
exposed skin. Only qualified technicians should install, use, or remove this unit.
Improper installation or use may result in fire, explosion, electric shock, physical injury and/or death.
6 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara
SAFETY INSTRUCTIONS
All electric work must be performed by a licensed electrician and conform to local building codes or, in the
absence of local codes, with the National Electrical Code, and the instructions given in this manual.
If the power source capacity is inadequate or the electric work is not performed properly, it may result in fire, electric shock,
physical injury or death.
Do not install the MultiSITE VM3 unit if it will be exposed to rain or other precipitation. Do not install the
unit in a location exposed to open flame or extreme heat. Do not touch the unit with wet hands.
There is risk of fire, electric shock, physical injury and/or death.
Due to our policy of continuous product innovation, some specifications may change without notification. 7
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Getting Started with Niagara
Note:
Disconnect power before installing or servicing the unit.
There is risk of equipment damage or degraded performance.
MultiSITE VM3 unit is for use with select LG air conditioning systems only. Do not attempt to use this unit with any other type
of system.
There is risk of equipment damage or degraded performance.
Clean up the site after all procedures are finished, and check that no metal scraps, screws, or bits of wiring have been left inside
or surrounding the controller or indoor units.
Do not spill water or other liquid on the inside of the controller. Do not drop the controller into water. If the unit is immersed
in water or other liquid, contact your local authorized LG distributor for support.
There is risk of unit failure or degraded performance.
Remove all power to controller before attaching (plug in) or detaching (unplug) any option module.
There is risk of possible equipment damage.
This device is only intended for use as a monitoring and control device. Do not use it for any other purpose.
There is risk of data loss or equipment damage.
Before removing or inserting the microSD card, disconnect all power to the controller and use static discharge precautions.
There is risk of equipment damage.
The MultiSITE VM3 unit is not compatible with a Power-Over-Ethernet (POE) network. Do not connect the controller on a
network segment which carries power.
The unit may fail.
8 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara
CERTIFICATIONS
The MultiSITE VM3 controller has the following agency listings, compliances, and certifications:
UL-916, Energy Management Equipment - Edition 4
FCC Part 15, Class B - Federal Communications Commission, with FCC Part 15, Subpart C - WiFi
ICES-003, Class B - Industry Canada Interference-Causing Equipment Standard
RoHS 2 (Restriction of Hazardous Substances), Directive 2011/65/EU.
ACMA, complies with the requirements of the relevant ACMA Standards. This document covers mounting and wiring of
the following products.
Due to our policy of continuous product innovation, some specifications may change without notification. 9
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Getting Started with Niagara
To comply with FCC and Industry Canada RF exposure limits for general population /uncontrolled exposure, the antenna(s) used
for this transmitter must be installed to provide a separation distance of at least 20 cm from all persons and must not be co-
located or operating in conjunction with any other antenna or transmitter.
10 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara
Product Documentation
This document is part of the Niagara technical documentation library. Released versions of Niagara software include a complete
collection of technical information that is provided in both online help and PDF format.
Related documentation
Document Title Description
AX to N4 Migration Guide This document describes processes and considerations for users that want to migrate
NiagaraAX stations to Niagara 4.
Hierarchies Guide This document provides user information for working with the Hierarchies feature.
Histories Guide This document covers the concepts of histories, history services, history components and
plugins, and describes common histories related tasks.
Lexicon Guide This document explains the concepts of lexicons, and describes how to use Workbench
lexicon tools.
Relations Guide This document explains the concepts of entity relationships, creating, editing, and
tagging relations.
Scheduling Guide This document explains the concepts of scheduling and describes how to add and
configure different types of schedules. Also covered descriptions about linking and
importing schedules.
Station Security Guide This document introduces and provides procedures for using: secure communication
(TLS/SSL), email security, user authentication (AuthenticationService), and component
authorizations (Categories, Roles and some details about hierarchies and how they
provide security).
Tagging Guide This document describes tags, tag dictionaries, tag groups, direct and implied tags, and
other concepts along with common tagging tasks.
Templates Guide This document explains template concepts and includes common template tasks.
Web Charts Guide This document describes and illustrates use of web charting tools.
Niagara 4 Installation Guide This document describes how to install Niagara 4 on various platforms.
Niagara 4 Platform Guide Describes Workbench views that are available when you have a platform connection to a
Niagara 4 host. It also describes PlatformServices that are available in a Niagara 4
station.
Due to our policy of continuous product innovation, some specifications may change without notification. 11
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Getting Started with Niagara
12 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 1 About the Niagara Fra
LonWorks®
BACnet and ASHRAE are registered trademarks of ASHRAE. Microsoft, Excel, Internet Explorer, Windows, Windows Vista,
Windows Server, and SQL Server are registered trademarks of Microsoft Corporation. Oracle and Java are registered trademarks
of Oracle and/or its affiliates. Mozilla and Firefox are trademarks of the Mozilla Foundation. Echelon, LON, LonMark, LonTalk, and
LonWorks are registered trademarks of Echelon Corporation. Tridium, JACE, Niagara Framework, NiagaraAX Framework, and
Sedona Framework are registered trademarks, and Workbench, WorkPlaceAX, and AXSupervisor, are trademarks of Tridium Inc.
All other product names and services mentioned in this publication that is known to be trademarks, registered trademarks, or
service marks are the property of their respective owners.
Due to our policy of continuous product innovation, some specifications may change without notification. 13
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 1 About the Niagara Fra Getting Started with Niagara
Software frameworks provide a platform to allow businesses to more easily build their end-product offerings. The patented
Niagara Framework is targeted at solving the challenges associated with managing diverse smart devices, unifying their data, and
connecting them to enterprise applications. Examples of smart devices include: monitoring and control systems, sensors, metering
systems, and embedded controls on packaged equipment systems.
Framework is something composed of parts fitted together and united; a structural frame; a basic structure (as of ideas); in object-
oriented programming, a reusable basic design structure, consisting of abstract and concrete classes, that assists in building
applications. Niagara Framework is a universal software infrastructure that allows companies to build custom, web enabled
applications for accessing, automating, and controlling smart devices in real time over the Internet.
Niagara 4 is the fourth generation of the Niagara Framework. This UX framework provides an infrastructure which enables
systems integrators and developers to build device-to-enterprise solutions, and Internet enabled control and monitoring products.
The framework integrates diverse systems and devices (regardless of manufacturer or communication protocol) into a unified
platform that can be easily managed in real time over the Internet (or intranet) using a late version HTML5-capable web browser.
The framework supports “queryable” tags, the functionality on which many of the new features (search, tagging, relations,
templates, and hierarchies) are based. The framework also includes a cutting-edge toolset that enables non-programmers to build
rich applications in a drag-and-drop environment.
Niagara is fully scalable, meaning that it can be run on platforms spanning the range from small, embedded devices to enterprise
class servers. Niagara is successfully applied globally in energy-services, building-automation, industrial-automation and M2M
applications.
About Niagara 4
The user experience (UX) is at the heart of Niagara. The Niagara 4 “bajaux” framework is based on open web technologies, such as
HTML5, CSS3, JSON, and Bajascript v2.0. The bajaux framework effectively provides an improved user experience in utility, ease
of use, and efficiency, as well as the capability to produce feature-rich charts and dashboards. Niagara 4 is designed to be dynamic
and responsive in order to accommodate changing usage circumstances and changes to individual systems over time. The
improvements of this new framework can be summed up in the following categories: visualization improvements, tagging and
templating, and advanced security.
Visualization improvements
The cutting-edge HTML5-based, bajaux user interface benefits the end-user as well as provides an improved developer
experience. Building owners and facility managers who typically need to locate and visualize data in order to drive efficiencies can
utilize the dashboard and web chart reporting capabilities. Developers can easily create dynamic, interactive applications and
views using bajaux widgets which display across Niagara media, such as Workbench or in a modern web browser (no browser
plug-in required). Search functionality integrated in Workbench enables quickly locating data to drop into other views. Optimized
workflows for common tasks require fewer clicks and provide more intuitive interaction. Additionally, the new look and feel of the
interface incorporates a clean and crisp design, with a subdued and focused use of color to emphasize important information.
14 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 1 About the Niagara Fra
Due to our policy of continuous product innovation, some specifications may change without notification. 15
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 1 About the Niagara Fra Getting Started with Niagara
Advanced security
Developers and systems integrators can easily create secure systems using role-based access control and enhanced encryption
features. Additional security enhancements include configurable authentication based on connection type, code signing which
verifies that modules have not been modified and improved platform connection security. Also, security usability is greatly
improved so that you do not have to be a cyber security expert to develop a secure system.
Figure 3: Role Manager view
16 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 1 About the Niagara Fra
Before a device, such as a chiller, VAV box, or temperature sensor, can be used, information from those devices must be pulled
into the system software.
Niagara then models those devices and their data types in software through the common object model. This usually entails
simplifying the device’s data types to make them easier to manipulate and control through the software.
The Niagara common object model is then used to build applications, with the goal being to provide non-programmers a means to
program the system easily without developing raw code. The Niagara common object model is similar to a programming language
in that there are a few key concepts that are used, but the real power is in the reusable libraries of applications and collections of
objects that are available. Once you understand the key concepts and you can put them to work, you can use the objects to build
control system solutions quickly and efficiently.
Figure 4: Niagara common object model
The Niagara common object model allows the framework to do the following:
• provide secure two-way communication between devices and the Internet
• send real-time device information across the Internet
• control devices in real-time across the Internet.
About Java
Much of the Niagara software is written in Java, which means that it is platform independent. Prior to Java, most software was
written and compiled for a particular machine or operating system. If that software needs to run on some other processor, the
program has to be compiled again. Java, on the other hand, compiles once. Niagara software runs on embedded JACE controllers
using the QNX operating system and the IBM J9 Java Virtual Machine (JVM), and runs on Microsoft Windows desktop operating
system platforms, as well as Linux and Solaris using the HotSpot JVM.
Due to our policy of continuous product innovation, some specifications may change without notification. 17
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 1 About the Niagara Fra Getting Started with Niagara
18 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 1 About the Niagara Fra
Due to our policy of continuous product innovation, some specifications may change without notification. 19
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 1 About the Niagara Fra Getting Started with Niagara
20 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 1 About the Niagara Fra
About Baja
The Baja (Building Automation Java Architecture) core framework is designed to be published as an open standard. This standard
is being developed through Sun's Java Community Process as JSR 60. This JSR is still an ongoing effort, but it is important to
understand the distinction between Baja and Niagara.
Fundamentally Baja is an open specification and the Niagara Framework is an implementation of that specification. As a
specification, Baja is not a set of software, but rather purely a set of documentation.
The Baja specification will include:
• Standards for how Baja software modules are packaged
• XML schema for the component model;
• The component model and its APIs
• Historical database components and APIs
• Alarming components and APIs
• Control logic components and APIs
• Scheduling components and APIs
• BACnet driver components and APIs
• LonWorks driver components and APIs
Over time many more specifications for features will be added to Baja. But what is important to remember is that Baja is only a
specification. Niagara is an implementation of that specification. Furthermore you will find a vast number of features in Niagara
that are not included under the Baja umbrella. In this respect Niagara provides a superset of the Baja features.
Due to our policy of continuous product innovation, some specifications may change without notification. 21
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 1 About the Niagara Fra Getting Started with Niagara
About APIs
The API (Application Programming Interface) defines how software engineers access the capabilities of software like the Niagara
Framework. Workbench is a Niagara API. Using it you create and edit the control logic for your job site.
Many features found in the Niagara framework are exposed through a set of Java APIs. In the Java world, APIs are grouped
together into packages, which are scoped using DNS domain names. Software developed through the Java Community Process is
usually scoped by packages starting with “java” or “javax.” It is important to understand the two types of APIs related to the
framework.
• javax.baja
The APIs developed for Baja are grouped under javax.baja. These APIs are part of the open Baja specification and may be
implemented by vendors other than Tridium. Using these APIs guarantees a measure of vendor neutrality and backward
compatibility.
• com.tridium
Software which is proprietary and outside of the Baja specification is grouped under the com.tridium packages. The com.tridium
packages contain code specific to how Niagara implements the Baja APIs.
The com.tridium code may or may not be documented. If com.tridium APIs are publicly documented, then Tridium encourages
developers to use them, but does not guarantee backward compatibility. Undocumented com.tridium APIs should never be used
by developers.
Note that some APIs have been developed under javax.baja even though they are not currently part of the Baja specification.
These APIs may eventually be published through Baja, but are currently in a development stage.
22 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 1 About the Niagara Fra
About modules
Modules are the smallest units of software in the Niagara architecture.
Major releases of the Niagara software are distributed along with a set of release modules (.jar extension), but as new modules
are made available for that release, they may be distributed as independent revisions within that release. The following figure
shows a partial list of modules, as displayed in the Nav side bar pane.
Figure 7: Module listing in the nav side bar tree
Note:
Don’t confuse modules with components. Components are used to build Niagara implementations, while modules make up the
Niagara software itself.
Module characteristics
All modules are composed of a single Java ARchive (.jar) file that complies with PKZIP compression. Modules contain an XML
manifest; they state their dependencies on other modules and their versions.
Due to our policy of continuous product innovation, some specifications may change without notification. 23
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 1 About the Niagara Fra Getting Started with Niagara
• Requires less space on the controller: Niagara’s modular development allows you to save space on your JACE by
installing only necessary modules.
• Requires less space on the workstation: When you install the framework, you can choose the modules that you want to
install with your application and omit any modules that you do not need. Later, you add modules using the platform
Software Manager (as shown).
• Simplifies dependencies and secures files: A .jar’s runtime profile describes its contents based on which systems are able
to use them, or on which content is appropriate for its configuration. This simplifies handling of dependencies and enables
files to be secured via digital signature.
24 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 1 About the Niagara Fra
• Creates new modules: Software developers can use the New Module tool in Workbench to create new (.jar) modules and
deploy them.
Figure 10: New module wizard
About components
A component is the primary building block that you use to engineer an application using Niagara Workbench. As described in the
section, “About component software design”, components provide many advantages for the application developer.
Components differ from modules in that components comprise an implementation of the framework, whereas modules comprise
the software itself.
About slots
Niagara components are defined as a collection of “slots.” You can see all the slots that make up a component by viewing its slot
details on either the Property Sheet view or AX Slot Sheet view.
Figure 11: Slot details for a single component
Due to our policy of continuous product innovation, some specifications may change without notification. 25
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 1 About the Niagara Fra Getting Started with Niagara
• Slot name: Every slot is identified by a slot name that is unique within its type. Slot names must contain ASCII letters or
numbers.
• Slot definition: Slots are either frozen or dynamic. A frozen slot is defined at compile time within a Type's Java class.
That means that frozen slots are consistent across all instances of a specified Type – they don’t change. Dynamic slots
may be added, removed, renamed, and reordered during runtime – they can change. The power of the framework is in
providing a consistent model for both frozen (compile time) slots and dynamic (runtime) slots.
• Flags: Slots have flags that allow modification of an object’s presentation or behavior. For example, “read–only”,
“operator allowed”, and “hidden”, are some of the slot flags that may be used to restrict the presentation or behavior of
an object.
• Facets: Facets contain metadata about an object. For example, “units of measurement” is a type of facet. Facets may be
viewed in the slot sheet and edited from a component property sheet.
26 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 1 About the Niagara Fra
About palettes
The palette provides a hierarchical view of available components. You may copy a component from the palette and paste it where
you need it — on a Wire Sheet, Property Sheet, Px View, or in the Nav side bar pane. You can also create custom palettes that
you associate with a module and use to hold a collection of frequently used components.
Escaped names
Workbench allows you to name components improperly, such as with spaces or other non-alphanumeric characters, without any
warning.
Further, various drivers have learn features to automate the creation of points, some of which (by default) may also have such
improper names—reflective of the native name of the source object. For example, a BACnet proxy point might have the default
name Zone 6 RH%, which matches the actual (native) BACnet object’s name.
In any case, be aware that the actual component name has all illegal characters “escaped” using a $ character, along with the
ASCII code for that character, in hexadecimal. The proxy point mentioned above, for example, results in the name
Zone$206RH$25, where the $20 escapes the space and the $25 escapes the %. You can see these escaped names in the slot
sheet of the component’s parent container. Or, with the component selected, look at its ord (shortcut Ctrl + L) to see its actual
name. Other examples include the dash character “-” which is “$2d” and anytime you begin a name with a number, the “$3” is
appended to the front of the name.
For the most part, this “escaped name” scheme is transparent to users. Whenever the name is displayed to the user, say in the
Nav side bar, property sheet, wire sheet, or a point manger, the component’s name is “unescaped” by replacing the code (say,
$20) with the actual ASCII character (say, a space). This way, the user sees Zone 6 RH% and so on. This is the component’s
display name.
Due to our policy of continuous product innovation, some specifications may change without notification. 27
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 1 About the Niagara Fra Getting Started with Niagara
In some cases, escaped names lead to confusion. You should avoid them if possible (rename them). For example, if you add
history extensions to escaped-named points, you see those escape codes listed for source points when accessing the History Ext
Manager (although associated histories use the display names). Or, if you are building Px pages and manually typing in ords in Px
widgets, you probably know source points by display names only. If you manually type in an ord without the actual (escaped)
name, the widget binding fails with an error.
Note:
If this sounds too complicated, remember that drag-and-drop operations resolve escaped names without problems—for example,
drag any point onto a Px page to get its proper ord.
About presentation
The Niagara framework provides a powerful presentation architecture based on XML and the Niagara component model.
Presentation is a term that is used to describe how the software framework provides visualization of information across different
types of media. The terms information, visualization, and media may comprise the following:
• information
– real-time data
– historical data
– configuration data
– alarm data
– scheduling data
– graphical data
– textual data
• visualization
– graphics (bitmap, JPG, PNG, SVG, vector )
– videos
– text documents
– tables
– charts
– dashboards
– input controls (actions, field editors, text fields, check boxes, trees)
• media
– web browsers (HTML5, CSS3, JavaScript)
– Workbench (Niagara stack)
– mobile devices
– csv
– pdf
– svg
– xml
– printed pages
28 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 1 About the Niagara Fra
Figure 12: Px file in Text Editor (left), Px Editor (top right), and Px Viewer
Due to our policy of continuous product innovation, some specifications may change without notification. 29
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 1 About the Niagara Fra Getting Started with Niagara
30 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 1 About the Niagara Fra
• PDF — Adobe's PDF format is the standard way to export a presentation to print it. PDF provides explicit control for how
a presentation is rendered on paper in various sizes. It is also a convenient file format for access via HTTP or email. The
presentation architecture includes an engine for generating PDF files from Px files.
• HTML5 — provides enhanced capabilities for users and developers. A set of open web technologies (HTML5, CSS3, and
JavaScript) provide a modern web interface using common standards. HTML5 views offer interactive functionality which
allows you to edit properties and invoke commands right in the view. Other HTML5 functionality includes context
sensitive menus, ability to add data to views dynamically. For the designer/developer, consistent rendering across media
means you can develop a view once and it renders in both Workbench and Hx interfaces. The bajaux HTML5 widgets
included by default provide interactive charting and dashboarding functionality. The bajaux widgets also integrate into
the environment. For example, commands defined for a WebWidget render as added icons in the Workbench tool bar or
in a modern HTML5-capable web browser.
Figure 14: Presentation media options
About stations
A station is the main unit of server processing in the Niagara architecture.
• A station database is defined by a single .bog file, for example: file:!stations/{name}/config.bog
• Stations are booted from their config.bog file into a single Virtual Machine (VM), or process, on the host machine.
• There is usually a one–to–one correspondence between stations and host machines (Supervisors or JACEs). However it
is possible to run two stations on the same machine if they are configured to use different IP ports.
A station runs the components of the Niagara Framework and provides access for client browsers to view and control these
components. The primary parts of a station include components and services. It is the combination of a database, a web server,
and a control engine. The station either runs on a Web Supervisor PC or a JACE controller.
Due to our policy of continuous product innovation, some specifications may change without notification. 31
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 1 About the Niagara Fra Getting Started with Niagara
A system can be a single station or multiple stations depending on the size of the project and it is defined by a bog file.
32 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 1 About the Niagara Fra
About ORDs
An ORD is an “Object Resolution Descriptor”. The ORD is the Niagara universal identification system and is used throughout the
Niagara Framework. The ORD unifies and standardizes access to all information. It is designed to combine different naming
systems into a single string and has the advantage of being parsable by a host of public APIs.
An ORD is comprised of one or more queries where each query has a scheme that identifies how to parse and resolve to an
object. ORDs may be displayed visually, as with the Open Ord locator or they may be entered in a text field, as shown in the Open
ORD dialog box.
Figure 17: Open ORD and graphic locator system
ORDs can be relative or absolute. A relative ORD takes the format of “slot:…”, such as “slot:AHU1/ Points/SpaceTemp”. The ORD
is “relative” to the base ORD that contains slot: AHU1. An absolute ORD usually takes the general format of “host|session|space”,
as illustrated below.
Figure 18: Absolute ORD typical structure
• host — identifies a machine usually by an IP address such as “ip:hostname”. For example “fox:” indicates a fox session
to the host.
• session — identifies a protocol being used to communicate with the host.
• space — identifies a particular type of object. Common spaces are “module:”, “file:”, “station:”, “view:”, “spy:”, or
“history:”
The local VM is a special case identified by “local:” which always resolves to BLocalHost.INSTANCE. The local host is both a host
and a session (since no communication protocols are required for access).
Both a slot path and a handle scheme can name components within a ComponentSpace. So the ORD for a component usually
involves both a space query and a path/handle.
Due to our policy of continuous product innovation, some specifications may change without notification. 33
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 1 About the Niagara Fra Getting Started with Niagara
ORD examples
• ip:somehost|fox:|station:|slot:/MyService
• ip:somehost|fox:|station:|h:/42
• ip:somehost|fox:|file:/C:/dir/file.txt
• local:|file:!jre/lib/logging.properties
• local:|module://icons-ux/x16/cloud.png
• local:|spy:/
In Niagara you may view the complete list of installed ORD schemes at “spy:/sysManagers/registryManager/ordSchemes”
(“local:|fox:|spy:/sysManagers/registryManager/ordSchemes”).
About schemes
An ORD is a list of one or more queries separated by the “|” pipe symbol. Each query is an ASCII string formatted as
“<scheme>:<body>”.
Figure 19: Example ORD scheme and body
• scheme: the scheme name is a globally unique identifier which specifies, in Niagara, how to find a piece of code to
lookup an object from the body string.
• body: the body string is formatted differently, according to the requirements of the scheme. The only rule is that it cannot
contain a pipe symbol. Queries can be piped together to let each scheme focus on how to lookup a specific type of
object. In general, absolute ords are in the following format: host | session | space.
Some examples are the following:
– ip:somehost|fox:|file:/dir/somefile.txt
In this example, the “ip” scheme is used to identify a host machine. The “fox” scheme specifies a session to that machine usually
on a specific IP port number. Finally, the “file” scheme identifies an instance of a file within the “somehost” file system.
– ip:somehost|fox:1912|station:|slot:/Graphics/Home
In this example, the “ip” scheme is used to identify a host machine using an IP address. The “fox” scheme specifies a session to
that machine usually on a specific IP port number. Finally, the “station” and “slot” schemes identify a specific component in the
station database.
– local:|module://icons/x16/cut.png
This example illustrates a special case. The scheme “local” which always resolves to BLocalHost.INSTANCE is both a host
scheme and a session scheme. It represents objects found within the local VM.
34 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 1 About the Niagara Fra
Types of schemes
A scheme is a globally unique identifier which specifies, in Niagara, how to find a piece of code to lookup an object.
• ip
The “ip” scheme is used to identify an Ip Host instance. Ords starting with “ip” are always absolute and ignore any base that may
be specified. The body of a “ip” query is a DNS hostname or an IP address of the format “dd.dd.dd.dd”.
• fox
The “fox” scheme is used to establish a Fox session. Fox is the primary protocol used by Niagara for IP communication. A “fox”
query is formatted as “fox:” or “fox:<port>”. If port is unspecified then the default 1911 port is assumed.
• file
The “file” scheme is used to identify files on the file system. All file ords resolve to instances of javax.baja.file.BIFile. File queries
always parse into a FilePath. File ords include the following examples:
– Authority Absolute: “//hostname/dir1/dir2”
– Local Absolute: “/dir1/dir2”
– Sys Absolute: “!defaults/system.properties”
Sys absolute paths indicate files rooted under the Niagara installation directory identified via Sys.getBajaHome().
– User Absolute: “^config.bog”
User absolute paths are rooted under the user home directory identified via Sys.getUserHome(). In the case of
station VMs, user home is the directory of the station database.
– Relative: “myfile.txt”
– Relative with Backup: “../myfile.txt”
• module
The “module” scheme is used to access BIFiles inside the module jar files. The module scheme uses the “file:” scheme's
formatting where the authority name is the module name. Module queries can be relative also. If the query is local absolute then it
is assumed to be relative to the current module. Module queries always parse into a FilePath:
– module://icons/x16/file.png
– module://baja/javax/baja/sys/BObject.bajadoc
– module:/doc/index.html
• station
The “station” scheme is used to resolve the BComponentSpace of a station database.
• slot
The “slot” scheme is used to resolve a BValue within a BComplex by walking down a path of slot names. Slot queries always
parse into a SlotPath.
• h
The “h” scheme is used to resolve a BComponent by its handle. Handles are unique String identifiers for BComponents within a
BComponentSpace. Handles provide a way to persistently identify a component independent of any renames which modify a
component's slot path.
Due to our policy of continuous product innovation, some specifications may change without notification. 35
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 1 About the Niagara Fra Getting Started with Niagara
• service
The “service” scheme is used to resolve a BComponent by its service type. The body of the query should be a type spec.
• spy
The “spy” scheme is used to navigate spy pages. The javax.baja.spy APIs provide a framework for making diagnostics information
easily available.
• bql
The “bql” scheme is used to encapsulate a BQL query.
Types of space
Space defines a group of objects that share common strategies for loading, caching, lifecycle, naming, and navigation. Following
is a list of some of the different types of space:
• component
• file
• hierarchy
• history
• module
• orion
• station
• view
Types of files
In the file system, you may create and edit various types of files. Following is a list of some of the different types of files that
reside in the file space:
Figure 20: Types of files available from the New menu
36 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 1 About the Niagara Fra
Due to our policy of continuous product innovation, some specifications may change without notification. 37
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 1 About the Niagara Fra Getting Started with Niagara
About views
There are many ways to visualize your system and its components. A “view” is a “visualization” of a component. One way to view
a component is directly in the Nav tree side bar. In addition, you can right-click on an item and select one of its views to display in
the view pane. You can see many different views of components. For example, a component that appears in the Nav tree may
have a Wire Sheet view, a Property Sheet view, and a Px View, that all display in the view pane. Each component has a default
view that appears whenever you activate a component (double-clicking, for example) without specifying a particular view.
Two AX views are available under the Views selector menu and the right-click pop-up menu: the AX Property Sheet view, and AX
Slot Sheet view. See the following figure.
Figure 21: AX views under Views selector
38 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 1 About the Niagara Fra
Optionally, you can use the Niagara 4 Property Sheet view which combines the functionality of the two views. When working in
this view, simply click the Slot Details toggle command (upper right) to display and edit slot sheet details, as shown in the next
figure. Enhanced functionality in this view also allows you to invoke actions and edit properties. Refer to the section “Plugin
Guides” for a comprehensive list of views.
Figure 22: Property Sheet view with enhanced functionality
About lexicons
Niagara provides non-English language support by use of lexicons. Lexicons are identified by two-digit Java locale codes, such as
“fr” (French) or “de” (German). All of the lexicons are distributed as modules (niagaraLexiconXx-rt.jar) included in the software
installation.
Niagara 4.0 requires that custom lexicon files be compiled as a module (.jar).
Due to our policy of continuous product innovation, some specifications may change without notification. 39
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 1 About the Niagara Fra Getting Started with Niagara
Formats (BFormat)
A Baja Format (BFormat), is a class that returns object strings using a standardized formatting pattern language (script). A
BFormat script consists of one or more calls chained together using the dot/period (.) operator. BFormat syntax requires that a
percent (%) character begin and end each script. Like a wildcard or a variable, you embed BFormat script in static text strings.
The system resolves the format (executes the calls contained in the embedded script) starting with the object that declares the
format. Then the embedded calls (instructions) dynamically resolve to objects, and the system converts the final object into a
string.
BFormats are very important for making templates (reusable portions of the data model Tree that require minimal configuration),
when creating Px views, and to enable localization (foreign language support).
In Niagara, many properties that allow text entry support BFormat scripts. For example, a formula can refer to multiple points by
using a Value Ord that contains BFormat script:
slot:/Drivers/NiagaraNetwork/%parent.name%/points/%name%
The system resolves the BFormat script in this example by substituting the name of the folder that contains the point for the
%parent.name%, and the name of the point for %name%.
40 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 1 About the Niagara Fra
Example scenarios
These example scenarios demonstrate how to configure text properties for which no default BFormat scripts exist.
Alarm extensions, history extensions, Px Widgets, and WeatherService provide good examples to illustrate the use of BFormat
scripts.
BFormat example: naming points, VAV scenario
This example uses the BFormat %parent.parent% script to name points in alarm extensions.
This example involves a driver network of VAVs for 60 zones using 60 identical devices, each with identically named proxy points,
but under a uniquely-named device component. For simplicity, assume that the devices are named: VAV1, VAV2, …to VAV60.
Several proxy points in each zone require an alarm extension. You could manually rename the points for all 60 devices (a task
that could take hours), or use BFormats to configure all VAV point names in a single operation.
Due to our policy of continuous product innovation, some specifications may change without notification. 41
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 1 About the Niagara Fra Getting Started with Niagara
• sourceName is a RoomTemp property. Instead of entering a value for this property on each of 60 property sheets, the
following BFormat script resolves to a unique name for each VAV in the alarm console:
%parent.parent.parent.parent.displayName% %parent,displayName%
This name contains two variable scripts separated by a space. The variable on the left resolves to four parent nodes in the tree
structure to arrive at the device name (VAVn). The variable on the right resolves to the proxy point name, in this example,
RoomTemp. In the alarm console the alarm source displays as VAVn RoomTemp, where n is a number between 1 and 60.
42 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 1 About the Niagara Fra
• toNormalText is a RoomTemp property that sets up a message when a point in alarm returns to normal. Instead of
entering a value for this property on each of 60 property sheets, the following BFormat script customizes the message
for each VAV:
%alarmData.sourceName% is OK now.
This script resolves to the VAV name.
• highLimitText is a RoomTemp property that sets up a message when the point returns a temperature above the defined
limit:
%alarmData.sourceName% is too HOT!
• lowLimitText is a RoomTemp property that sets up a message when the point returns a temperature below the defined
limit.
%alarmData.sourceName% is too COLD!
Note:
All the alarm text properties are relative to the alarm record component generated by an alarm, and not to the alarm extension
responsible for generating the alarm. Alarm text properties in the alarm extension OffnormalAlgorithm include:
• toNormalText
• toOffNormalText
These OutOfRangeExt properties override any entry in the toOffNormalText property of the alarm extension parent.
The location of these text properties in the alarm record means that you cannot use the %parent.displayName% script for the
alarm text properties, at least not if you expect to get any useful results. But because each alarm extension’s sourceName is now
unique (using the technique above), you can reference it within alarm text type properties, along with any desired static text.
Except here, the sourceName is an alarmData field, from the alarm record.
In the example, when RoomTemp in VAV1 triggers a high limit alarm, the alarm data message text displays:
VAV1 RoomTemp is too HOT!
When it returns to normal the alarm data message text displays:
VAV1 RoomTemp is OK now.
Due to our policy of continuous product innovation, some specifications may change without notification. 43
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 1 About the Niagara Fra Getting Started with Niagara
You could further modify the OffnormalAlgorithm high and low limit text properties to include the numerical (alarm) limit, using
another alarmData field. For example, if highLimitText is set to this BFormat script: %alarmData.source% is above
%alarmData.highLimit% degrees!, and the extension’s highLimit is set to 74.5, upon a high limit alarm the message text displays
VAV1 RoomTemp is above 74.5 degrees!. This technique may be useful if routing the alarm, for example, to a cellphone, where a
minimum amount of alarm data text, including only the timestamp and the message text, are needed.
Note:
To see what alarmData fields are available for use in this manner, go to a station’s alarm console and view the complete details
(Alarm Record popup) for any one alarm.
44 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 1 About the Niagara Fra
Instead of entering a value for this property on each of 60 property sheets, the following BFormat script resolves to a unique name
for each VAV:%parent.proxyExt.device.displayName%_%parent,displayName%
This name contains two variable scripts separated by an underscore.
• The variable script on the left of the underscore uses a special getDevice() method, where it resolves the proxy point’s
parent device name regardless of its folder depth under the Points extension. (In this example, proxy point RoomTemp is
in an Inputs point subfolder, while the Damper proxy point is in the root of the Points extension).
Because the points are located in different folders, the %parent.parent% script would work for RoomTemp, but not for Damper.
The folder-level-independent method, however, is more fault tolerant as a result of moving a proxy point, especially to change its
hierarchy.
• The variable script to the right of the underscore resolves to the proxy point name (RoomTemp and Damper)
Given the tree structure of this network, the resulting histories appear as VAV1_RoomTemp, VAV1_Damper, and if replicated,
VAV2_RoomTemp, VAV2_Damper, and so on.
Here is how this works:
%parent.proxyExt.device.displayName%, the parent, steps up one level to the Lon proxy point (say, RoomTemp).
The proxyExt is the slot name that walks back down the tree to a different child component, in this case to the LonProxyExt. The
device calls the getDevice() method, and the displayName calls the getDisplayName() method.
This example assumes that no other components in the station also have a VAV component with a RoomTemp child, which also
requires a history extension. Also, the example uses an underscore instead of a space even though spaces in object names are
permitted (history being one type of object), they are escaped in the database using a “%20” string. This can be confusing in
certain scenarios.
Due to our policy of continuous product innovation, some specifications may change without notification. 45
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 1 About the Niagara Fra Getting Started with Niagara
46 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 1 About the Niagara Fra
The ObjectToString, Format property determines the content of the displayed text. This property defaults to %.%, which displays
the bound component’s ord. In the example, a simple edit adds the words “Heating Mode:” in front of this default BFormat script.
For any point (or any component with an Out property), default text from the binding is identical to the out value displayed in the
component’s property sheet. The default text that is identical to the Out value includes facets, as well as the following information:
• If bound to a writable point, the Text Format contains three pieces of data, namely:
<value> <status> @priorityLevel>
where:
– <value> is
– <status> is {ok}, etc.
– @jpriorityLevel> is
For example: On {ok} @16 (a BooleanWritable) or 20% {ok} @12 (a NumericWritable)
• If bound to a read-only point, the Text Format provides two pieces of data, that is:
<value> <status>
For example:
Clean {ok} (a BooleanPoint) or 72.3 °F {ok} (a NumericPoint)
• If bound to a component that is not a point (there is no Out property), you must bind to a particular slot of that
component, in order to display text other than its component type.
For example, if you drag a DegreeDays component to a Px page, the system displays the default text: Degree Days. However, if
you change the binding’s ord to <objectName>/clgDegDays, the system calculates and displays the cooling degree-days value
(and status), such as: 5.0 {ok}
Text scripts for points
You can edit the Text Format property in any BoundLabel widget to include additional static text, and/or modify (or limit) the real-
time data in the text.
The following table provides a few example BFormatting scripts and results for writable points.
Text (BFormat) script Description Example 1 Example 2 (script and result)
%out.value% Value only (with facets). On AHU is %out.value%
AHU is On.
%out.status% Status including priority level, if {ok} @ 16 Status of AHU is %out.status%.
writable point. Status of AHU is {ok} @ 16.
%activeLevel% Number only (1-16, def) for 16 AHU is %out.value% at level %activeLevel%.
priority level, writable points only. AHU is On at level 16.
Due to our policy of continuous product innovation, some specifications may change without notification. 47
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 1 About the Niagara Fra Getting Started with Niagara
48 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 1 About the Niagara Fra
Due to our policy of continuous product innovation, some specifications may change without notification. 49
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 1 About the Niagara Fra Getting Started with Niagara
To display this information on a graphic you create a bound label that references the WeatherService and the applicable property.
For example, to display the forecast for today in Charlotte, NC, the referenced ord would be
station:|slot:/Services/WeatherService/Charlotte/day0.
Note:
The system uses the percentage symbol (%) To delimit scripts in format Text fields. To display this symbol as text, enter two of
them (%%).
BFormat errors
This topic covers a few example errors and considerations for dealing with errors.
Syntax errors
Not all attempts at customizing Format-type property values may be successful. If a syntax error causes the script to fail, an
ERROR or err:<item>, where <item> is the script value appears in the produced text. For example:
• If you forget a % on BoundLabel Text entry, say: Fan is %out.value, the system displays:
ERROR Fan is %out.value.
• Or, a script call to a misnamed slot might fail with a displayed error similar to:
ChwPump2 had %err:control:DiscreteTotalizerExt:changeOfStates% COS since last reset.
You should test all modifications to BFormat scripts, to make sure you get the intended results.
Security breeches
To prevent a BFormat scripts from calling an object and, in the process, unintentionally changing the state of the object, Niagara
maintains a BFormat blacklist of prohibited script call methods. By default, the methods listed here generate an error when any
attempt is made to execute them via a BFormat:
• Any method that returns void. No exclusions are allowed.
• All synchronous action calls (that is, doAction()) calls that return a BValue . Exclusions are allowed.
• Any call to the submit (Context) method on any subclass of BJob.
• Any call to the clear () method on BDaySchedule and BEnumSetSehcdule.
50 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 1 About the Niagara Fra
Any network component’s sourceName %parent.displayName% Often both properties work with these
AlarmSourceInfo slot. default values.
For a property value you can enter multiple BFormat scripts along with static text, as demonstrated by the defaults for a device’s
AlarmSourceInfo (sourceName) property in the table. A static space character separates the %parent.parent.displayName% from
%parent.displayName%. The subject property of the EmailRecipient contains static text (Niagara Alarm From) ahead of the
BFormat script (%alarmData. sourceName%).
BFormat scripts can save time by enabling the replication of applications, where you can achieve the desired result with minimal
custom edits to property values. You may still custom format specific text as needed.
Due to our policy of continuous product innovation, some specifications may change without notification. 51
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 2 About Workbench Getting Started with Niagara
52 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 2 About Workbench
Many of the menus are context-sensitive and only appear when certain views are active. In a station connection, the Quick
Search field displays on the right-side of the menu bar when the SearchService is installed on the connected station.
Tool bar — contains icons for typical interaction with the interface plus icons specific to the view currently in use. Hovering
the mouse pointer over an icon invokes a tool tip. The toolbar is the row of icons, just below the menu bar, that provides icons for
actions affecting the objects that appear in the view pane. Usually, toolbar icons provide single–click access to many of the most
commonly used features of the Workbench.
Figure 32: Toolbar
The primary icons ( in the above image) are always visible, Additional sets of icons are added to the toolbar when you select
certain views. For example, when the Wire Sheet view is active, the Delete Links icon and Zoom icons are available.
When an icon is dimmed, it is unavailable. Hovering the mouse pointer over a toolbar icon invokes a popup description known as
a “tool tip”.
Due to our policy of continuous product innovation, some specifications may change without notification. 53
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 2 About Workbench Getting Started with Niagara
Path bar (locator bar) — located just below the toolbar, this area contains the path or Ord for the current view.
Figure 33: Path bar
The left side of the path bar shows your current location (Ord or web address). The View selector appears on the right side.
The purpose of the path bar is to provide a graphical navigation field for selecting, displaying and entering destination references.
The path bar serves several functions:
• It updates automatically each time you select a new view, so that it shows you the Ord of each view.
• The system displays an Ord in a graphical row of icons, so that when you hover the mouse pointer over an icon (or click
on any icon) along that Ord, you can access any child node from the Ord’s graphical drop-down list.
• The path bar functions much the same as a browser address field, permitting you to enter an Ord or a URL. Click the
(Edit Path) icon to enter a different Ord or a web address (internal or external).
View selector — a context sensitive menu with options that allow you to quickly display different views of the information that
is currently in the view pane. This selector appears on the right side of the locator bar, just below the tool bar.
Figure 34: View selector
54 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 2 About Workbench
The options in the view selector differ, depending on the current view pane contents. For example, the view selector options that
are available when you are viewing the platform in the view pane are different from the options that are available when you are
displaying the Driver Manager view.
Side bar pane — left-side area displays one or more side bars that you may select from the Windows menu. For example you
might have the following open at the same time: Nav tree, Search side bar, and a module palette. For details, see the section,
“About the side bar panes”.
View pane — This pane, located on the right-side of the window, displays the currently selected view for the active tab. It is
the largest display area below the locator bar. Features of the view pane include tabbed views and a thumbnail view.
You may add multiple tabs to the pane by using the tab feature. To change the selected view, do one of the following:
• Double-click on an item in the Nav tree.
• Select a view or action from a Nav tree palette popup menu.
• Select an option from a menu or submenu.
• Select an option from the locator bar.
The thumbnail view, when active, appears in the top right corner of the Wire Sheet window. It helps you find your way around the
wire sheet.
Console — bottom area provides access to a command line prompt without leaving the Workbench environment.
To hide or show the console, select Window→ Hide Console or Window→Console from the menu bar.
Figure 35: Console
The console has scroll bars on the right side and the window size may be adjusted by dragging the top border bar. From the
console you may type in commands directly, including the help command for additional help.
Due to our policy of continuous product innovation, some specifications may change without notification. 55
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 2 About Workbench Getting Started with Niagara
Title bar — has standard Windows title bar features, including windows name and icons to minimize, maximize, and close.
Double-click the title bar to toggle between maximized and a sizable window.
You may create additional windows after starting Workbench. All have these basic features:
Scroll bars — appear in window and window pane areas (side bar, view, or console) when some content portions are not
visible. They are along the right and/or bottom portions of a window or pane.
Simply drag a scroll slider (highlighted area) to scroll quickly. Or, click an ending scroll arrow to move in incrementally.
Border controls — as needed, drag any outside border to resize the entire window. Drag the inside border between the side
bar and view areas, or (if shown) the console area to change their relative sizes.
Status bar — at the bottom left of the Workbench window is a status bar.
The status bar displays tool tips for icons in the toolbar and for buttons in views. When working in views other details are
displayed in the status line as well.
56 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 2 About Workbench
Due to our policy of continuous product innovation, some specifications may change without notification. 57
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 2 About Workbench Getting Started with Niagara
Right-clicking in the Nav tree side bar without selecting a component displays a very short (two-item) popup menu. Selecting a
component in the Nav tree side bar displays a much longer popup menu.
Figure 39: Wire sheet popup menu
Right-clicking on the Wire sheet displays a popup menu with different options.
While most menu options are self-explanatory (Cut, Copy, Paste, etc.), all menu options are documented in the reference section
of this guide.
58 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 2 About Workbench
Live Updates: The “play” icon, available for the History Table view, starts Live Updates (On Demand) updating. The icon
changes to a “pause” icon while Live Updates is active.
Data parameters: These controls include Delta (for history logging) and Time Range settings.
Delta: Useful for history logging, displays value changes (delta) in your table.
Time range: The dropdown option list has a variety of predefined time range options, including an option that allows you
to restrict your data presentation to a particular date and time range that you specify.
Title bar: Displays the name of the data collection on the left side of the title bar and in some tables (collection table,
history table, alarm extension manager, and others) displays the total number of records in the table on the right side of
the title bar.
Column headings: Each column of data has a title that indicates the data type.
Column boundaries: Each column has a movable column boundary that can be used to re-size the column using the
mouse control. Stretch or shrink column width by dragging the column boundary, as desired. Use the Reset column
widths menu item to reset all column widths to their default size.
Table Options: Located in the upper right corner of the table, the dropdown list provides one or more of the following
controls and options:
• Reset column widths — sets all columns in the table to their default widths. This is useful if you manually
changed widths of columns, and now some contents are hidden (even after scrolling).
• Export — opens the Export dialog box where you can choose to export the table to PDF, text, HTML, or CSV
(comma separated variable).
• Context-sensitive menu items — additional context-sensitive menu items appear depending on the component
that you are viewing.
Due to our policy of continuous product innovation, some specifications may change without notification. 59
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 2 About Workbench Getting Started with Niagara
60 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 2 About Workbench
Chart view
The Chart view (shown below) is the default view for History records in Workbench and in Hx, and a secondary view on schedules
and Enum, Numeric, and Boolean points. Legacy charts, those created in earlier releases, are available as secondary History
Chart views on History records.
Figure 41: Chart view description
Numeric histories and points Render as lines with interpolation, display as a line chart.
Numeric schedules Render as discrete lines with no interpolation, display as a line chart.
Boolean and Enum points Render as shaded areas referred to as “swim lanes,” displayed as a shaded chart. Opacity of
the swim lanes fill is based on the ordinal of the Enum.
Boolean and Enum schedules Render as shaded areas referred to as “swim lanes,” displayed as a shaded chart. Opacity of
the swim lanes fill is based on the ordinal of the Enum.
Due to our policy of continuous product innovation, some specifications may change without notification. 61
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 2 About Workbench Getting Started with Niagara
Different types of data (Numeric and Boolean or Enum) can be combined on the same chart. In that situation, the swim lanes
representing Boolean and Enum data display with a dimmed opacity to allow you to more clearly view the lines representing the
numeric data. Also, you can modify the default chart type of one or more components in a chart. For example, you can set a
Boolean writable point to display bars while the data for another component plots a line.
The interactive Chart view allows you to make modifications while a chart is rendering. For example, while viewing a chart you
can add one or more points, history records, schedules, or even containers of data. When adding data to a chart, the Y-axis
automatically adjusts the units and can accommodate different units of measure by displaying multiple Y-axes. On a chart
containing data with three or more different units of measure, such as that shown below, the display still shows dual Y-axes. You
can switch the units displayed on the secondary Y-axis by clicking on the dimmed axis label.
For example, on the left-side Y-axis in the figure below, the dimmed % symbol indicates an alternate Y-axis with percent as the
unit of measure. Clicking that % symbol switches the Y-axis units from displaying degrees to percent.
You can alternatively hide or show specific data or even completely remove data from a chart. Additionally, chart settings permit
you to customize the appearance of a chart via selectable data colors and chart type per component, axis orientation, data source
zooming, as well as permitting you to turn on or off the chart grid, background color, data popups, and status colors.
Figure 42: Multiple Y-axes accommodate data with different units of measure
Web charts utilize standard Niagara status colors to indicate current status. As shown in the chart below where the Status
Coloring command is invoked, a red dot indicating Alarm status marks each plot in the Ramp line while an orange dot indicating
Fault status marks each plot in the FaultHistory line. Also, status colors shown in the Fixed Data Popup dialog confirm the status
of charted data.
Shade and Bar charts also display status colors. When enabled, if there is a non-ok status a color band at the top of the shaded
area or bar indicates the status.
Figure 43: Line chart displaying status colors
62 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 2 About Workbench
Chart commands
Options in the Chart view Command Bar allow you to fine tune data presentation.
Figure 44: Command Bar
Most options in the Command Bar provide fine tuning for viewing purposes. Changes made with those options are of a temporary
nature, not included when the chart is saved or exported. For example, if you turn on Time Zoom and Delta via buttons in the
command bar and export the chart. When opened, the chart file displays default settings for those options. Exceptions are
changes made with the Time Range, Sampling, and Status Coloring options, which are included on export or save.
Save Available only when you open an existing chart file and make
changes.
Save — saves file (chart or csv format) to Station space:
Files/charts/chartName.chart or Files/csv/chartName. csv
Export Actions tab Available in a new chart and when you open an existing chart file.
• File Name • File Name — componentName (default) or type other name
• Destination using normal file-naming conventions
• File Type • Destination (Workbench) — StationExports file to station File
Options tab space Files/charts/chartName.chart or
Files/csv/chartName.csv
• View On Export • Destination (Web Browser) —
• Status Column – Download — exports file to operating system user’s file
space, for example: C:
\Users\userName\Downloads\chartName.chart
– Station— Exports file to station File space. For example,
Files/charts/ chartName.chart
– Print — launches browser Print dialog. Optionally, you can
scroll to the bottom of the print dialog and click the link to
“Print using system dialog”
• File Type — chart (default) or csv
• View On Export — Displays exported file
• Status Columns — Available only for csv exports, exported file
includes status data
Due to our policy of continuous product innovation, some specifications may change without notification. 63
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 2 About Workbench Getting Started with Niagara
64 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 2 About Workbench
Chart settings
Options in the Chart view Settings dialog allow you to make data presentation changes that are of a persistent nature, meaning
the changes are retained when the chart is exported or saved.
Due to our policy of continuous product innovation, some specifications may change without notification. 65
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 2 About Workbench Getting Started with Niagara
Series tab
Settings Options Description
Color Color block assigned to Change default data color by clicking color block and selecting
each component different color via Color Picker.
Chart type • Line Line — plots a smooth line with interpolation. The default chart type
• Discrete line for Numeric points and histories.
• Shade Discrete line — plots a “stepped” line without interpolation.
• Bar
Shade — plots shaded areas, known as “swim lanes,” representing
state change. The default chart type for Boolean and Enum points.
Bar — plots vertical bars. Samples data into common intervals
based on available width, When you have more than one
component in a chart using bar chart type, they become a Bar
Group, where the individual bars are adjacent (no space between).
Clicking on a Bar Group selects the entire group and the values for
all components in the group are shown in the Fixed Data Popup.
While the mouseover Data Value Popup shows the value of a single
component.
See the figure below.
66 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 2 About Workbench
Axis tab
Settings Options Description
Y-Axis Orientation • left Aligns Y-axis of primary data set to the left or right side of the chart.
• right (default)
Data Zoom Scope • primary (default) Sets the Data Zoom Scope to primary or all.
• all Primary — zooms to the X-axis of the primary data set only. If the
primary data set is numeric, it zooms on the Y-axis.
All — changes the X-axis to accommodate all available data, including
live data as it is recorded.
Show Grid • true (default) Turns on/off the chart grid.
• false true — grid displays in chart behind data.
false — grid does not display.
Background Area Color • on Turns on/off the Background Area Color for the current theme.
• off (default) On — background area color displays in chart behind data.
Off — background area color does not display.
Layers tab
Due to our policy of continuous product innovation, some specifications may change without notification. 67
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 2 About Workbench Getting Started with Niagara
Sampling tab
Settings Options Description
Auto Sampling • true (default) Enables/disables automatic sampling optimizations.
• false • true — automatically begins sampling if the focused data set
exceeds 2500.
• false — automatically stops sampling if the focused data set is
below 2500.
Sampling Type • average (default) average — samples average values for the selected rollup period.
• min min — samples minimum values for the selected rollup period.
• max
• sum max — samples maximum values for the selected rollup period.
sum — samples the total of the values in the selected rollup period.
Sample Size 2500 (default) Specifies the number of points in the data set to sample.
Note that the default auto sampling size is configurable in the
system.properties file.
Available Data Points Read only Displays the maximum number of points in the data set that are available
to sample.
Sampling Period Read only Visible only once sampling has begun, displays the calculated average of
the amount of time between each of the points that have been sampled.
68 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 2 About Workbench
Data parameters
– Delta reporting option: This option is useful for history logging, when you want to display value changes (delta) in
your report.
– Time range option list: This list has a variety of predefined time range options, including an
option that allows you to restrict your data presentation to a particular date and time range that you specify.
Live Updates
Click the icon to start Live (on demand) History plotting. The icon changes to a “pause” icon while Live History plotting is active.
Chart Title
This area of the chart displays the name of the chart. This title is editable in the chart builder view.
Y Axis
This displays units for the vertical axis.
X Axis
This displays units for the horizontal axis.
Charted Values
The color of the line and type of line is editable in the Chart Builder view.
Tool Tip
When you hover the mouse pointer over the history chart, a “tool tip” displays the date, time, and value of that location in the
chart. The values are defined by chart axes and not the values of the actual data points.
Due to our policy of continuous product innovation, some specifications may change without notification. 69
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 2 About Workbench Getting Started with Niagara
Note:
This export function works only with charts that are using a single history. Multiple histories do not export in a usable format.
Export View opens the Export dialog box where you can choose from a number of export options, as shown here.
Figure 48: Export View options
70 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 2 About Workbench
Step 1 In the Nav tree under My File System, expand SysHome/ defaults/workbench/newWidgets. bog.
Step 2 Open the kitPx palette.
Step 3 Drag and drop the BoundLabel widget onto the newWidgets.bog file. The Bound Label option is immediately available in
the New popup submenu.
Due to our policy of continuous product innovation, some specifications may change without notification. 71
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 2 About Workbench Getting Started with Niagara
When you select a tab (make it active), the locator bar shows the current path and view. Also, the menu and tool bars update to
show appropriate options for the current view.
Only one tab may be active at a time. In addition to simply clicking on a tab to make it active, you can select File → Next Tab
from the menu bar to move to the next tab, moving left to right. Also, you can move to the last tab by choosing (from menu bar)
File → Last Tab.
From the view of the active tab, you can copy items, select another tab, and then paste them into that view. You can also drag
items into an active view from the (Nav or Palette) side bar.
Opening a new tab
You can use tabs to help organize and selectively display information in the view pane. Workbench allows you to create multiple
tabbed views.
Step 1 Open a new tab in the view pane by any of the following methods:
• Use the keystroke combination: Click Ctrl + T.
• From the menu bar, select File→ New Tab.
• If tabs already exist, right-click on a tab and select New Tab from the popup menu. A new tab (identical to the previous
one) opens in the view pane.
72 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 2 About Workbench
Closing a tab
Closing a tab removes the tab from the view pane.
Step 1 To close the active tab in the view pane, use any of the following methods:
• Click (Close icon) located in the upper-right corner of the view, just below the View drop-down list.
• Right-click a tab and choose Close Tab to close that tab
• Right-click a tab and choose Close Other Tabs to close all tabs except that tab.
• From the menu bar, choose File→ Close Tab.
The currently active tab no longer appears.
Due to our policy of continuous product innovation, some specifications may change without notification. 73
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 2 About Workbench Getting Started with Niagara
General options
General options include settings for a variety of Workbench display and behavior options.
Figure 52: General Workbench options
Note:
The Time Format and Unit Conversion parameters affect values that are displayed when connected to a station using
Workbench—regardless of the User preferences (set under User Manager). The User preferences that are set under the User
Manager are in effect when connected to a station by a browser.
• Time Format: Choose from a format option to set the way that time values are displayed by default.
• Unit Conversion: Choosing the English or Metric option converts values that are displayed in Workbench to the chosen
unit type. Selecting None leaves units in the state that is assigned at the point facet.
• AutoLogoff Enabled: Setting this parameter to True will activate the AutoLogoff feature. When activated, the AutoLogoff
feature will automatically log off a user from a platform when there is no activity detected in Workbench for the period
specified in the AutoLogoff Period field. Setting this parameter to False will disable the Auto-Logoff feature.
• AutoLogoff Period: Time until Workbench logs off a user when AutoLogoffEnable is set to True.
• Prompt For Name On Insert: When set to True, Workbench displays a Name dialog, when a new item is added to the
workspace.
• Font Size: Choose between Normal and Large font options for Workbench display.
• Active Theme: Choose between Zebra or Lucid “built-in” theme options for Workbench display. See the section, “About
Workbench themes”.
• Allow User Credential Caching: If set to true (default), Workbench client access of a host (platform) or station allows a
checkbox option to Remember these credentials in the popup Authentication dialog. If selected, the connection
credentials are then cached and available in the Workbench Credentials Manager (Tools→ManageCredentials).
This is a convenience mechanism. However, for security best practices it is recommended to globally disable user credential
caching by setting this property to false. This way that option is unavailable in the Authentication window. For related details, see
the section, “Credentials manager”.
• Locale: Specifies the locale used by the Workbench VM, typically with a two-digit (ISO 639) code. Earlier the Workbench
locale had to be specified in the !lib/system.properties file.
74 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 2 About Workbench
Due to our policy of continuous product innovation, some specifications may change without notification. 75
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 2 About Workbench Getting Started with Niagara
The highest priority (priority 1) is assigned the color of the High Priority Color setting. The Mid-Priority and Low Priority colors are
assigned likewise, to Mid and Low Priority alarms. Alarm priorities that fall between these priority levels are assigned colors on a
color-scale along a path defined by the three assigned colors.
• Time Zone Display: This property allows you to choose to display alarm record timestamp values in the time zone of the
alarm console view (Console) or in the time zone of the alarm source (Source).
• Alarm Class Mapping: Provides a way for you to create alarm classes and map specific alarms to classes.
• Alarm Ack Responses: Use this property to create one or more text entries that you can use to populate the Notes dialog
box when acknowledging an alarm. When the Notes Required on Ack is set to true, the Notes dialog box displays an
additional option list containing any entries you create with this property. Use the button to open the associated Edit
dialog box and add, edit, or remove response options, as desired. When the Notes Required on Ack is set to false, these
Alarm Ack responses are not visible.
• View Instructions: When set to true, this property causes the alarm Instructions pane to display across the bottom of the
Alarm Console. Instructions display in the pane for any single selected alarm that has associated instructions.
76 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 2 About Workbench
Due to our policy of continuous product innovation, some specifications may change without notification. 77
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 2 About Workbench Getting Started with Niagara
Bajadoc options
Baja reference documentation includes both Java API details as well as Baja slot documentation.
Figure 57: Bajadoc options
• Show Baja Only: When set to True displays only the reference documentation for slots (Properties, Actions, and Topics).
When set to False, documentation on the Java constructors, methods and fields is also displayed.
• Flatten Inheritance: This option allows you to flatten the inheritance hierarchy into a single set of documentation. When
set to False only the Java members and Baja slots declared in the specified class are displayed. When set to True, all
Java members and Baja slots inherited from super classes are also shown.
78 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 2 About Workbench
• File Pattern Exclude List: Use this option to set a pattern filter that excludes any specified file types from being copied
with the station.
• Directory Pattern Exclude List: Use this option to set a pattern filter that excludes any specified directories from being
copied with the station. For example, if you wanted to exclude copying all directories in the station that begin with the
letters “lighting”, then you could type “lighting*” in this field.
• Copy options: (Remote Station Alarm Data, Remote Station History Data): These properties allow you to choose to copy
(true) or not copy (false) certain station data.
Px Editor options
These options offer ways to customize the presentation and behavior characteristics of the Px Editor view. The Px Editor options
are shown and described in the following list:
Figure 59: Px editor options
Due to our policy of continuous product innovation, some specifications may change without notification. 79
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 2 About Workbench Getting Started with Niagara
• Show Grid: This property sets the default condition of the Px editor grid. Select true to make the grid visible by default or
select false to make the grid hidden by default. Either setting may be changed at any time using the PxEditor menu.
• Grid Size: This property sets the size of the grid in the Px editor.
• Grid Color: This property sets the color of the grid in the Px editor. Click in the color field to display the Color Choose
dialog box. Use the Color Chooser to set the color that you want to assign to the grid.
• Use Snap: This property sets the default condition of the Snap feature in the Px editor. Select true to make objects snap
to locations when they are at a distance equal to the Snap Size. Select false to disable the snap feature. Either setting
may be changed at any time from the PxEditor menu.
• Snap Size: Set an integer value in this field to define the interval between successive snaps.
• Show Hatch: This property sets the default condition of the Px editor hatching that displays on objects on the Px editor
canvas. Select true to make the hatching visible by default or select false to make the hatching hidden by default. Either
setting may be changed at any time using the PxEditor menu.
• Hatch Color: This property sets the color of the hatching in the Px editor. Click in the color field to display the Color
Choose dialog box. Use the Color Chooser to set the color that you want to assign to the Px editor hatching.
• Preserve Identities: When set to true, this property allows you to explicitly turn on support for encoding all names and
handles on a Px page.
• Animate Bindings: This option, true by default, allows the Px Editor to display live binding data for widgets in Px Edit
mode. If you set this option to false, then no data animation occurs in the Edit mode, although animation does occur, as
expected, in View mode.
80 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 2 About Workbench
Figure 61: Workbench Differences between built-in themes: Zebra (left) and Lucid (right)
Due to our policy of continuous product innovation, some specifications may change without notification. 81
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 2 About Workbench Getting Started with Niagara
To change the Workbench theme, click Tools→Options to see the active theme in the General tab. Click the Active theme drop-
down arrow and click on a different theme option to select it as shown above. In order for the theme change to take effect, you
must exit Workbench and restart it.
Note:
To save changes made in Workbench Options, such as a theme change, you must close/exit Workbench using File menu options
or click the window’s close box. Closing Workbench in the console will not cause those changes to be saved.
82 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 3 Data and Control Model
In any Niagara station (Supervisor or controller) all real-time data are normalized within the station database as points, a special
group of components. Each point represents one data item.
• To complete a link, click and drag from the point of origin to the desired In or Out slot of the target object and release
the mouse button.
• Drag a wire from the selected object to a vacant slot on another wire sheet object.
Due to our policy of continuous product innovation, some specifications may change without notification. 83
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 3 Data and Control Model Getting Started with Niagara
84 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 3 Data and Control Model
Step 2 To define one or more selected objects as a link source or link target, select the Link From command.
This command opens the Link dialog box with the “marked” object as the source object. You can still change source and target
roles in the dialog box using the Reverse button .
Step 3 To define one or more selected objects as a link source or link target, select the Link To command.
This command opens the Link window with the “marked” object as the target object.
You can still change source and target roles in the dialog box using the Reverse button .
Figure 66: Source and target roles
Due to our policy of continuous product innovation, some specifications may change without notification. 85
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 3 Data and Control Model Getting Started with Niagara
Viewing links
The link highlighting option (enabled by default) is available on the wire sheet. Link highlighting makes it easier to distinguish links
on a crowded wire sheet.
Step 1 Select a component on the Wire Sheet.
All links associated with the selected object display with a colored outline around them.
Figure 67: Link highlighting
Note:
Highlighted links do not mean that the LINK is selected.
Step 2 Hold the shift key and select another component.
Subsequent link highlights display a different color highlighting (the system uses up to 20 colors before repeating).
Step 3 To customize the colors, edit the system.properties file (in the Nav tree lib folder, under MyFiles→ Sys Home).
You specify each color using the standard hexadecimal notation used for HTML color display.
Editing links
You can edit a link directly from the wire sheet view using an Edit Link window, without having to go to the source component’s
Link Sheet view.
Step 1 To open the Edit Link window, right-click a single link (not multiple links or knob links) and select Edit Link from the
popup menu. The Edit Link dialog box displays, as shown below.
Step 2 Use the property fields to change any of the following link property values: Source Ord, Source Slot Name, Target Slot
Name, or Enabled and click OK.
Figure 68: Edit Link window.
86 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 3 Data and Control Model
Step 2 Select the Relate From command to define one or more selected objects as a relation source or relation target.
This command opens the Relation dialog with the “marked” object as the source object. Select a tag from the dropdown list.
Step 3 Select the Relate To command to define one or more selected objects as a relation source or relation target.
This command opens the Relation dialog box with the “marked” object as the target object.
Zoom controls
Complex wire sheets can be difficult to manage. The zoom controls let you magnify and reduce the screen images as needed.
Figure 70: Zoom controls in the Wire Sheet view
Zoom controls (buttons) appear on the Workbench tool bar when the Wire Sheet view is active.
• To enlarge the view, click the plus magnifying glass.
• To reduce the view, click minus magnifying glass
• To reset the view to its original size, click the empty magnifying glass.
Due to our policy of continuous product innovation, some specifications may change without notification. 87
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 3 Data and Control Model Getting Started with Niagara
Step 3 Enter a desired maximum value (in pixels) in the Max Width and Max Height fields and click OK.
Link navigation
Link knobs provide easy navigation.
Figure 72: Link Selection menu
• Off-view linking
Double-clicking on the knob hyperlink at the opposite end of the link, displays the Wire Sheet view with the linked knob
highlighted.
• Goto Link command
Right-clicking on the knob displays a GoToLink command on the popup menu. Selecting this command links to the component on
the opposite end of the link, displaying that component’s Wire Sheet view with the linked knob highlighted.
88 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 3 Data and Control Model
The framework supports eight simple control point components. Each reflects a combination of a data (value) category and a
point type. You can find these points in Points folder of the control palette.
The four categories apply to simple point components as well as to other components (for example, weekly schedules). These
categories are the following:
• Boolean, which represents a binary value with only two states, such as off or on.
• Numeric, which represents an analog value, such as a temperature, level, rate or similar floating point number, or a
varying count (integer). The system uses double-precision (64 bit) values.
• Enum, which represents an enumerated state (more than two), such as a multi-speed fan with states off, slow, and fast.
Enums are often called multi-states or discretes. States typically derive from established integer value/state name pairs.
• String, which represents one or more ASCII characters (and if alpha-numeric), often with some literal meaning.
Due to our policy of continuous product innovation, some specifications may change without notification. 89
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 3 Data and Control Model Getting Started with Niagara
• A writable version, which represents a data item that can be changed, as well as read (usually by the station). These
types are: BooleanWritable, NumericWritable, EnumWritable, and StringWritable.
An array of 16 InN inputs, each with a different priority level, is available to write a writable point’s value. By default, the point’s
value can also be set with an operator-issued action (right-click command), available at priority levels 8 (override) and 1
(emergency). For more details, see the section “About point actions”. Writable points also have other features. See, “About
writable points”.
Other point components are found in both the kitControl palette. Briefly, these components include:
• Extensions, which expand a given point’s functionality. As needed, you can add one or more extensions to a point, each
as a child of that point. Extensions add functionality in a modular fashion.
• Time triggers provide periodic actions. These objects do not represent data, but, instead, they regularly fire a topic.
• Other control objects are found in various folders of the kitControl palette. They provide station control logic based on
data obtained from points. Example objects include numeric math objects, Boolean logic objects, and a PID loop, among
others.
90 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 3 Data and Control Model
An action is a slot that defines a behavior. Some other control objects and extensions also have actions. In the case of the four
writable control points, default actions include the ability to:
• Override the point at priority levels 8 (override) and 1 (emergency override), where control can be independently set or
“auto’ed” at either level. A level 8 override can be for defined (or custom) length duration, as specified in the action’s
popup window.
• Set the value of the point’s Fallbackproperty.
Often, you modify a writable point’s default actions.
Due to our policy of continuous product innovation, some specifications may change without notification. 91
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 3 Data and Control Model Getting Started with Niagara
By default, a Permanent override is the first choice in the drop-down list, the override value will remain effective until the next time
this action is “auto’ed”. Other timed durations are available, including a Custom selection in which a user specifies a duration in
hours, minutes, and seconds.
If needed, you can limit the maximum duration of manual override using facets.
After clicking OK, the override action is issued to the point. If this is the highest effective priority level, the writable point operates
under this control. If this is a timed override, the action is automatically “auto’ed” upon expiration of the override period.
92 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 3 Data and Control Model
From the set action prompt, a Cancel leaves the current Fallback property unchanged. Otherwise, the Fallback property is set to
the value entered (or currently displayed value).
Note that the set action prompt does not display (or accept) a null value for Fallback. However, a Fallback value of “null” can be
entered from the point’s property sheet.
A common application for this feature is with NumericWritables used as setpoints, particularly under a NiagaraNetwork. As
Niagara proxy points are always read-only points (not writable types), yet inherit any actions of the source point, this feature
provides user access to setpoints via Px graphics without creating additional proxy points. In particular, this “set” action is
designed to work well with SetPoint type widgets (found in the kitPx palette).
Note:
Each of the four constant kitControl components also provides a set action that works in a similar manner, including with kitPx
widgets. However, a constant object (NumericConst, BooleanConst, etc.), has no priority inputs or Fallback property—the set
action simply writes directly to the component’s current Out slot.
Due to our policy of continuous product innovation, some specifications may change without notification. 93
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 3 Data and Control Model Getting Started with Niagara
Display names
By default, action display names are generic (“Emergency Inactive” and so on). You can change the display name for any action.
From the slot sheet, click on an action’s Display Name for an editor. When you change a display name from defaults, it appears in
listed in bold.
Figure 78: Editing action display names from slot sheet
When a user invokes an action, the popup menu lists possible actions by more meaningful descriptors. For example, you could
change the “set” action display name from “Set” to “Set Fallback.”
94 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 3 Data and Control Model
Action access
By default, for any writable point, all actions are available to any admin-level user, and all actions except emergency-level ones
are available to an operator-level user. As needed, you can selectively “hide” actions (from any level user), or change default
permissions for actions.
Note:
From a Px widget, you can also disable Px access to a bound writable point’s actions, by setting the “popupEnabled” binding
property of the widget to false. In this case, access to the point’s actions would still be available from the point’s property sheet or
in the wire sheet, unless otherwise changed from its slot sheet.
From the slot sheet, do this by editing the action’s config flags. Right-click the Action, and select Config Flags as shown in the
next figure.
Figure 79: Editing config flags of action to “hide” or change permission level
In the Config Flags editor, you click to assign or remove config flags. For action slots, the following flags are most often changed:
• Operator
If checked, only operator-level access is needed to invoke the action. If cleared, admin-level access is needed.
• Confirm Required
If checked, a second (confirmation) dialog appears after the action is invoked, before the action executes. An example
confirmation dialog is shown below. By default, this flag is cleared.
Figure 80: Action confirmation dialog (from “Confirm Required” config flag)
• Hidden
If checked, the action does not appear (is hidden) from the action popup menu for any user. You may wish to do this selectively
for some actions, for example, the “set” action for Fallback access. (Note that a user with admin-level rights to the point may still
access the point’s slot sheet.)
As previously noted, starting in AX-3.6, the Batch Editor lets you modify a slot’s config flag on multiple points in one operation.
Due to our policy of continuous product innovation, some specifications may change without notification. 95
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 3 Data and Control Model Getting Started with Niagara
In this case a BooleanWritable’s default trueText facet is “true”—to modify you simply click to select, then type over with whatever
text is needed. For example, change “true” to “On” and “false” to “Off”. When done click OK and then click Save to make the
actual point change.
Optionally, in addition to modifying existing facets, you can add or remove facet values in a point. On many points you may only
modify or provide new values for default facets. In the case of writable points, you can add a facet to limit override duration (see
“Maximum override duration facet”).
Note:
For string-type points (StringPoint, StringWritable), facets typically have little practical application. By default, the Facets slot is
empty for string-type points.
96 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 3 Data and Control Model
In the Enum window when adding an entry, the Add button becomes available after you enter an integer value in the left side
Ordinal box as shown below. Type in the associated text in the right side Tag box, and then click Add to add to the facet’s range.
Click OK when done, also OK on any remaining pop-ups.
Figure 83: Type unique integer value in Ordinal box and associated text in Tag box
Due to our policy of continuous product innovation, some specifications may change without notification. 97
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 3 Data and Control Model Getting Started with Niagara
If using lexicons, in the “Lexicon Module Name” field you can enter the module name of a configured lexicon (for example, control
or kitControl) if Tag strings match lexicon “keys” in that lexicon file. In this case, enumerations will display the lexicon strings
(values) for those ordinals instead of the tag text.
When defining range enumerations, instead of defining a custom one with your supplied ordinals and tags text, you can also
select from well known “frozen” enumerations, as defined in various installed modules. A checkbox enables this and provides a
drop-down list for you to select by module and enumeration type.
Figure 84: Frozen enum selection in Enum window
Depending on the driver/network type, the Point Manager under a device may automate this facets range configuration when you
add enum-type proxy points. For example, under a Lonworks device, if you add a EnumPoint for a Lonworks NVO that uses an
enumerated SNVT, that point’s facets will automatically be configured with the correct range values.
Note:
If an enum-type point receives an input value not included in its defined facets range, it displays the ordinal integer value for that
input. This varies from the multistate objects used in r2 Niagara, which would display “Error” for any value not defined in its
“stateText” entries.
Effect of facets on point actions
For some points with actions (see the section, “About point actions”), facets also affect availability in the point’s action (command)
menu.
• EnumWritable
Upon an override or emergency action, a secondary drop-down selection lists the possible enum values (in its range), using
display tag text. This list appears ordered top-to-bottom by the tag associated with each ordinal, lowest-to-highest.
• NumericWritable
Upon an override or emergency action, an entry window permits a value only between the facets “min” and “max” values,
inclusive. By default, these facets values for numeric-type points are min=-inf and max=+inf (no effective range checking for an
action).
For example, you could use this facet’s feature with a NumericWritable that sets a temperature control setpoint, by setting its
facets min= 65 and max=85. After saving this change, any override or emergency action issued to that NumericWritable would
need to fall within this range. Otherwise, a user would see a message showing the acceptable range, and be prompted to try
again.
Note that Facets “min” and “max” values do not affect any received input values or proxied data, only what can be issued via an
action.
98 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 3 Data and Control Model
If needed, change this by adding a “maxOverrideDuration” facet (choosing type baja:RelTime), with specified duration time, to
either or both:
• Config, Sys Info property
• Any writable control point
Note that Override limits affects operator overrides (level 8) only, as emergency level overrides (level 1) are always unlimited in
duration. In other words, an emergency level override lasts until an emergency level “auto”.
Figure 86: Config Facets editor when picking maxOverrideDuration
When a writable point is limited by a maxOverrideDuration facet, its action menu adjusts to show the allowable range.
For details about editing facets see the section, “Accessing and editing facets”.
Due to our policy of continuous product innovation, some specifications may change without notification. 99
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 3 Data and Control Model Getting Started with Niagara
Adding this facet on the Sys Info property acts a global limit (station-wide) to a manual override action to all control points that do
not have their own “maxOverrideDuration” facet.
Any writable control point
Each writable control point in the station can have a separately specified maximum override duration. If this facet is present, it
overrides any global (Sys Info) maxOverrideDuration value.
Figure 88: Added maxOverrideDuration facet added at point level (overrides global setting)
As shown, this maxOverrideDuration facet can be added along with any other facets in use by the control point. The example
BooleanWritable point above already had configured facets for trueText and falseText.
100 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 3 Data and Control Model
Note if a system user attempts to invoke a “Custom” override over the specified maxOverrideDuration limit, an error popup
appears that shows the override duration range as shown below.
Figure 90: Custom override attempt over maxOverrideDuration limit produces error popup
As shown above, the allowable duration range appears in [brackets], in this case [1ms - 1hour].
Due to our policy of continuous product innovation, some specifications may change without notification. 101
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 3 Data and Control Model Getting Started with Niagara
If a point has multiple extensions, they are processed in the same top-to-bottom order that they appear listed in that point’s
property sheet. You can re-order extensions in a point from the top of the point’s property sheet, or on the point’s icon in the Nav
sidebar, right-click and select Reorder.
Note:
If needed, you can also select and expose extension properties (for linking convenience) on the point’s glyph by using the
Composite editor of the parent point. For more details, see the section, “About composites”.
102 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 3 Data and Control Model
Due to our policy of continuous product innovation, some specifications may change without notification. 103
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 3 Data and Control Model Getting Started with Niagara
There are relatively few types of control extensions. The following table lists all available control extension types and the
applicable point parents.
Control extension type Applies to point types What it does
(palette:Folder)
(read-only) Writable
DiscreteTotalizerExt BooleanPoint BooleanWritable Accumulates runtime and change
(control:Extensions) EnumPoint EnumWritable of state (COS) count. Extension
actions permit resetting (zeroing)
— any object with single the runtime and COS count.
Boolean Out, e.g. kitControl:
Logic object “And”
ProxyExt Standard for any point. See the section, “About the Provides methods to driver
(control:Extensions) proxy extension”. communications.
104 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 3 Data and Control Model
Due to our policy of continuous product innovation, some specifications may change without notification. 105
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 3 Data and Control Model Getting Started with Niagara
The following table lists all history extension types and the applicable point parents.
History extension type Applies to point types General description
(read-only) Writable
BooleanChangeOfValue BooleanPoint BooleanWritable Collects upon each change of
— any object with single Boolean value (state) or status.
Boolean Out, e.g.
kitControl: Logic object type
“And”
BooleanInterval as above as above Collects upon a repeating time
interval, as configured.
NumericChangeOfValue NumericPoint NumericWritable Collects upon each change of value
— any object with single (outside a specified tolerance) or
Numeric Out, e.g. change of status.
kitControl: Math object type
“Add”
NumericInterval as above as above Collects upon a repeating time
interval, as configured.
EnumChangeOfValue EnumPoint EnumWritable Collects upon each change of
— any object with single enumerated state or status.
Enum Out
EnumInterval as above as above Collects upon a repeating time
interval, as configured.
StringChangeOfValue StringPoint StringWritable Collects upon each change of string
value or status.
— any object with single
String Out
All history extensions have an Update History action available. This popup menu item provides a way to refresh the History Id
after a rename. It applies the formatting property (as designated by enclosing % signs) of the Name Format field to the Id of the
History Config Id. For example, if the History Name property under a history extension is set to %parent.name%, then the History
Config Id is initially named based on this parent display name. However, if you rename the parent component, the History Config
Id property does not automatically or immediately change. The Update History Id action invokes a renaming of the History Config
Id based on the formatting property, so if the parent component (in this example case) is changed, the Update History Id action
changes the Id property and, if different from the history name, it results in a change in the history name as well.
106 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 3 Data and Control Model
Due to our policy of continuous product innovation, some specifications may change without notification. 107
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 3 Data and Control Model Getting Started with Niagara
108 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 3 Data and Control Model
alarm white text, Point currently has a value in an alarm range, as defined by property in its alarm
red background extension.
fault black text, Originates from a proxy point only. Typically indicates a configuration or licensing
orange background error. If it occurs after normal operation, it may indicate a “native fault” in device,
or the point’s parent device has a fault status.
overridden black text, Current point control is from an action, meaning a user-invoked command at either
magenta background priority level 8 (override) or priority 1 (emergency).
disabled gray text, Originates from a proxy point only. Point (or its parent device or network) has
light gray background been manually disabled (property enabled = false).
down black text, Originates from a proxy point only. Driver communications to the parent device are
yellow background currently lost, based upon the device status (Monitor) configuration for that
network.
stale black text, Originates from a proxy point only. Driver communications have not received a
tan background requested response for this data item within the configured times (Tuning period).
null (no color indication) Current point control has entered a null state, vs. a specific value and priority
level. Typical to fallback operation for a writable point.
NOTE: If linking a null status Out to a “simple data” slot, the point’s “null value” is
processed.
unackedAlarm (no color indication) Last point alarm event has not yet received user acknowledgment. Point’s alarm
extension uses alarm class requiring acknowledgment.
Due to our policy of continuous product innovation, some specifications may change without notification. 109
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 3 Data and Control Model Getting Started with Niagara
110 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 3 Data and Control Model
For the duration of the override, the linked Average object will also have an overridden status, as will the Reset object, and so on.
However, note that the linked writable point (NWcombined) in this example does not have overridden status; status never
propagates to any point.
Note:
Before using this feature in an actual job, you should test and evaluate results to be sure it has the desired effect. For example, if
a Logic or Math object is exposed in a graphic and appears overridden, a user may (incorrectly) assume that they can right-click
command (perform an action) on that kitControl object, based on status color indication.
Due to our policy of continuous product innovation, some specifications may change without notification. 111
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 3 Data and Control Model Getting Started with Niagara
112 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 3 Data and Control Model
Due to our policy of continuous product innovation, some specifications may change without notification. 113
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 3 Data and Control Model Getting Started with Niagara
114 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 3 Data and Control Model
About composites
Currently, a composite is something that Workbench allows you do to virtually any component in a station, notably control points
and objects, and even folders that contain control logic. When you make a composite, you expose slots of child components in
the glyph (object shape) of that parent (composited) component. This can simplify linking and promote reuse of control logic.
Note:
• Composites have associated issues. See “Composite issues”. For now, you should avoid making folder composites in
your control logic, and instead use the composite feature only at the point/object level to expose extension slots (if
necessary).
• If you are familiar with Niagara r2, the composite concept is similar to “Bundle” or “Composite” objects, only more
flexible. You can expose slots in containers many levels down, for example.
When you composite a component (say a control point, meaning its contents), you select specific slots in child components (say,
properties and/or actions of its extensions) to be “exposed” in the “shape” of that point. Then, when looking at that point in the
wire sheet view of its parent folder, you can see exposed properties of children as linkable slots (and/or available actions).
Due to our policy of continuous product innovation, some specifications may change without notification. 115
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 3 Data and Control Model Getting Started with Niagara
Point-level composite
The following image shows a proxy NumericPoint representing a space temperature value that has two extensions:
• an alarm extension (OutOfRangeAlarmExt)
• a history extension (NumericInterval)
Figure 98: Property sheet of proxy point with two extensions
In this example, when another system-related BooleanWritable (representing the system fan) has a false (Off) status, it is desired
that this temperature point be:
• disabled from alarming, and
• disabled from continued history collection
To achieve these “disable” functions, you must link the controlling source fan out to a slot of each extension (visible in point’s wire
sheet view, but not in the parent wire sheet for the point itself). Furthermore, other kitControl objects needed. Without making a
composite, the necessary objects and links may appear.
Figure 99: Proxy point example without composite
Notice that when looking at the proxy NumericPoint in the wire sheet of its parent folder, it is not apparent that this point has
linked extensions.
By making a composite of the NumericPoint (acting as the container for both the extensions plus the additional kitControl objects)
you can simplify reuse and clarify available links. The following image shows the now-composited NumericWritable linked to the
controlling BooleanWritable, and the wire sheet view of the NumericWritable that contains the needed kitControl objects.
116 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 3 Data and Control Model
In this example, the exposed input slots in the composite were renamed from “In” to “almInhib” and “histStop” respectively, to
clarify what each does. When looking at the Composite Editor for this example NumericPoint, it appears.
Figure 101: Composite Editor for example NumericPoint
Due to our policy of continuous product innovation, some specifications may change without notification. 117
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 3 Data and Control Model Getting Started with Niagara
Folder-level composite
This topic provides a simple example of three Math objects chained together.
Figure 102: Simple example of folder before compositing
The objects are located in a LogicA folder. Together, they perform a Celsius to Fahrenheit conversion. A NumericWritable is also
shown linked to the first Math object to test.
If this application was needed later, you could copy all tjree linked objects again and insert them in another (perhaps already
crowded) wire sheet. However, the middle “Multiply” object reveals an intermediary result that is distracting.
Or, you could just create a new subfolder with only the three linked objects and then link directly to the child objects as needed.
However, it would not be obvious from the parent’s wire sheet that links to children in that folder were established.
It would be better to encapsulate this into a single object with only a single input (degrees F) and single output (degrees C). You
can do something like this by compositing the parent container, in this example, folder FolderA.
In this case, you would want to delete the link from the test NumericWritable first, and then open the Composite Editor for the
parent component FolderA. The Composite Editor lets you expand the tree of all contained components and “expose” those items
of interest.
Figure 103: Launching and using the Composite Editor
118 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 3 Data and Control Model
In this example, only the “In A” of the first math object and the “Out” of the third math object is selected to be exposed. The
Composite Editor provides a tree pane showing slots of points and objects (by clicking the expand controls), and a slot is exposed
by simply double-clicking it. Other controls in the editor are available to rename, remove, reorder and reverse exposed items, but
are not used here.
After clicking OK to perform the composite, the item composited (in this example, LogicA) shows exposed slots when viewed in its
parent’s wire sheet. The following image shows the test NumericWritable now linked to the composited LogicA folder.
Figure 104: Example LogicA folder showing exposed input and output
You could later reopen this folder’s Composite Editor and rename the exposed properties differently, perhaps “inDegF” and
“outDegC” to make the purpose of the composited folder clearer. This would not affect the three (child) math objects in any way.
Composite issues
Although composites can simplify linking and make understanding logic flow easier, they always introduce performance issues.
Perhaps the biggest issue is that once you link a dynamic value to a composite, for example the “out” of a proxy point, it
essentially “pinned” into the “subscribed” state. This means that proxy point will always be polling (regardless of any other usage).
In addition, each item exposed in a composite represents a link, where each link consumes some small amount of station
resources. If used excessively, composites could noticeably reduce the total capacity of the station.
Due to our policy of continuous product innovation, some specifications may change without notification. 119
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 4 About Workbench Tools Getting Started with Niagara
This section describes some of the standard tools available in Workbench. These tools provide views that are designed to
facilitate specific tasks – from managing credentials to monitoring alarms. All of the tools described are available from the Tools
menu. However, navigational links to some them also appear in the Nav side bar and in the Nav Container views.
When you first open Workbench, the My Tools node will not be present in the Nav tree. Therefore, if you configure a tool, such as
the BACnet service tool, all the configuration data are lost when you close the current session. Tools, such as the Alarm Portal,
BACnet service, Lonworks service, and the Workbench Job Service are available when you do not have a station open. This is
provided as a convenience and may only be useful in a limited number of situations. For example, you would probably use the
Job Service, BACnet service, and Lonworks Service under the Services node of a specific station.
120 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 4 About Workbench Tools
Alarm Portal
The Alarm Portal tool allows you to view and acknowledge alarms from many different stations using a single viewer (portal).
Figure 105: Alarm portal
To set options for the alarm portal, click the Tools→Options menu, as described in the section, “Alarm Portal options”.
Due to our policy of continuous product innovation, some specifications may change without notification. 121
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 4 About Workbench Tools Getting Started with Niagara
Bacnet Service
Following is an example of the Bacnet Service property sheet. Select Tools→ BACnet Service from the Workbench main menu to
add this service to the My Tools node of the Nav tree.
The default view is the property sheet view.
Figure 107: Bacnet service property sheet view
Note:
You can use this Workbench Tools service to configure a local Bacnet device in the same way as you would under a station.
However, any configuration that you do using the Workbench Bacnet Service (under the My Tools node) will be lost when you
close Workbench. Use Bacnet Service under a station to save your Bacnet Service settings to a database.
Security management
Two tools are available in Workbench to manage and sign PKI (Public Key Infrastructure) certificates.
You use the Certificate Management view to secure communication within a NiagaraNetwork. Certificates secure TLS
connections to the host.
You use the Certificate Signer Tool to sign intermediate digital certificates.
122 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 4 About Workbench Tools
Lexicon Tool
This tool controls the text of the user interface. You can use it to translate the user interface. See the section, “About lexicons.
Check boxes at the top of report view allow you to “hide” values that could affect “missing” status counts.
This view lets you add (new) lexicons, delete unwanted lexicons, or search all available lexicon property values that contain a
given text. Additionally, you can double-click any module row in the table to launch the Lexicon Editor view, which shows the
contents of that lexicon file.
Due to our policy of continuous product innovation, some specifications may change without notification. 123
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 4 About Workbench Tools Getting Started with Niagara
At the top of this view, you can search for specified text on the lexicon property Key, the property Default, or the custom Value.
Clicking any row in the table populates the Key field. At the bottom of the view, clicking the Add New Key button enables the Key
field, as well. The Value text field allows you to modify the value of the selected key (or add a value for a new key). Starting in AX-
3.7 the Value field has associated Color Chooser and Ord Chooser buttons. These options allow you to browse for a specific color
or ORD element. Update the table with the Value field entry by clicking the Update Value button. Write changes to the lexicon file
by clicking the Save button in the Niagara toolbar.
124 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 4 About Workbench Tools
In this view there are text fields for defining module information, a Browse button that allows you to locate existing lexicon
modules, a selection table of available lexicon files that can be selected for inclusion, a check box to delete source files after the
build is completed, and a Build Module button to initiate the build.
On completion of the build, you will see a confirmation message indicating that the module was constructed and placed in the
!modules folder.
You can select modules to migrate from anywhere in the PC file system. By default, the destination for migrated lexicon files is
the Workbench user home. However, you can change the destination by selecting an alternate location.
Note:
For any modules that are new in Niagara 4.0, such as webEditors, etc., you need to build new lexicon modules using the Lexicon
Module Builder view.
Due to our policy of continuous product innovation, some specifications may change without notification. 125
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 4 About Workbench Tools Getting Started with Niagara
As shown, this view lets you browse and manage the contents of your “local license database”.
This view provides a two-pane window into all the license files and parent “host ID” folders, where
• Left pane provides tree navigation, where you can expand folders and click (to select) license files.
• Right pane shows the text contents of any selected license file.
Buttons at the bottom of this view provide a way to manage the contents of your local license database, and are described as
follows:
• Import File: Always available, this allows you to add license file(s) from a local license file or license archive (.lar) file.
• Export File: Always available, this allows you to save all licenses (or any selected licenses) locally, as a license archive
file.
• Delete: This allows you to delete licenses from your Niagaralocal license database.
• Sync Online: Typically available if you have Internet connectivity. This lets you update all licenses (or any selected
licenses) in your local license database with the most current versions, via the online licensing server.
126 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 4 About Workbench Tools
Due to our policy of continuous product innovation, some specifications may change without notification. 127
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 4 About Workbench Tools Getting Started with Niagara
The Logger Configuration view is the main view for the Workbench Logger Configuration tool, as well as for the station
DebugService.
Figure 113: Logger Configuration view
Logs for the connected station are visible in the platform Application Director view. While logs for Workbench are visible in a
Niagara console started with Workbench.
The logs are persisted each time they are changed, since the changes are saved to the logging.properties file.
The “ROOT” log category is essentially a default log level. If any log is set to severity log level "default" then it uses the same
configured severity level selected for the Root of that particular log. For example, the following diagram setting alarm to the
default log level means that the alarm log level has been set to warning (the configured level of default row).
Figure 114: Alarm log
Both Local (Workbench ) Spy and Remote ( Station ) Spy can be accessed via Workbench by right-clicking the station
in the Nav tree. Only Remote ( Station ) Spy can be accessed via a web browser using the url:
http (s)://<ip address>:<port number>/ord?spy:
128 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 4 About Workbench Tools
Due to our policy of continuous product innovation, some specifications may change without notification. 129
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 4 About Workbench Tools Getting Started with Niagara
Refer to the Lonworks Guide for details about using this view and about the following:
• Need for custom Lon Xml files
• Lon Xml file overview
• Lon Xml creation
• Storing .lnml files
• Differential temperatures and lnml file edits
Lonworks Service
The Lonworks Service is applicable if your Workbench PC has a Lonworks adapter. You can view it by selecting Lonworks
Service from the Tools menu. It provides the identical “LonNetwork” access as if you had a local (PC) station running.
Figure 116: Lonworks Service tool in Workbench
For example, you can use the Lon Device Manager to discover, add, and upload Lon devices, examine nvs and ncis as
LonComponents, and even perform writes and do other configuration (make bindings between devices, commission devices,
etc.).
130 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 4 About Workbench Tools
Note:
• Any configuration you perform is not stored (persisted) in a station database, as this is “station-less” access (modeled
completely in RAM). When you close Workbench, all modeling is lost, consider the Lonworks Service like a “hand held
device” in this respect.
For this reason, do not use this tool to access a Lonworks network already managed by a station, but instead open that station,
and access its LonNetwork.
Credentials manager
The Manage Credentials tool, or Credentials Manager provides a window to access and open any previously “remembered”
(cached) connections from your Workbench, including both platform and station connections.
Figure 117: Manage Credentials dialog (credentials manager)
You can also remove or reset any cached credentials. Note that your credentials cache is populated whenever you have the login
(Authentication) dialog option “Remember these credentials” (check box) enabled.
Figure 118: Authentication (Remember credentials)
The available caching of credentials is a convenience feature, such that you can simply open the platform or station later by
entering only the IP address, or simply clicking on that host’s dimmed platform or station in the Nav tree of Workbench, or going
to the credentials manager. Then, the login authentication dialog has the cached credentials already entered, and you simply click
OK.
If you want tighter security for any platform or station connection from your Workbench PC, you should clear this check box
whenever opening (logging on) a platform or station. Furthermore, you should remove any related entries using the credentials
manager. This way, that platform or station connection always requires full entry of both user name and password.
Due to our policy of continuous product innovation, some specifications may change without notification. 131
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 4 About Workbench Tools Getting Started with Niagara
Note:
You can globally disable user credentials caching in Workbench via Tools→Options, in the General menu. When Allow User
Credentials Caching is set to false, the Remember these credentials checkbox remains unavailable (dimmed) in any
Authentication dialog.
Figure 119: Authentication dialog
132 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 4 About Workbench Tools
Due to our policy of continuous product innovation, some specifications may change without notification. 133
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 4 About Workbench Tools Getting Started with Niagara
This wizard is provided as a convenient way to perform some of the steps necessary for creating a driver module. The four wizard
dialog boxes allow driver developers to specify some basic driver module options and finish with the wizard creating a set of
folders and files under a station directory that you assign during the wizard process.
134 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 4 About Workbench Tools
This wizard creates a set of folders and files under a station directory that you assign during the wizard process. After creating
these files, you need to finish the process, as described in “Working with modules”.
Due to our policy of continuous product innovation, some specifications may change without notification. 135
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 4 About Workbench Tools Getting Started with Niagara
When creating a new station, if you enter a station name identical to that of an existing station, the wizard alerts you that the
station exists and prompts whether or not you wish to delete the existing station. The functionality gives you an opportunity to
change the new station name, if you wish, or confirm that you intend to delete the existing station.
The wizard also performs entry validation on the password fields in the second dialog, alerting you to errors. By default, the
system requires “strong passwords”. In order to comply, values entered in the Admin Password and Admin Password Confirm
fields must be identical and meet the following password criteria:
• at least 10 characters
• at least 1 digit
• at least 1 lowercase character
• at least 1 uppercase character
136 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 4 About Workbench Tools
The options for which action to take when you click Finish are determined by whether and how you have made platform
connections to localhost before. One or more of the following options are presented:
• Open it in user home: Selected by default, on completion the station is created in your Niagara User Home directory and
a property sheet view of the station’s config.bog displays.
At this point the new station exists only in your User Home directory (your Niagara User Home) and not in the User Home of the
local Niagaraplatform daemon.
• Copy it to the platform for “localhost” with Station Copier: On completion, the station is created in your Workbench User
Home directory. Then you are prompted to login to make a local platform connection. After you login, the Station Copier
starts the transfer (copy). After the station is copied, the Application Director opens with the new station visible in the
daemon’s User Home.
At this point the new station exists in two locations: on your local host (in your Workbench User Home) and also in the Niagara
platform daemon User Home.
Note:
If you make any changes to the station now (while it is running on the platform daemon User Home), it is a good idea to copy the
station back to your Workbench User Home so that you have a local copy of the updated station. This is useful if you plan to
install it on any remote platform.
• Close the wizard: On completion, the station is created in your Workbench User Home directory, the wizard closes, and
an alert dialog appears notifying you of successful station creation.
Figure 124: Default station templates contain configurable Foxs and HTTPS Port parameters
In cases where the selected station template contains exposed (configurable) parameters, those are included as editable fields on
the second wizard dialog, such as the port parameters indicated in the above image. This gives you the opportunity to modify
those values as needed to complete the configuration for your new station.
Both of the default station templates (controller, supervisor) have these two port configuration parameters. However, you can
make a station template that provides different parameters or none at all. Whether the wizard dialog displays alternative
parameters, additional parameters, or no parameters is determined by the station template. If there are parameters they display in
this space. When there are more parameters than the space allows, a scroll pane appears.
Due to our policy of continuous product innovation, some specifications may change without notification. 137
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 4 About Workbench Tools Getting Started with Niagara
138 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 4 About Workbench Tools
Due to our policy of continuous product innovation, some specifications may change without notification. 139
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 4 About Workbench Tools Getting Started with Niagara
If the new Station Template selected in Step 1 contains any exposed configurable properties, such as the ports indicated in the
above image, this dialog presents those properties allowing you to modify the values as needed.
c. Select an option for the preferred action on completion.
d. Click Finish.
The New Station Wizard closes. If this is the default option, open it in user home, is selected (as shown in the above image) a
Property Sheet view of the new station config.bog file displays.
140 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 4 About Workbench Tools
Step 1 In the Nav tree, right-click on the station’s Config node and select Make Station Template to open the Template view.
Figure 128: Make Station Template
Step 2 In the Template view, click each of the tabs to edit the station template as needed.
a. On the Template Info tab, fill-in desired information about the template, as shown in the next figure.
Figure 129: Template view
b. On the Component tab, make desired changes for the default station template.
c. On the Configuration tab, add configurable parameters as needed. For example, to add the Foxs Port:
i. In the left pane, expand Services→FoxService→Foxs Port
ii. Double-click Public Server Port to add it to the right pane.
iii. Change the default value as needed and click Set Value.
iv. Click Rename and change the name to “Foxs Port”.
Note:
The value entered into the stationTemplate for the exposed property becomes the default value upon creating a new station.
Due to our policy of continuous product innovation, some specifications may change without notification. 141
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 4 About Workbench Tools Getting Started with Niagara
Note:
Any exposed component properties defined in the template displays as configurable parameters in the New Station Wizard when
this template is used.
d. On the Graphics tab, make desired changes for the default station template.
Step 3 When finished modifying the template, click Save.
The new station template is saved in the ~stationTemplates sub-directory of your Workbench User Home.
Also, the station template is immediately available for inclusion in the Workbench New Station Wizard, where your template
appears as a selectable option in the Station Templates table.
Figure 131: Workbench New Station Wizard Station Templates
Note:
It is not necessary to restart Workbench in order for the user-defined station template to appear in the New Station wizard. The
file simply needs to be saved to the ~stationTemplates directory.
142 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 4 About Workbench Tools
Request License
The Request License option on the Tools menu simply opens a “Bind License form” in your Workbench PC’s default browser. By
default, the only pre-filled field in this form is the host ID of your PC.
Figure 132: License request form in browser (from Workbench, Tools > Request License)
Typically, your Workbench PC is already licensed. Otherwise, you would not be able to successfully start Workbench, and then
select Request License from the Tools menu.
However, you could use this as quick method to request a license for another PC on which you have installed Niagara. In that
case, you could substitute (type in) the host ID for the other PC in this form, along with other pertinent information.
Due to our policy of continuous product innovation, some specifications may change without notification. 143
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 4 About Workbench Tools Getting Started with Niagara
Resource Estimator
The Resource Estimator tool is available from the Tools menu. Use it as a worksheet to help you estimate the total number of
station resources that you will use in a projected station implementation. The resource estimator view is shown in the next figure.
Figure 133: Resource estimator view
144 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 4 About Workbench Tools
To use, select a time zone and type in a year in the Year field.
Press Enter to update the “DST Starts” and “DST Ends” time fields.
To use, select a source time zone and a target time zone, and specify a source time. Initial default is the current time.
Todo List
The Todo List is available when you select it from the Tools menu. This tool is provided to help you with organizing, prioritizing
and tracking tasks in Workbench. The Todo list view is shown in the next figure.
Figure 137: Todo list view
The Todo list is a tabular view with standard table controls and options, as described in “Table controls and options”. You can use
this tabular list to create new lists or edit, group and rearrange existing lists and items in your lists. In addition, you can use the
filter fields at the top of the display to filter what you see in the table, based on your summary description or group.
Due to our policy of continuous product innovation, some specifications may change without notification. 145
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 4 About Workbench Tools Getting Started with Niagara
Note:
Workbench jobs are jobs that are initiated and run under the Workbench, not under a station. Jobs that are run under a station are
monitored and displayed in the Station Job Service under the station Services node in the nav side bar.
The Workbench service manager is a tabular view with standard table controls and options, as described in “Table controls and
options”. From this view you can Start, Stop, or configure any of the listed services to Auto-Start.
146 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 5 Component Guides
Due to our policy of continuous product innovation, some specifications may change without notification. 147
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 5 Component Guides Getting Started with Niagara
alarmRdb-RdbAlarmService
RdbAlarmService provides a means for using an RDBMS to store alarm records instead of using the default alarm database
(^\alarm\alarm.adb). This is different than exporting histories to an RDBMS. When you use the rdbAlarmService, it replaces the
use of the station’s default alarm database.
backup-BackupService
The BackupService provides for complete configuration backups to a WorkbenchWorkbench PC or a browser PC (user with Wb
web profile). By default, the BackupService is included when you create a new station using the New Station wizard. The target
host (JACE, Supervisor) must have the backup module installed.
The default view of a station’s BackupService is the BackupManager, which provides a Backup button to manually initiate a
backup. A backup automatically performs a local station save first, and is run as a standard station Job. This means each backup
provides a progress bar, and upon completion, a popup notification. Under the station’s JobService, any backup appears as a
“Fox Backup.”
About a backup dist
A backup is saved as a dist file (a zipped format) including minimally the station’s config.bog, current station console output (.txt
file), and backup.log file. If other station file types and subfolders are not excluded (in the BackupService configuration), the
backup dist file contains them too, for example, files of type: px, nav, html, jpg, png, and so forth.
Also, the backup dist contains the zipped “nre-config” for that host (including license and certificates files), as well as pointers to
the installed “nre-core,” OS, and JVM, each by version. Essentially, a backup dist provides a “configuration snapshot” of the entire
JACE platform in zipped “dist” file format. This allows for a complete image restoration.
148 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 5 Component Guides
Note:
• Be careful to keep backup dist files in a secure location. They have always contained sensitive information, for example
a station’s config.bog file. They also may contain sensitive host platform information. In update releases (AX-3.7U1), this
includes unique “key ring” files used for client password encryption.
Not included in a backup is runtime data that is actively managed by the station, such as the alarm and history databases. This
data should be “backed up” using standard alarm routing and history archiving to a Supervisor host.
The default backup destination depends on your station connection, as either:
• Workbench(Fox) — !backups: A subdirectory backups under your Niagara release directory. If you have not previously
made station backups, this directory is automatically created.
• Browser access (Wb Web Profile) — !backups: A niagara\wbapplet\backups folder under your Windows user profile
location, for example:
– Windows 7: C:\Users\John\niagara\wbapplet\backups
– Windows XP: C:\Documents and Settings\John\niagara\wbapplet\backups
If you have not previously made station backups, this directory is automatically created.
The default name for a backup file uses a format of: backup_stationName_YYMMDD_HHMM.dist
For example, backup_demo_130412_1429.dist for a backup made of station “demo” on April 12, 2013 at 2:29 pm.
Restoring a backup
To restore a backup dist from Workbench, you open a platform connection to the JACE, and then use the platform Distribution
File Installer to install a backup dist file.
• Restoring from a backup may be necessary if the host failed in some manner, to allow recovery (to the same hardware,
or to replacement hardware).
• Another usage is to install the same backup dist file on multiple hosts, such that each host (typically JACE) has the
identical configuration, including station database. When performing these “replicated” host installations of a backup
dist, the platform Distribution File Installer allows you to choose if TCP/IP settings from the backup dist should be
restored (the default is to not). Typically you do not, as TCP/IP settings must be unique on each host.
Due to our policy of continuous product innovation, some specifications may change without notification. 149
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 5 Component Guides Getting Started with Niagara
BackupService configuration
Configuration lets you define the file types and/or folders not included in a station backup. The service’s property sheet provides
the following properties for configuration:
Property Value Description
Enabled [general] true or false Activates and deactivates use of the function.
Exclude Files string of names (each Specifies file types to exclude from the backup dist, either by name or
delimited by a semi- extension. By default, the following files are excluded:
colon (;) *.hdb;*.adb;*.lock;*backup*;console.*;config.
bog.b*;config_backup*
Exclude directories string of Ords with Ord Specifies station subdirectories to exclude from the backup dist, using
Chooser control relative ORD syntax. An Ord Chooser control provides a Directory Chooser
window in which to select station subfolders. By default, the following
subfolders are excluded: file:^history, file:^alarm
Offline Exclude string of names (each Specifies file types to exclude from the backup dist, when the station is
Files delimited by a semi- stopped on the source host, either by name or extension. By default, the
colon (;) following files are excluded: *.lock;
*backup*;console.*;config.bog.b*;config_backup*
Note that History (*.hdb) and alarm (*.adb) files are backed up, unlike with a
running backup.
Offline Exclude string of Ords with Ord Specifies station subdirectories to exclude from the backup dist, when the
Directories Chooser control station is stopped on the source host. Directories are specified using
relative Ord syntax. An Ord chooser control provides a Directory Chooser
dialog in which you can select station subfolders. By default, no directories
are excluded, unlike with a running backup.
baja-FoxBackupJob
This component appears as a child of the JobService and displays the following properties relative to the save job:
• Job State
Which of the following states the backup job is in currently: unknown, running, canceling, canceled, success, failed.
• Progress
A percentage 0) of progress toward completing the job.
• Start Time
Displays the time that the job started.
• Heart Beat Time
Displays the time of the last indication that the job is alive.
• End Time
Displays the time that the job ends.
Note that all jobs in a station are cleared upon a station restart.
150 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 5 Component Guides
baja-Category
Each Category represents a custom logical grouping, and has a unique category index number. You can assign components,
files, and histories to one or more categories. All categorizable components have a CategorySheet view, which shows you that
component’s stored category memberships (CategoryMask).
Categories reside under the station’s CategoryService, which has views CategoryBrowser and CategoryManager. Categories play
an integral role in station security, where you can give users permissions for some (or all) categories.
Due to our policy of continuous product innovation, some specifications may change without notification. 151
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 5 Component Guides Getting Started with Niagara
baja-CategoryService
This service is the station container for all categories, which represent logical groupings to which you can assign components,
files, and histories. It is located in a station's Services container.
The default view of this service, the Category Browser, lets you centrally assign different objects to categories, using an
expandable tree view of the station. The CategoryService also provides a Category Manager view, for you to create, edit and
delete categories. Categories play an integral role in station security, where you can give users permissions for some (or all)
categories. By default, the CategoryService is included when you create a new station using the New Station wizard.
Primary properties
Figure 140: CategoryService property sheet
In addition to being the container for child categories, the CategoryService has only one slot, Update Period.
Property Value Description
Update Period hours minutes seconds Sets the interval at which the system automatically assigns ancestor
permissions. The default value is one (1) minute. If you assign a zero value,
the system disables this feature.
152 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 5 Component Guides
Mode
Fault Cause text Read-only field. Indicates why the network, component, or extension is in fault.
Index integer Sequential number that identifies the property in the station.
Tag Query NEQL A NEQL query. This property is required when Type is Tagged Category.
Due to our policy of continuous product innovation, some specifications may change without notification. 153
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 5 Component Guides Getting Started with Niagara
baja-Component
Component is the required base class for all Baja component classes. The Component is available in the baja module.
Using Containers
Containers allow you to logically group components. The current container is the component that contains components in the
display window. A container may be selected as the current container by one of the following methods:
• Double-click the component in the Nav tree.
• Right-click the component in the Nav tree (which brings up a menu) and select a view.
• Right-click the component in a wire sheet (which brings up a menu) and select a view.
Container components include the following:
• Component can be used as a general container for components. It allows you to place components and links in a
container.
• Page is a special component used to created a map of name/Ref pairs as dynamic slots.
baja-DataFile
DataFile represents a data file in the file system of a session.
baja-Directory
Directory is used to represent directories in File space implementations.
baja-FileSystem
FileSystem is a File space for the local machine's file system.
baja-Folder
Folder is a special container designed to store components. The Folder is available in the baja palette.
baja-Format
Format (or “BFormat”) is used to format objects into strings using a standardized formatting pattern language. The format string is
normal text with embedded scripts denoted by the % percent character (use %% to insert a real %). A script is one or more calls
chained together using the . dot operator. Calls are mapped to methods using reflections.
154 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 5 Component Guides
baja-IpHost
IpHost is used to represent a host machine that is identified with an IP address. The hostname of an IpHost is either a name
resolvable via DNS or is a raw IP address.
• A blue square indicates active connection(s) from Workbench, for example, Fox (station) or platform.
• A red square indicates no active connections from Workbench.
baja-Job
A Job is used to manage a task that runs asynchronously in the background, but requires user visibility. Some example jobs
include:
• StationSaveJob — From a station save, either initiated manually or from the auto-save function
• FoxBackupJob — From a station backup (dist) to a remote PC, see the section “backup-BackupService”. Many drivers
also have various job types too. For example, the NiagaraDriver includes a StationDiscovery-Job and NiagaraScheduleLearnJob.
Every job finishes displaying one of the following status descriptors:
• Success — Job completed successfully.
• Canceled — Job canceled by user.
• Failure — Job failed to complete.
• Completed — Job completed.
Also, if you have the station open in Workbench, you see a momentary “notification popup” in the lower right corner of your
display.
You can monitor and cancel a job from within the particular view where you initiated it, or centrally from the JobServiceManager
view of a station’s JobService. You can also open a Jobs side bar to see all jobs in all opened stations.
Due to our policy of continuous product innovation, some specifications may change without notification. 155
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 5 Component Guides Getting Started with Niagara
baja-JobService
The JobService contains Jobs that were executed by different processes in the station. Each job appears as a child component.
By default, the JobService is included when you create a new station using the New Station wizard. The default view of the
JobService is the JobServiceManager.
Note:
All jobs in a station are cleared upon a station restart.
baja-LocalHost
LocalHost represents the root of the Baja local Host namespace. The LocalHost is available in the baja Module.
baja-Module
Module encapsulates a Baja software module which is packaged and delivered as a JAR file with a "meta-inf/ module.xml"
description. Modules are the basic unit of software deployment in the Baja architecture. Module names must be one to 25 ASCII
characters in length and globally unique. Modules are available in the Workbench ModuleSpace (named “My Modules” under “My
Host”).
For related details, see the section “About modules”.
baja-ModuleSpace
ModuleSpace is the container for modules, which are keyed by their module name. In Workbench this is MyModules under My
Host.
baja-Permissions
Permissions are a property used to define the permissions given to a user’s PermissionsMap.
baja-PermissionsMap
This component defines the security permissions to grant to a user.
Permissions are added as dynamic properties with the name matching a Category and the value an instance of permissions.
baja-PxView
PxView a dynamic view which may be added to components as a property or by overriding getAgents(). PxViews store the view
contents in an XML file with a px extension. The view itself is defined as a tree of bajaui:Widgets.
156 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 5 Component Guides
baja-ServiceContainer
ServiceContainer (Services) is the container used, by convention, to store a station’s services. The Service Manager is its primary
view. A ServiceContainer is included in any station created using the New Station tool.
baja-Spy
Spy is an object wrapper for an instance of Spy, with an available “SpyViewer” interface to view diagnostic information about the
running station.
baja-Station
Station (Config) represents the component configuration of a station in the Baja framework. The Station is available in a fox
connection to a Niagara host, along with its file space (Files) and histories (History).
Station Save
Save the current state of the system to persistent storage. You should regularly backup your station or stations using the Save
Action on the station.
baja-StationSaveJob
This component appears as a child of the job service and displays the following properties relative to the save job:
• Job State: indicates which of the following states the save job is in currently: unknown, running, canceling, canceled,
success, failed.
• Progress: indicates a percentage 0) of progress toward completing the job.
• Start Time: displays the time that the job started.
• Heart Beat Time: displays the time of the last indication that the job is alive.
• End Time: displays the time that the job ends
For related information, refer to the following:
• baja-Job
• baja-JobService
Note:
All jobs in a station are cleared upon a station restart.
baja-SyntheticModuleFile
(AX-3.7 and later) SyntheticModuleFile (synthetic module) is a synthetic Java archive (.sjar) that allows the creation of memory-
resident modules and types programmatically at station runtime. Synthetic modules differ from “standard” .jar (non-synthetic)
modules in a number of ways, and have a special default “Synthetic Module File View” for editing contents.
baja-UnrestrictedFolder
UnrestrictedFolder is a special container designed to store objects for use on a palette. Normal isParentLegal() checks are not
applied to UnrestrictedFolders. The UnrestrictedFolder is available in the baja palette.
baja-User
User is the component that represents a station connection, typically a specific person who needs to access the system. Users
are children of the station’s UserService. User components are also children of the UserService’s UserPrototypes container, to
allow “centralized user” support.
Due to our policy of continuous product innovation, some specifications may change without notification. 157
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 5 Component Guides Getting Started with Niagara
baja-UserPasswordConfiguration
UserPasswordConfiguration (Password Configuration) is a child container under each User component (and UserPrototype
component) in an AX-3.7 or later station. It contains properties to specify periodic password expiration for the user and to require
a password change (reset) upon the user’s next station login. The station’s UserService also has a related Password
Configuration child container.
Note:
These components are not available in a new station until it is started and saved.
baja-UserPrototypes
UserPrototypes is a frozen container on a station’s UserService. It contains a single frozen “Default Prototype” user, as well as
any additional users needed for support of “centralized users” in the station’s NiagaraNetwork.
baja-UserService
This service manages all system users: human and machine. You access it by right-clicking UserService and clicking
Views→Property Sheet.
The User Manager is its primary view of this service. The UserService is available in the baja module. By default, the UserService
is included when you create a new station using the New Station wizard.
Figure 141: UserService property sheet
158 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 5 Component Guides
Max Bad Logins Before number from 1 — 10 If lock out is enabled, in conjunction with the Lock Out Window, this
Lock Out (default is 5) property specifies the number of consecutive failed user login attempts that
trigger a lock out after a window of time.
Lock Out Window hours minutes seconds If lock out is enabled, and a user fails to log in successfully before the Max
(default is 30 seconds) Bad Logins Before Lock Out window (period) expires, the user is locked out
for the Lock Out Period duration.
The system enforces changes to lock out properties the next time the user
logs in. For example, if Max Bad Logins Before Lock Out is set to 5, user
ScottF fails to log in four times within the Lock Out Window, and an admin-
level user changes Max Bad Logins Before Lock Out to 3, the change does
not lock ScottF out. User ScottF still has one more chance to log in before
getting locked out.
If ScottF’s fifth attempt to log in fails, the system locks him out the next time
he attempts to log in because five failed attempts is greater than or equal to
the Max Bad Logins Before Lock Out of 3.
Due to our policy of continuous product innovation, some specifications may change without notification. 159
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 5 Component Guides Getting Started with Niagara
Default Prototype
Figure 142: Prototype user properties
The following table lists the properties to configure for each user.
Property Value Description
Full Name text The user’s name.
Enabled true (default) Unchecked (false) disables this user. Disabled users cannot access the
system.
Expiration radio buttons • Never Expires: permits this user to always log on.
• Expires On [date and time]: allows this user to log on until the
expiration date and time.
Lock Out false (default) Checked enables a user may log on. Unchecked (true) prohibits this user from
logging on.
Language Identifies the language to use.
Prototype Name text The name of the prototype used to create this user.
160 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 5 Component Guides
Roles radio buttons The checked box identifies the user’s role.
Allow Concurrent Sessions true (default) When checked, allows you to connect multiple sessions. When
unchecked, a new session invalidates the old session.
Default Web Profile See “Default Web Profile”.
Mobile Web Profile See “Mobile Web Profile”.
Authenticator—Password Config
Property Value Description
Force Reset at Next Login true or false (default) Causes the system to request that the user create a new password the
next time they log in.
Expiration radio button Allows you to configure a password change for a specific date and time.
Type Spec (type of profile) drop-down list Identifies the type of profile:
• BasicHxProfile
• DefaultHxProfile
• HTML5HxProfile (default)
• HandHeldHxProfile
Hx Theme drop-down list Selects the look of the user interface:
• Zebra
• Lucid
Enable Hx Workbench Views yes (default) Removing the check mark disables the views.
Due to our policy of continuous product innovation, some specifications may change without notification. 161
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 5 Component Guides Getting Started with Niagara
Enable Search Side Bar yes (default) Removing the check mark disables the use of the search side
bar.
Enable Palette Side Bar yes (default) Removing the check mark disables the use of the palette side
bar.
Enable Nav File Tree yes (default)
Type Spec (type of profile) drop-down list Identifies the type of profile:
• BasicHxProfile
• DefaultHxProfile
• HTML5HxProfile (default)
• HandHeldHxProfile
Mobile Nav File ord Identifies the location of the file that defines the mobile nav tree for
this user.
Hx Theme drop-down list Selects the look of the user interface:
• Zebra
• • Lucid
baja-UserServicePasswordConfiguration
UserServicePasswordConfiguration (Password Configuration) is a child container under the UserService in an AX-3.7 or later
station. It contains global properties to define the periodic password expiration for station users as well as the unique password
history setting. Also note each station User has a related Password Configuration child container as well.
Note
This component is not available in a new station until it is started and saved.
162 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 5 Component Guides
baja-Vector
Vector is a dynamic Struct which allows properties to be added at runtime.
baja-VirtualComponent
A VirtualComponent is the Baja base class for implementations of transient (non-persisted) components that reside in the
station’s “virtual component space,” as defined by a VirtualGateway.
Initial applications of virtual components are expected in various drivers for Niagara.
baja-VirtualGateway
A VirtualGateway is the Baja base class for a component that resides under the station’s component space (Config), and acts as
a gateway to the station’s “virtual component space.”
Other object spaces are Files and History. Initial applications of virtual gateways are expected in Niagara drivers.
baja-WsTextBlock
WsTextBlock (Text Block) is a component you can drop onto a wire sheet (WireSheet) and position to add text notes. Properties
include “Text” (to display), Foreground and Background colors, Font, Border, and whether the Text Block is directly “Selectable” in
the wire sheet (by default, Selectable is true). If Selectable is false, you must select this component via its node in the Nav tree.
Text Block is available in the baja palette.
baja-ZipFile
ZipFile represents a zip file in the file system of a session.
Due to our policy of continuous product innovation, some specifications may change without notification. 163
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 5 Component Guides Getting Started with Niagara
• chart-BarChart
This is one of two chart types available. The other is LineChart.
• chart-ChartCanvas
ChartCanvas is the canvas widget under a ChartPane.
• chart-ChartHeader
ChartHeader is the header widget under a ChartPane.
• chart-ChartPane
ChartPane is the container widget created when adding a Px chart.
• chart-DefaultChartLegend
DefaultChartLegend is the legend widget under a ChartPane.
• chart-LineChart
This is one of the two chart types available. The other is BarChart.
164 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 5 Component Guides
control-BooleanPoint
BooleanPoint is a basic read-only control point, with default slots: Facets, Out, and ProxyExt. See “About control points” for
details. The BooleanPoint is available in the Points folder of the control palette.
control-BooleanWritable
BooleanWritable extends BooleanPoint to include 16 levels of command priority control. The highest priority active command is
reflected in the out property. Commands at the emergency and manual levels (1 and 8) are stored persistently. See “About control
points”for more details.
The BooleanWritable is available in the Points folder of the control palette.
control-DiscreteTotalizerExt
DiscreteTotalizerExt is a control point extension for accumulating runtime and change of state counts on binary or enum values.
Two actions are available to clear (zero) accumulated totals, ResetChangeOfStateCount and ResetElapsedActiveTime.
The DiscreteTotalizerExt is available in the Extensions folder of the control palette.
control-EnumPoint
EnumPoint is a basic read-only control point, with default slots: Facets, Out, and ProxyExt. See “About control points” for details.
The EnumPoint is available in the Points folder of the control palette.
control-EnumWritable
WritableEnumPoint extends EnumPoint to include 16 levels of command priority control. The highest priority active command is
reflected in the out property. Commands at the emergency and manual levels (1 and 8) are stored persistently. See “About control
points” for more details.
The EnumWritable is available in the Points folder of the control palette.
Due to our policy of continuous product innovation, some specifications may change without notification. 165
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 5 Component Guides Getting Started with Niagara
control-NullProxyExt
NullProxyExt is the default implement AbstractProxyExt used to indicate that a point is not a proxy point. The NullProxyExt is in
the control palette’s Extensions folder, but is already present by default on compatible point types. Presence indicates that you
can add other types of extensions to the parent component, for example alarm or history extensions.
control-NumericPoint
NumericPoint is a basic read-only control point, with default slots: Facets, Out, and ProxyExt. See “About control points” for
details. The NumericPoint is available in the Points folder of the control palette.
control-NumericTotalizerExt
NumericTotalizerExt is a control point extension used for integrating a numeric point value over time. For example, a totalizer with
a minutely totalization interval can convert an instantaneous flow reading in cubic feet per minute (cfm) into a value representing
total cubic feet consumed. An available resetTotal action clears (zeroes) any accumulated total.
The NumericTotalizerExt is available in the Extensions folder of the control palette.
control-NumericWritable
NumericWritable extends NumericPoint to include 16 levels of command priority control. The highest priority active command is
reflected in the Out property. Commands at the Manual and manual levels (1 and 8) are stored persistently. See the sections,
“About control points” and “About writable points” for more details.
The NumericWritable is available in the Points folder of the control palette.
control-StringPoint
StringPoint is a basic read-only control point, with default slots: Facets, Out, and ProxyExt. See “About control points” for details.
The StringPoint is available in the Points folder of the control palette.
control-StringWritable
StringWritable extends StringPoint to include 16 levels of command priority control. The highest priority active command is
reflected in the Out property. Commands at the Manual and manual levels (1 and 8) are stored persistently. See “About control
points” and “About writable points” for more details.
The StringWritable is available in the Points folder of the control palette.
control-TimeTrigger
TimeTrigger is a component that fires a topic at configured times. It is available configured as “Interval” or “Daily” in the Trigger
folder of the control palette.
166 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 5 Component Guides
converters-EnumToSimpleMap
EnumToSimpleMap maps ordinals to Simple instances of the same type.
crypto-CryptoService
CryptoService is a station service that can provide SSL features for earlier model QNX-based JACEs (controllers running the IBM
J9 JVM) at any Niagara release level. It also applies to any Niagara platform running a pre-AX-3.7 release that require SSL
capablility.
Note:
Any AX-3.7 or later platform that runs the Oracle Hotspot JVM (most newer QNX-based JACEs) and all Windows-based hosts
should be configured differently for SSL, and should not use this station service or module. .
crypto-SslProvider
This provides SSL configuration for the CryptoService in a NiagaraAX host that cannot run the newer, platform based SSL
introduced in AX-3.7 (such as controllers running the IBM J9 JVM).
Due to our policy of continuous product innovation, some specifications may change without notification. 167
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 5 Component Guides Getting Started with Niagara
file-AudioFile
AudioFile stores an audio file.
file-BajadocFile
BajadocFile represents Bajadoc documentation. Bajadoc is a special file that can describe components in a database.
file-BogFile
BogFile represents a BogFile in the file system of a session. A Bog File is a special file that can describe components in a
database.
file-BogScheme
BogScheme represents a BogScheme in the file system of a session. A Bog File is a special file that can describe components in
a database.
168 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 5 Component Guides
file-BogSpace
BogSpace represents a BogSpace in the file system of a session. A Bog File is a special file that can describe components in a
database.
file-CFile
CFile stores a c source file.
file-CssFile
CssFile stores a CSS cascading style sheet.
file-ExcelFile
ExcelFile stores a Microsoft Excel file.
file-GifFile
GifFile stores a GIF image.
file-HtmlFile
HtmlFile stores HTML markup.
file-ImageFile
ImageFile stores an image.
file-JavaFile
JavaFile stores a java source file.
file-JpegFile
JpegFile stores a JPEG image.
file-NavFile
NavFile stores XML nav markup.
file-PaletteFile
This file is a Bog file with a different extension and icon. Many modules include a palette.
file-PdfFile
PdfFile stores a Adobe PDF file.
file-PngFile
PngFile stores a PNG image.
file-PowerPointFile
PowerPointFile stores a Microsoft PowerPoint file.
Due to our policy of continuous product innovation, some specifications may change without notification. 169
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 5 Component Guides Getting Started with Niagara
file-PrintFile
PrintFile stores XML print markup.
file-PxFile
PxFile is just a Bog File file with a different extension and icon.
file-TextFile
TextFile stores plain text.
file-VideoFile
VideoFile stores a video file.
file-VisioFile
VisioFile stores a Microsoft Visio file.
file-WordFile
WordFile stores a Microsoft Word file.
file-XmlFile
XmlFile stores an xml file.
help-BajadocOptions
The BajadocOptions stores the options used by the BajadocViewer. The Bajadoc options allow you to change the following:
• Show Baja Only
• Flatten Inheritance
These are stored under /user/{user}/bajadoc.options.
net-InternetAddress
InternetAddress models an Internet address which is a composite of a hostname (or raw IP address) and a port number.
170 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 5 Component Guides
net-HttpProxyServer
HttpProxyService is used to support connections to the Internet through a non-transparent proxy.
All services that make use of the bajax.baja.net.HttpConnection class will automatically roll over to using the proxy server once
the HttpProxyService has been configured and enabled. The Weather Service is one of the services that is affected by this
feature.
To use this component you must:
• add it to your station (under the Services node, for example)
• configure the following properties in the Property Sheet view:
– Status
This display-only property displays the status of the Http Proxy Service.
– Fault Cause
This display-only property provides an error message that indicates the reason for a fault.
– Enabled
This property has a true (enabled) and false (disabled) option.
– Server
This property provides a text field for entering the address of the proxy server you are connecting to.
– Port
This property is for specifying the port number for communicating with the proxy server.
– Exclusions
This text field allows you to designate addresses that are allowed to be contacted directly, therefore “excluding” them
from having to be contacted through the proxy server. The default addresses in the field are typical addresses followed
by a slash(/) and the subnet mask designation.
– Authentication Scheme
This property provides the following two options: None (no authentication is required at the proxy server when this
option is set) and Basic (basic authentication is required at the proxy server when this option is set).
– User
This is the login name to be used when authentication is set to Basic.
– Password
This is the password text that is to be used when authentication is set to Basic.
Due to our policy of continuous product innovation, some specifications may change without notification. 171
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 5 Component Guides Getting Started with Niagara
program-Program
Program uses an instance based classfile to implement user defined component logic. The Program can be viewed and edited
using the ProgramEditor. Program is available in the program palette.
Actions
Actions include Execute.
program-ProgramModule
ProgramModule provides a Program Module Builder view used to build standard Niagara modules from Program components.
This provides a mechanism to version and provision Program modules just like any other Niagara modules.
Starting in AX-3.5, the ProgramModule is available in the program palette.
program-ProgramService
The ProgramService provides a (default) Batch Editor view to launch a batch operation on multiple selected component slots.
The ProgramService also provides a secondary RobotEditor view to create “Robots”, which are similar to Program components
(written using Java code), but are not persisted in the station database.
The ProgramService is available in the program palette, but typically exists in most station’s Services container, as it is included
among default services when using the New Station tool (wizard) in Workbench.
Actions
Actions include Run Robot.
timesync-TimeSyncClient
Slot of a TimeSyncService used to poll a time protocol server. The TimeSyncClient is available in the timesync palette.
172 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 5 Component Guides
timesync-TimeSyncService
This component uses the RFC 868 protocol to synchronize servers to the same time. This service is available in the timesync
palette.
You synchronize the current server to other servers by adding TimeSyncClients to the current server’s TimeSyncService
component. As a convenience, the TimeSyncService provides a disabled default client, which needs configuring. The module
palette contains clients that have been preconfigured for well known time protocol servers.
Using multiple clients, the service polls each configured server, and if the service detects a drift greater than the tolerance
property, it resets the system time.
The primary view of this component is Time Sync Manager.
From the property sheet, you can set Enabled and Server Enabled to false to disable the time sync client. Server Enabled enables
the time sync server. To sync between stations, enable master TimeSyncService to be a server, and then add a TimeSyncClient
in the station, configured for the server stations.
Properties
Property Value Description
Enabled [general] true or false Activates and deactivates use of the function.
Server Enabled true or false Activates and deactivates use of the component.
Actions
To invoke the action, right-click on the component.
Action Description
ForceSync Causes immediate time synchronization.
Due to our policy of continuous product innovation, some specifications may change without notification. 173
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 5 Component Guides Getting Started with Niagara
web-MobileClientEnvironment
MobileClientEnvironment (mobile) is a child of the ClientEnvironments container of a station’s WebService, and present only if the
host is licensed with the mobile feature. It is used in the automatic selection of the appropriate webProfile type for a user, based
on the detection of the incoming browser client type (e.g. desktop or mobile).
web-WebService
This service encapsulates access to the HTTP server as well as the servlet infrastructure used to expose custom applications
over HTTP. The WebService is available in the web palette. It is also one of the default services in a station created by using the
New Station tool. Only one WebService is supported in a station.
174 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 5 Component Guides
Https Enabled true (default) or false Determines if HTTPS client requests are processed. When set to true, turns
on secure Http communication using port 443. When enabled, Foxs Enabled
in the FoxService must also be set to true (for webapplet use).
When set to false, turns off the secure Https connection causing the system to
ignore any attempts to connect using Https port 443.
Https only true (default) or false When set to true, redirects any attempt to connect using a connection that is
not secure (Http alone) to Https.
When set to false, does not redirect attempts to connect using Http alone.
Due to our policy of continuous product innovation, some specifications may change without notification. 175
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 5 Component Guides Getting Started with Niagara
Https Cert drop-down list of server Specifies the alias of the host platform’s server certificate, which the client
certificates; defaults to uses to validate server authenticity. The default identifies a self-signed
tridium certificate that is automatically created when you initially log in to the
server. If other certificates are in the host platform’s key store, you can
select them from the drop-down list.
Require Https For true (default) or false When set to true, the HTTPs Enabled property also must be is set to true,
Passwords or the system disables the New button (for creating a new user in the
UserService). This prevents the creation of a password for a new user
across a connection that is not secure.
When set to false, the New button (for creating a new user in the
UserService) remains enabled even if HTTPs Enabled is false. This
combination of settings creates security vulnerability when creating
passwords for new users and is not recommended.
X Frame Options Sameorigin (default) The X-Frame-Options HTTP response header can be used to indicate
Deny or Any (least whether or not a browser should be allowed to render a page in a <frame>
secure) or <iframe>. You can use this to avoid clickjacking attacks, by ensuring that
content is not embedded into other sites.
If you specify Sameorigin, the page will load in a frame as long as the site
including it in a frame is the same as the one serving the page (same
server). If a page specifies Sameorigin, browsers will forbid framing only if
the top-level origin FQDN (fully-qualified-domain-name) does not exactly
match FQDN of the subframe page that demanded the Sameorigin
restriction. This is considered a safe practice.
If you specify the Deny option, attempts to load the page in a frame will
always fail.
Note:
• The Deny option inhibits display of some typical Shell Hx Profile
views.
• If you specify the Any option, then Cross-Frame Scripting (SFS)
and Cross-Site Scriptin (XSS) are allowed.
176 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 5 Component Guides
Client This property is a container for Mobile Client Environment (mobile) entries,
Environments available if the station’s host is licensed with the mobile feature. It is used in
detection of a user’s browser type (for desktop or mobile) and the selection of
the appropriate webProfile for that user.
Client Environments—Mobile
The Client Environments container slot allows the station to automatically detect the user agent of an incoming client and use the
appropriate Web Profile for the user:
• Default Web Profile if using a Java-enabled device, such as a PC
• Mobile Web Profile if using a mobile device, such as a cell phone or tablet
Due to our policy of continuous product innovation, some specifications may change without notification. 177
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 5 Component Guides Getting Started with Niagara
Fault Cause text Read-only field. Indicates why the network, component, or extension is in
fault.
User Agent Pattern text separated by the A list of one or more user agents separated by the pipe symbol that identify
pipe symbol (|) the target display types.
JettyWebServer
Name Value
Server State
Min Threads 3 (default)
Max Threads 30 (default)
N C S A Log NCSA Request Log
N C S A Log
This is a common format of a standardized text file that web servers use to keep track of processed requests.
Retain Days 7 (default) Limits the size of the log by defining how many days to save log
information.
Extended Format true (default) or false
Log Time Zone list of time zones Identifies the time zone to use for time stamps.
178 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 5 Component Guides
workbench-ComponentFinder
The ComponentFinder dialog provides a means of finding Components.
Figure 144: Sample Window
workbench-KioskService
workbench-KioskService is used to enable the Kiosk mode. Kiosk mode provides a way to run a Workbench station so that it
fulfills many of the needs of a stand-alone operator workstation as well as many needs of a touchscreen interface. In order to
automatically start Kiosk mode, you must have a locally connected display.
Note:
The Kiosk profile is not invoked or displayed by remote browser clients. You cannot use a remote computer with a touchscreen
and expect to get the same Kiosk interface.
This component is located in the Workbench palette. To set a station to Kiosk mode, add the service to the station's "Services"
folder (Config > Services) and set the enabled property to "true". While Kiosk mode is not limited to touchscreen applications, it
does provide advantages that make it well suited for use in a touchscreen application.
workbench-WbFieldEditorBinding
WbFieldEditorBinding is used to bind WbFieldEditors to an object. It allows any existing WbFieldEditor (BooleanFE, EnumFE,
AbsTimeFE, etc) to be used in a PX presentation.
Due to our policy of continuous product innovation, some specifications may change without notification. 179
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 5 Component Guides Getting Started with Niagara
workbench-WbViewBinding
WbViewBinding is used to bind WbViews to an object. It allows any existing WbView (PropertySheet, WireSheet, manager view,
etc.) to be used in a PX presentation.
workbench-WsOptions
The WireSheet options allow you to view and change the following:
• Show Thumbnail
• Show Grid
• Show Status Colors
These are stored under /user/{user}/wiresheet.options.
workbench-WebWidget
This is a bajaux, HTML5-based application that incorporates a view with interactive functionality which allows you to edit
properties and invoke commands from the view. You can easily add data to a WebWidget, such as the WebChart or Dashboard,
simply by dragging one or more components onto the widget. The widget renders in both Workbench and HTML5 Hx interfaces.
The widget also integrates into the environment. For example, commands defined for a WebWidget render as added tool bar
icons in Workbench, as well as in the HTML5 Hx profile in a web browser.
Examples of the bajaux WebWidget include the following:
• The WebChart displays the Chart view which can display historical data and update with live data. Also, in the view you
can easily add data and invoke numerous commands and settings to modify data presentation.
Figure 145: Chart WebWidget
180 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 5 Component Guides
• The CircularGauge displays the graphical gauge view which updates with live data and provides contextual information
for the current value. At any time you can dynamically switch the display to another component simply by dragging and
dropping a different component onto this widget.
Figure 146: CircularGauge WebWidget
• A Dashboard may be added to any PxPage and displayed in the PxViewer. Additional WebWidgets may be added to the
Dashboard pane to customize the presentation of data. The dashboard is used to write dashboard-specific data to and
from a station for a specific user.
Figure 147: Dashboard WebWidget
Due to our policy of continuous product innovation, some specifications may change without notification. 181
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 6 Plugin Guides Getting Started with Niagara
There are many ways to view plugins (views). One way is directly in the tree. In addition, you can right-click on an item and select
one of its views. Plugins provide views of components.
In Workbench, access the following summary descriptions on any plugin by selecting Help→ On View (F1) from the menu, or
pressing F1 while the view is open.
182 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 6 Plugin Guides
backup-BackupManager
The BackupManager is the default view for a station’s BackupService.
From this view you can issue a backup command, to back up the station’s configuration to your local PC, in dist file format. When
you issue a Backup command, a File Chooser window opens to select the destination directory on your PC and the file name for
the backup .dist file.
The default backup destination depends on your station connection, as either one of the following:
• Workbench (Fox) — !backups
This is a subdirectory “backups” under your Niagara release directory. If you have not previously made station backups, this
directory is automatically created.
• Browser access (Wb Web Profile) — !backups
This is a subdirectory “backups” under the Niagara subfolder of your installed Java 2 runtime environment (Java plugin).
For example: C:\Program Files\Java\j2rel1.4.2_05\niagara\backups. The first time you make a station backup, the system
automatically creates this directory.
The default name for a backup file uses a format of: backup_stationName_YYMMDD_HHMM.dist
For example, backup_J403IP98c_200618_1429.dist for a backup made of station “J403IP98c” on June 18, 2020 at 2:29 pm.
Due to our policy of continuous product innovation, some specifications may change without notification. 183
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 6 Plugin Guides Getting Started with Niagara
The BackupManager provides a progress bar and Job Log (>> control) for an initiated backup. The BackupManager displays a
table of the 10 most recent backups, with the following data columns:
• Timestamp: Station date and time when the backup was initiated.
• Host: IP address of the requesting (remote) PC for the backup.
• Path: File path used on the requesting (remote) PC for saving the backup. Typically, this is relative to the default
Niagara directory (!), however, it may be an absolute file path.
• User: The station user that initiated the backup.
The Resource Manager is an available view on any running station. It provides a line chart of both CPU and memory usage of the
host platform, and updates in real time. In addition, individual resource statistics are provided in a table, which you can refresh by
clicking the Update button.
help-BajadocViewer
The BajadocViewer Plugin provides the ability to navigate and browse Baja reference documentation. Baja reference
documentation includes both Java API details as well as Baja slot documentation.
The viewer shows documentation for the following:
• Subclasses
• Properties
• Actions
• Topics
• Constructors
• Methods
• Fields
To access Bajadoc, either right-click on a Bajadoc file and select Views→Bajadoc Viewer or select Bajadoc On Target from the
main Help menu or popup menu.
BajadocViewer Menus
The BajadocViewer menu functions include:
• Show Baja Only
This option allows you to view only the documentation for slots (Properties, Actions, and Topics). When it is set to false,
documentation on the Java constructors, methods and fields is also displayed.
• Flatten Inheritance
This option allows you to flatten the inheritance hierarchy into a single set of documentation. When it is false only the Java
members and Baja slots declared in the specified class are displayed. When it is set to true all the Java members and Baja slots
inherited from super classes are also shown.
184 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 6 Plugin Guides
Subclasses
Subclasses provide a subclass tree of all that are subclassed from this item.
Properties
Properties represent a storage location of another Niagara object. Flags are boolean values which are stored as a bitmask on
each slot in a Baja Object. Some flags apply to all slot types, while some only have meaning for certain slot types.
Flags
The following table lists the Configuration flags.
Flag Char Applies Description
readonly r P The readonly flag is used to indicate slots which are not accessible to users.
transient t P Transient properties do not get persisted when saving a object graph to the file
system. Transient properties are usually also readonly, unless they are designed to be
a linkable input slot.
hidden h P,A,T Hidden slots are designed to be invisible to the user, and exist only for Java
developers. User interfaces should rarely display hidden slots.
summary s P Summary properties are the focal points of any given BComponent. This flag is used
by user interface tools to indicate primary properties for display. This might be as
columns in a table or as a glyph in a graphical programming tool.
async a A By default Action are invoked synchronously on the callers thread. By using the async
flag on an Action, invocations are coalesced and executed asynchronously at some
point in the near future on the engine's thread.
noExecute x P No execute properties prevents start/stop from recursing on properties with this flag
set.
defaultOnClone d P Specifies that when an object is cloned via the newCopy () method these properties
retain their default value, not the clone source's value.
confirmRequired c A When the Action is invoked by a user, a confirmation dialog must be acknowledged
before proceeding.
operator c P,A,T This makes a slot as operator security level. By default when this flag is clear, the slot
is an admin security level.
userDefined1 1 P,A,T User defined.
Due to our policy of continuous product innovation, some specifications may change without notification. 185
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 6 Plugin Guides Getting Started with Niagara
Actions
An Action is a slot that specifies behavior which may be invoked either through a user command or by an event. Actions provide
the capability to provide direction to Components. They may be issued manually by the operator or automatically through links.
Actions can be issued by Right-clicking on the Component. The Component bajadoc provides a complete list of Actions available
for each Component.
Typical actions include the following:
• Manual actions are available based on Component type. The following are commonly available:
– Auto (BooleanWritable, NumericWritable and EnumWritable)
– Active (BooleanWritable)
– Inactive (BooleanWritable)
– Override (NumericWritable and EnumWritable)
Each of the above actions is issued to the priorityArray of the Component at level 8 (Manual Operator).
• Many other Actions are available on other Components. Each Action available for a Component is listed in the Actions
sect2 of the Component bajadoc.
Topics
Topics represent the subject of an event. Topics contain neither a storage location, nor a behavior. Rather a topic serves as a
place holder for an event source.
html-WbHtmlView
This component allows you to view the contents of HTML files.
WbHtmlView Menus
The Workbench main menu functions are available.
WbHtmlView Toolbar
In the WbHtmlView, the toolbar contains navigation and editing buttons. In addition, Find, FindNext and FindPrev toolbar buttons
are available.
186 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 6 Plugin Guides
Due to our policy of continuous product innovation, some specifications may change without notification. 187
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 6 Plugin Guides Getting Started with Niagara
• table - table (Attributes align, border, bordercolor, cellpadding, cellspacing and width)
• tbody - not supported
• td - table data cell supports ALIGN (left, right, and center), BGCOLOR, COLSPAN, ROWSPAN and WIDTH
• tfoot - not supported
• th - table header cell supports ALIGN (left, right, and center), BGCOLOR, COLSPAN, ROWSPAN and WIDTH
• thead - not supported
• title - document title
• tr - table row supports ALIGN (left, right, and center) and BGCOLOR
• tt - teletype or monospaced text style
• ul - unordered list
HTML Attributes
HTML Elements have associated properties, called attributes, which may have values. Attribute/value pairs appear before the
final ">" of an element's start tag.
Valid attributes include:
• align - vertical or horizontal alignment Deprecated; elements: img, object? values: bottom, left, middle, right or top.
• align - table position relative to window Deprecated; elements: table; values: center, left or right
• align - align, text alignment Deprecated; elements: div?, h1?, h2?, h3?, h4?, h5?, h6?, p; values: center, justify, left or
right
• align - alignment; elements: col?, colgroup?, tbody?, td, tfoot?, th, thead?, tr; values: center, char, justify, left or right
• bgcolor - background Color Deprecated; elements: h1, h2, h3, h4, h5, h6?, p, td, th, tr
• border - controls frame width around table; elements: table
• cellpadding - spacing within cells; elements: table
• cellspacing - spacing between cells; elements: table
• class - class name or set of class names for stylesheets; elements: most elements
• color - text Color Deprecated; elements: font, h1, h2, h3, h4, h5, h6?, p, pre, td?, th?, tr?
• colspan - number of cols spanned by cell; elements: td, th
• content - associated information; elements: meta?
• href - URI for linked resource; elements: a, link
• id - name to an element; elements: most elements
• lang - Language Code; elements: most elements not supported
• name - named link end; elements: a
• name - meta information name; elements: meta?
• rel - forward link types; elements: link; values: stylesheet
• rowspan - number of rows spanned by cell; elements: td, th
• size - size of font; elements: font; value: fixed 1-7 or relative -7 to +7
• summary - purpose/structure for speech output; elements: table
• type - advisory content type; elements: link; values: text/css
• width - table width; elements: table
188 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 6 Plugin Guides
Stylesheet support
Stylesheets are supported using a link in the header as follows:
<head>
<title>Sample<title>
<link rel='StyleSheet' href='module://bajaui/doc/style.css' type='text/css'/>
<head>
See the stylesheet: module://bajaui/doc/style.css or the CSS stylesheet used for this document at docbook.css.
Pseudo-classes and Pseudo-elements
Anchor pseudo-classes include:
• A:link unvisited links unsupported
• A:visited visited links unsupported
• A:active active links unsupported
CSS1 Properties
Stylesheet elements supported include:
• background - The 'background' property is a shorthand property for setting the individual background properties (i.e.,
'background-color', 'background-image', 'background-repeat', 'background-attachment' and 'background-position') at the
same place in the style sheet.
• background-attachment unsupported
• background-color - This property sets the background Color of an element.
• background-image unsupported
• background-position unsupported
• background-repeat unsupported
• border unsupported
• border-bottom unsupported
Due to our policy of continuous product innovation, some specifications may change without notification. 189
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 6 Plugin Guides Getting Started with Niagara
• border-bottom-width unsupported
• border-color unsupported
• border-left unsupported
• border-left-width unsupported
• border-right unsupported
• border-right-width unsupported
• border-style unsupported
• border-top unsupported
• border-top-width unsupported
• border-width unsupported
• clear unsupported
• color - This property describes the text Color of an element (often referred to as the foreground Color).
• display unsupported
• float unsupported
• font unsupported
• font-family unsupported
• font-size unsupported
• font-style unsupported
• font-variant unsupported
• font-weight unsupported
• height unsupported
• letter-spacing unsupported
• line-height unsupported
• list-style-image unsupported
• list-style-position unsupported
• list-style-type unsupported
• margin unsupported
• margin-bottom unsupported
• margin-left unsupported
• margin-right unsupported
• margin-top unsupported
• padding unsupported
• padding-bottom unsupported
• padding-left unsupported
• padding-right unsupported
• padding-top unsupported
• text-align
• text-decoration unsupported
• text-indent unsupported
• text-transform unsupported
• white-space unsupported
• width unsupported
• word-spacing unsupported
190 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 6 Plugin Guides
html-SpyViewer
SpyViewer allows you to view diagnostic information about the system. It contains the following:
• sysinfo: sysinfo provides system information.
• stdout: stdout provides access to standard output.
• systemProperties: systemProperties provides access to system properties.
• logSetup: logSetup allows you to config your log severities dynamically. There is also an option to flush the current
settings to log.properties.
• sysManagers: sysManagers provides information on managers. These include:
– registryManager
– schemaManager
– componentNavEventManager
– moduleManager
– engineManager
– leaseManager
– serviceManager
– licenseManager
– stationManager
• navSpace: provides information on the navSpace.
• userinterface: provides information on the user interface framework.
• fox: fox provides information on fox client and server sessions.
program-BatchEditor
The Batch Editor is the default view on the ProgramService. It allows you to perform a variety of operations on slots of multiple
components by issuing a single “batch” command.
You can add (specify) components using dragfrom the Nav tree, or copy and paste into the view, or by using the Find objects (Bql
Query Builder) function—or any combination of the three methods.
As needed, use the Clear Selected Items control to remove any items before running the operation. The Batch Editor can be a
real time saver when the same configuration change needs to be replicated among multiple component slots.
Due to our policy of continuous product innovation, some specifications may change without notification. 191
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 6 Plugin Guides Getting Started with Niagara
program-ProgramEditor
The ProgramEditor view provides the ability to view and edit Program Components. To view, right-click a Program and select
ProgramEditor. It shows Edit, Slots, Imports and Source tabs.
ProgramEditor Edit
Edit allows you to edit the onExecute, onStart, onStop and freeForm methods. An example from the demo Database follows:
BStatusNumeric inA = getInA(); BStatusNumeric inB = getInB(); BStatusNumeric out = getOut();
out.setValue( inA.getValue() + inB.getValue() );
ProgramEditor Slots
Slots allows you to view and change the slots of the program component. It includes Slot, #, Name, Display Name, Definition,
Flags and Type for each slot.
ProgramEditor Imports
This allows you to view the modules that have been imported. It also allows the following:
• ProgramEditor ImportType: ImportType allows you to import a new type.
• ProgramEditor ImportPackage: ImportPackage allows you to import a new type.
• ProgramEditor Remove: ProgramEditor Remove allows you to import a new type.
192 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 6 Plugin Guides
ProgramEditor Source
Source allows you to view and edit the source of the program component. The editor supports special Color coding for Java Files.
An example from the demo Database follows:
/* Auto-generated ProgramImpl Code */
import java.util.*; /* java Predefined*/ import javax.baja.sys.*; /* baja Predefined*/ import javax.baja.status.*; /* baja
Predefined*/ import javax.baja.util.*; /* baja Predefined*/ import com.tridium.program.*; /* program Predefined*/
public class ProgramImpl
extends com.tridium.program.ProgramBase
{
////////////////////////////////////////////////////////////////
// Getters
////////////////////////////////////////////////////////////////
public BStatusNumeric getOut() { return (BStatusNumeric)get("out"); } public BStatusNumeric getInA() { return
(BStatusNumeric)get("inA"); } public BStatusNumeric getInB() { return (BStatusNumeric)get("inB"); }
////////////////////////////////////////////////////////////////
// Setters
////////////////////////////////////////////////////////////////
public void setOut(javax.baja.status.BStatusNumeric v) { set("out", v); } public void setInA(javax.baja.status.BStatusNumeric v) {
set("inA", v); } public void setInB(javax.baja.status.BStatusNumeric v) { set("inB", v); }
////////////////////////////////////////////////////////////////
// onExecute
////////////////////////////////////////////////////////////////
public void onExecute()
throws Throwable
{
BStatusNumeric inA = getInA();
BStatusNumeric inB = getInB(); BStatusNumeric out = getOut();
out.setValue( inA.getValue() + inB.getValue() );
}
}
Due to our policy of continuous product innovation, some specifications may change without notification. 193
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 6 Plugin Guides Getting Started with Niagara
ProgramEditor Menus
The Workbench main menu functions are available. When the ProgramEditor is visible, the following ProgramEditor menu function
is also available:
• ProgramEditor ImportType
• ProgramEditor ImportPackage
• ProgramEditor Remove
• Add Slot Ctrl + A
• Delete
• Rename Slot Ctrl + R
• Reorder
• ProgramEditor Compile & Save F9
• ProgramEditor Compile Ctrl + F9
ProgramEditor Toolbar
The Workbench toolbar contains navigation and editing buttons When the ProgramEditor is visible, additional toolbar buttons
include the following:
• Find F5
• Replace F6
• ProgramEditor Compile & Save F9
• ProgramEditor Compile Ctrl + F9
• Console Prev
• Console Next
CompileSave allows you to compile and save the source of the program component. The shortcut is F9.
ProgramEditor Compile
Compile allows you to compile the source of the program component. The shortcut is Ctrl + F9.
program-ProgramModuleBuilder
The Program Module Builder is the default view on the ProgramModule. It lets you create a module from one or more Program
components, such that they may be versioned and provisioned just like other modules.
program-RobotEditor
The RobotEditor is used to write Robots that can be run via the ProgramService.
194 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 6 Plugin Guides
RobotEditor Menus
The Workbench main menu functions are available. When the RobotEditor is visible, the following RobotEditor menu functions are
also available:
• RobotEditor Compile Ctrl + F9
• RobotEditor Compile & Run F9
RobotEditor Toolbar
The Workbench toolbar contains navigation and editing buttons as described in “About the toolbar”. When the RobotEditor is
visible, additional toolbar buttons include:
• Find F5
• Replace F6
• RobotEditor Compile Ctrl + F9
• RobotEditor Compile & Run F9
• Console Prev (?need to find SearchConsolePrev.html source?)
• Console Next (?need to find SearchConsoleNext.html source?)
RobotEditor Compile
Compile allows you to compile the source of the Robot component. The shortcut is Ctrl + F9.
Compile& Run allows you to compile and run the source of the Robot component. The shortcut is F9.
The RasterViewer displays bitmapped image files: GIF, JPEG, PNG in the main window with Format and image Size at the
bottom.
Due to our policy of continuous product innovation, some specifications may change without notification. 195
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 6 Plugin Guides Getting Started with Niagara
The TimeSyncManager is used to display the status of TimeSyncClients, as well as add new or edit existing TimeSyncClients. By
default, it displays Server Name, Status, Poll Delta, Poll Local Time, and Poll Server Time for each TimeSyncClient.
The WireSheet view shows the contents of this component. It can be used on a component of a running station or a component in
a Bog File. If in a running station, it is active and real-time updates are provided. In order to command or select a different view of
the item, you may right-click to get the popup menu.
WireSheet Menus
The WireSheet includes the following menus:
• WireSheet Main Menu
• WireSheet Component Menu
• WireSheet Background Menu
• WireSheet Link Menu
196 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 6 Plugin Guides
Due to our policy of continuous product innovation, some specifications may change without notification. 197
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 6 Plugin Guides Getting Started with Niagara
WireSheet Toolbar
The Workbench toolbar contains navigation and editing buttons as described in “About the toolbar”. When the WireSheet is
visible, additional toolbar buttons include the following:
• Delete Links: Delete Links may be accessed from the Menu under Edit or from the toolbar. It allows you to eliminate
the selected link(s). You can Delete Links only in the WireSheet.
• Pin Slots: Pin Slots provide the capability to make Properties of a Component visible in the WireSheet view of the
Component. Right-click on the Component and select Pin Slots. This will bring up the Pin Slots window.
Print provides the capability to print the WireSheet. The WireSheet will remain fixed at logical size of 100 x 100 "blocks". Printing
will scale the WireSheet drawing to fit the page size (minus header and footer). Therefore, if you build your WireSheet logic in the
top left corner, you will get a large scale for your print out. If you use the entire WireSheet down to the bottom right corner, you
will get a much smaller scale for your print out.
Margins are 1" for left and 1/2" for top, bottom, and right. A standard header is included which displays container's reference and
current date. A future version will create a footer listing external links and knobs.
workbench-CompositeEditor
Composite Editor provides the capability to expose child slots of a Component as slots on the parent. Right-click on the
Component and select Composite Editor. This will bring up the Composite Editor Dialog.
The selected Properties are now visible in the WireSheet.
workbench-ExportDialog
Export provides the capability to Export views. You can export any table found in the Workbench (anything built with
bajaui:Table). The Table options menu (that little button to the right of the header), includes a Print and Export commands, which
allow you to export the table to PDF, HTML, or CSV (ExcelFile). Export uses the current sort order and visible columns currently
displayed.
198 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 6 Plugin Guides
There is no need to define component-to-category associations for Tagged Categories, so each Tagged Category column is
grayed out and cannot be edited in the Category Browser. Any component with a tag that satisfies the NEQL query is visible in
the Category Browser.
Due to our policy of continuous product innovation, some specifications may change without notification. 199
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 6 Plugin Guides Getting Started with Niagara
Categories 3–10 bold bullet, grayed out Objects with a bold bullet have tags that satisfy a tagged category.
bullet, or blank A bold bullet indicates that the object is assigned to the category.
A grayed out bullet indicates inheritance.
Blank indicates that the category has not been assigned.
wbutil-CategoryManager
This view of the CategoryService allows you to create, enable and delete the groups that the security model uses to control
access to the objects in a station. Once you create categories, you use the Category Browser view to centrally assign system
objects to categories. Or, at the individual component level, you use a component’s Category Sheet view to assign the component
to one or more categories.
You can assign an object to many categories at the same time. Each object stores its own categories.
Figure 149: Category Manager with tagged category, Temperature Points as Category 3
200 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 6 Plugin Guides
Type Category or Tagged A basic Category is a name that is associated with individual objects. A
Category Tagged Category includes a NEQL query that returns objects with tags that
satisfy the query.
Index number A unique number for the category, as it is known to the station.
Status [component] text Read-only field. Indicates the condition of the component at last polling.
• {ok} indicates that the component is polling successfully.
• {down} indicates that polling is unsuccessful, perhaps because of
an incorrect property.
• {disabled} indicates that the Enable property is set to false.
• fault indicates another problem.
Fault Cause text Read-only field. Indicates why the network, component, or extension is in
fault.
Tag Query Name text A descriptive name to represent the results of the search.
Tag Query NEQL A NEQL query. This property is required when Type is Tagged Category.
wbutil-CategorySheet
This view assigns a component to one or more categories (or configures it to inherit categories from its parent. Every component
has a Category Sheet view.
Figure 150: Category Sheet
Due to our policy of continuous product innovation, some specifications may change without notification. 201
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 6 Plugin Guides Getting Started with Niagara
Inherit toggle A check mark indicates that the component belongs to the same categories
as its parent component. No check mark allows you to make explicit
category assignments for this component.
Select All button Effective if Inherit is cleared, clicking this button assigns this component to
all categories in this station.
Deselect All button Effective if Inherit is cleared, clicking this button removes this component
from all categories.
CategoryService button Opens the Category Browser.
wbutil-PermissionsBrowser
This view allows you to quickly review the objects that someone, who has been assigned a given role, may access. You access
this view by right-clicking RoleService in the Nav tree and clicking Views→Permissions Browser.
Figure 151: Permissions Browser view
Columns represent roles, and rows identify the objects in the station, with each table cell showing user permissions.
• Yellow rows are objects explicitly assigned with permissions.
• Dimmed rows represent objects that inherit their permissions from their parent object.
202 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 6 Plugin Guides
Double-click a cell to bring up the permissions dialog for that role. This allows you to globally change a user’s permission levels
for any category in the station.
Column Value Description
First column Nav tree for station Config, Files and Each Nav tree node occupies a row in the table. This expandable tree
History lets you navigate to objects of interest to review current permissions.
Admin permissionsR = readW = writeI = Reports the rights assigned to the admin role. As this is a super user,
invoke actionadmin level permissions admin has rights to read, write and invoke an action for all objects.
appear in upper case.
user permissionsr = readw = writei = invoke Reports the rights assigned to the user role. The default is no rights
actionoperator permissions appear in assigned.
lower case.
wbutil-ResourceEstimator
The Resource Estimator tool allows you to estimate station resources based a number of variables, which you enter in various
fields. It is one of several tools in Workbench’s Tools menu.
wbutil-TodoList
The Todo List tool allows you to enter, summarize, group, and prioritize pending Workbench tasks. It is one of several tools in
Workbench’s Tools menu.
wbutil-UserManager
The User Manager is the primary view of the UserService. You use it to add, edit, and delete users for accessing the station.
Due to our policy of continuous product innovation, some specifications may change without notification. 203
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 6 Plugin Guides Getting Started with Niagara
workbench-CollectionTable
The CollectionTable allows you to view tables. One way to create a table is through a BQL collection like the following:
local:|fox:|station:|slot:/ControlObjects|bql:select displayName,type, out, facets from co
The Table options menu, allows you to Reset Column Widths, Print and Export.
workbench-DirectoryList
The DirectoryList view provides a listing of the subdirectories and files found in a given Directory. Double-clicking an item opens
its default view. Files are displayed with an icon based on file type.
DirectoryList Menus
The Workbench main menu functions are available. When the DirectoryList is visible, the following popup menu functions are also
available:
• Views: View menus for the Component.
• Actions: Perform any of the Actions on the Component.
• New: Create a new file of standard types (if a Directory).
• Cut Ctrl + X
• Copy Ctrl + C
• Paste Ctrl + V
• Duplicate Ctrl + D
• Delete Delete
• Rename
• Reorder
DirectoryList Toolbar
The Workbench toolbar contains navigation and editing buttons as described in “About the toolbar”.
Refresh: Refresh allows you to synchronize the cached components with the actual file system.
New: This allows you to make a new Folder or File in the selected Folder of these types:
• New Folder allows you to make a new Folder in the selected Folder.
• BogFile.bog
• HtmlFile.html
• JavaFile.java
• NavFile.nav
• PrintFile.print
• TextFile.txt
204 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 6 Plugin Guides
workbench-HexFileEditor
The HexFileEditor allows you to view hexadecimal files. It provides a binary view of a file's contents.
workbench-JobServiceManager
The Job Service Manager is the default view on a station’s JobService. It provides a table listing of up to the last 10 Jobs
executed by the station since the last station start. Order is oldest job at top, most recent job at bottom.
To see details on any job, click the button next to its status descriptor. A popup Job Log window displays all the interim steps for
the job, including timestamps and relevant messages.
To dispose of any job, click the close (X) button to remove it from the station.
Note:
Only the last ten jobs are saved. The system clears all jobs when it restarts.
workbench-LinkSheet
The LinkSheet allows you to view and delete links. It provides a view of the links on a Component.
LinkSheet Main Menu
The Workbench main menu functions are available. When the LinkSheet is visible, the followingLinkSheet menu functions are
also available:
• Delete Links
• GoTo
LinkSheet Toolbar
The Workbench toolbar contains navigation and editing buttons. When the LinkSheet is visible, additional toolbar buttons include:
• Delete Links
• Go To goes to the selected item
workbench-ModuleSpaceView
Due to our policy of continuous product innovation, some specifications may change without notification. 205
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 6 Plugin Guides Getting Started with Niagara
workbench-NavFileEditor
The NavFileEditor allows you to view and edit Nav Files. It provides a view of the pages in the station and a view of the Nav tree.
You can drag pages to the Nav tree to add them to the Nav File. The name and Ord are shown at the bottom of the window.
To use the Nav File, place its filename in the Default Nav File property of the WebService.
workbench-PropertySheet
The property sheet views display all of the user visible properties of the selected component. You can change any properties that
you have permissions to change. The property sheet views apply to a component of a running station or a component in a bog
file. To see properties of components in a PropertySheet, expand each component.
There are two types of Property Sheet views:
• Property Sheet view
An HTML5 Property Sheet view, shown here, which provides functionality such as interactive field editors and action commands,
graphical web gauge display for points, and slot sheet details. Property changes that you make in this view are saved
automatically.
Figure 152: HTML5 Property Sheet view
206 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 6 Plugin Guides
Edit Tags Opens the Edit Tags window, permitting you to add or remove tags on a component.
Make Template Creates a template of the selected root component, collects all associated Px and graphic files, and
invokes the Template view, allowing you to configure the template for deployment.
Cut Copies to clipboard and after pasting the copy, deletes the cut item.
Link Mark Sets a selected component to your popup menu, making it temporarily available for “Linking From”
or “Linking To” other points.
Link From Allows you to link to a selected component from another component that has been marked, using
Link Mark from the popup menu.
Link To Allows you to link from a selected component to another component that has been marked, using
Link Mark from the popup menu.
Relation Mark Sets a selected component to your popup menu, making it temporarily available for “Relating From”
or “Relating To” other points.
Relate From Allows you to add a relation from selected component to another that has been marked, using Link
Mark from the popup menu.
Due to our policy of continuous product innovation, some specifications may change without notification. 207
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 6 Plugin Guides Getting Started with Niagara
Item Description
Relate To Allows you to add a relation to a selected component from another that has been marked, using
Link Mark from the popup menu.
Rename Allows you to rename the selected component’s actual slot name (as it appears in the Ord). This
menu item displays the Rename window. You can only rename one component at a time.
Set Display Name Allows you to set a display name for the selected component (as it appears in a Nav tree, and in the
Wire Sheet, and Property Sheet views).
Reorder Opens the Reorder Points window, which provides the following commands for reordering points
within the selected parent component.
• Move Up
• Move Down
• Sort by Name
• Sort by Type
• Reset
Config Flags Allows you to assign or remove permissions flags on a component. This is available on properties in
the AX Property Sheet view. Right-click a property to see the Config Flags window.
PropertySheet Toolbar
The Workbench toolbar contains navigation and editing buttons.
Config Flags: Configure Flags on a component. This is available on Properties. Right-click a property to open the Config Flags
window.
Links: Links provide the mechanism to dynamically attach Components. They allow you to attach an output Property of one
Component to an input Property of another Component. The links are visible in the Property Sheet of the Component. Links show
whether they are direct or indirect and their source Property.
To view the properties of the link, left-click the plus sign (+) on the Component. Each link shows the following:
• Link Type and source
• Source Ref: This is the linked Component.
• Source Slot Name: This is the linked Component's property.
• Target Slot Name: This is the current Component's property.
• Enabled: This shows whether the link is currently enabled.
208 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 6 Plugin Guides
OrdChooser
To select an Ord instead of typing it, you can use one of the Ord editors. They include the following:
• Bql Builder
• Directory Ord Chooser
• File Ord Chooser
• History Ord Chooser
• Ref Chooser
Once you have selected an editor, you can use the button to the right of the selection box. It will present the selected editor.
workbench:FileOrdChooser
In order to select a file Ord instead of typing it, you can use the FileOrdChooser.
You can select FileSpaces, Bookmarks and directories and files. In addition toolbar functions are provided including the following:
• Back: The back icon moves returns to the previous view.
• Uplevel: The uplevel icon moves up one level in tree.
• Home: The home icon moves up one level in tree.
• New Folder: The new folder creates a new directory.
• ListView: ListView opens the list view.
• DetailsView: DetailsView opens the details view.
• Bookmarks: The bookmarks icon ( ) and Bookmarks button add the selection to Bookmarks.
• Show/Hide Preview: Show/Hide Preview opens and hids the preview pane.
workbench:DirectoryOrdChooser
In order to select a Directory Ord instead of typing it, you can use the DirectoryOrdChooser.
You can select FileSpaces, Bookmarks and directories. In addition toolbar functions are provided including the following:
• New Folder: New Folder creates a new Directory.
• Bookmarks: You can press the Bookmarks button to add the selection to Bookmarks.
workbench:HistoryOrdChooser
To select a reference Ord instead of typing it, use the HistoryOrdChooser. You can select items from the tree by type slot or
Handle.
workbench:RefChooser
To select a reference Ord instead of typing it, use the RefChooser. You can select items from the tree by type slot or Handle.
workbench:BqlQueryBuilder
To select a BQL query instead of typing it, use the BqlQueryBuilder.
BQL is one Scheme used to Query in the Niagara Framework. An Ord is made up of one or more Queries. A Query includes a
Scheme and a body. The bql Scheme has a body with one of the following formats:
• BQL expression
• Select projection FROM extent Where predicate
You can create the Ord Qualifier, Select, FROM and Where portions of a Query.
Due to our policy of continuous product innovation, some specifications may change without notification. 209
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 6 Plugin Guides Getting Started with Niagara
Ord Qualifier
In the left window, you can select an Ord to use as the qualifier. It will immediately be placed in the BQL statement at the top
when you select it.
If you select the history Scheme, your options will vary from those shown here.
workbench:ProjectionBuilder
To build the projection for a BQL request instead of typing it, use the ProjectionBuilder in Bql Builder. You can select an item from
the center window to use with the select statement. Press the right arrow to add each one to the projection.
Bql Expressions"
An expression can be one of the following:
• field like displayName
• x.y.z
• any method that returns non-void and takes zero parameters
After you build the BQL statement, you can remove the "Select" to provide a BQL expression instead of a Select statement.
workbench:ExtentBuilder
An extent can be one or more of the following:
• "*" all available from the target
• all property slots
• all methods that return non-void and take zero parameters
In order to build the Extent for a BQL request instead of typing it, you can use the ExtentBuilder in Bql Builder. You can select the
Restrict Type and choose the module and item to use with the FROM clause. It will immediately appear in the BQL statement at
the top.
This also changes the items that are available in the projection.
If you choose a history Scheme, the ExtendBuilder will provide different selections. The extent for a History typically can be one
of the following:
• "from /demo/Float" where demo is the station name
• "from !Float" where "!" signifies the current station
workbench:QualifierBuilder
To build the Qualifier for a BQL request, type the request in the QualifierBuilder of the Bql Builder. The text you type immediately
appears in the BQL statement at the top.
Edit Facets
Edit Facets allows for the viewing and editing of facets. To change facets, use the button to the right of the facets. It opens the
Edit Facets window.
From here you can Add, Remove or select the Enum Range window.
210 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 6 Plugin Guides
workbench-ServiceManager
workbench-SlotSheet
The Slot Sheet shows all the user visible slots of the Component. This includes Properties, Actions, and Topics.
The Slot Sheet is a table that shows the following for each slot:
• Slot
• #
• Name
• Display Name
• Definition
• flags
• Type
The Slot Sheet also optionally shows any Name Maps. The Slot Sheet includes the following menus:
• SlotSheet Main Menu
• SlotSheet Component Menu
Due to our policy of continuous product innovation, some specifications may change without notification. 211
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 6 Plugin Guides Getting Started with Niagara
SlotSheet Toolbar
The Workbench toolbar contains navigation and editing buttons. When the Slot Sheet is visible, additional toolbar buttons include
the following:
• Add Slot: Add Slot allows you to add a slot to the Component.
• Rename Slot: Rename Slot allows you to rename a slot in the Component
• Config Flags
• Reorder
Configure Facets on the Component is available on Properties. Right-click on a property to view the Config Facets window.
workbench-StationSummary
StationSummary is the default view on a station. It holds primary components (for example, Config, Files, History) and shows
specific configuration information about the station’s host platform, including the following:
• Station Name
• Host
• Host Model
• Host Id
• Niagara Version
• Java Version
• OS Version
• Locale
• Current Time
212 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 6 Plugin Guides
(AX-3.7 and later) The Synthetic Module File View is the default view on a synthetic module.
workbench-TextFileEditor
The TextFileEditor Plugin provides a powerful Color coded text editor. It supports Color coding of C, java and xml file types.
TextFileEditor Menus
The Workbench main menu functions are available.
TextFileEditor Toolbar
The Workbench toolbar contains navigation and editing buttons as described in “About the toolbar”.
File Types
The TextFileEditor Plugin provides a powerful Color coded text editor. It supports Color coding of C, java, properties, Python and
xml file types. See the section, “Text Editor options” to change editor options including Color coding.
C Files
The TextFileEditor supports special Color coding for C files including:
• Preprocessor - #include
• Line Comment - / comment /
• Multiline Comment - /* comment */
• String literal - "string" and 'string'
• Number literal - '0' and 'F'
• Keyword - blue - if
CSS Files
The TextFileEditor supports special Color coding for CSS files including:
• Identifier - HTML element or CSS identifier
• Line Comment - / comment /
• Multiline Comment - /* comment */
• String literal - "string" and 'string'
• Number literal - '0' and 'F'
• Keyword - blue - if
HTML Files
The TextFileEditor supports special Color coding for HTML files including:
• Identifier - HTML element
• Multiline Comment - <!– Comments here –>
• String literal - "string" and 'string'
• Number literal - '0' and 'F'
• Keyword - blue - if
Due to our policy of continuous product innovation, some specifications may change without notification. 213
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 6 Plugin Guides Getting Started with Niagara
Java Files
The TextFileEditor supports special Color coding for Java files including:
• Bracket - ( { [
• Keyword - if
• Line Comment - / comment /
• Multiline Comment - /* comment */
• String literal - "string" and 'string'
• Number literal - '0' and 'F'
JavaScript Files
The TextFileEditor supports special Color coding for JavaScript files including:
• Bracket - ( { [
• Keyword - if
• Line Comment - / comment /
• Multiline Comment - /* comment */
• String literal - "string" and 'string'
• Number literal - '0' and 'F'
Properties Files
The TextFileEditor supports special Color coding for properties files including:
• Line Comment - #
• Bracket - =
Python Files
The TextFileEditor supports special Color coding for Python files including:
• Bracket - {}()[]
• Keyword - if
• Line Comment - #
• String literal - "string" and 'string'
• Number literal - '0' and 'F'
Xml Files
The TextFileEditor supports special Color coding for Xml files including:
• Multiline Comment - <!– comment –>>
• Bracket - < > < >
• String literal - "string" and 'string'
214 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Chapter 6 Plugin Guides
workbench-WbPxView
PxView is a dynamic view which may be added to Components as a property. PxViews store the view contents in a PxFile which
is an XML file with a Px extension. The view itself is defined as a tree of bajaui: Widgets.
WbPxView Menus
The Workbench main menu functions are available. When the Px Viewer is visible.
PxViewer View Source Xml
You can view the source XML of a Px Page by selecting View Source Xml from the main menu.
workbench-WbServiceManagerView
Workbench Service Manager allows you to view services. It is available from the Tools menu.
workbench-WebWidget
This is a bajaux, HTML5-based application that incorporates a view with interactive functionality which allows you to edit
properties and invoke commands from the view. You can easily add data to a WebWidget, such as the WebChart or Dashboard,
simply by dragging one or more components onto the widget. The widget renders in both Workbench and HTML5 Hx interfaces.
The widget also integrates into the environment. For example, commands defined for a WebWidget render as added tool bar
icons in Workbench, as well as in the HTML5 Hx profile in a web browser.
Due to our policy of continuous product innovation, some specifications may change without notification. 215
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Chapter 6 Plugin Guides Getting Started with Niagara
• The CircularGauge displays the graphical gauge view which updates with live data and provides contextual information
for the current value. At any time you can dynamically switch the display to another component simply by dragging and
dropping a different component onto this widget.
Figure 154: CircularGauge WebWidget
• A Dashboard may be added to any PxPage and displayed in the PxViewer. Additional WebWidgets may be added to the
Dashboard pane to customize the presentation of data. The dashboard is used to write dashboard-specific data to and
from a station for a specific user.
Figure 155: Dashboard WebWidget
216 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Appendix
APPENDIX
The following topics are covered in this appendix:
• About keyboard shortcuts
• Types of menu bar items
• Types of popup menu items
• Types of side bars
• Types of edit commands
• Types of toolbar icons
• Types of console commands
This appendix contains reference topics about keyboard shortcuts, menu bar items, popup menus, and toolbar icons.
• About keyboard shortcuts: Explains how to use the keyboard to enter menu bar and popup menu commands, without
using the mouse.
• Types of menu bar items: Describes the different menu items available from the menu bar.
• Types of popup menu items: Describes the popup menus that appear in different views and contexts.
• Types of toolbar icons: Describes the types of icons that are in the toolbar.
Due to our policy of continuous product innovation, some specifications may change without notification. 217
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Appendix Getting Started with Niagara
218 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Appendix
Due to our policy of continuous product innovation, some specifications may change without notification. 219
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Appendix Getting Started with Niagara
• Save All
Save all open views. This saves all tabs when browsing with multiple tabs.
• Recent Ords
Recent Ords allows you to see recent Ords. The shortcut is Alt + Space.
• Refresh
Refresh allows you to refresh the current view.
• Home
Home allows you to go to the home view. The shortcut is Alt + Home.
• Printing
Printing provides the capability to print the current view. When it appears dimmed, printing is not available.
• Export
Export provides the capability to Export the current view. When it appears dimmed, Export is not available.
• Logging off the System
You may exit the system by a number of means. You may Close the session, Close All sessions, Exit, or Close the current
window.
– Close Session: You may logoff the Station at any time by selecting File→Close from the main menu. Once you
successfully close a session, it will be removed from the tree. This could leave a user interface running without an
open session.
– Disconnect: You may logoff the system at any time by right-clicking the connected system in the tree and select
Disconnect. This allows you to close a session with a Station without removing it from the tree.
– Dismiss: You may logoff a connected system at any time by Right-clicking the connected system in the tree and
select Dismiss. This allows you to close a session with a Station and remove it from the tree.
– Exiting the System: You may exit the system at any time by selecting File→Exit from the main menu. This differs
from logoff in that it also causes the user interface to stop.
– Close the Current Window: You may close the current window at any time, if it is not the primary window, by any of
the following methods:
– selecting File→Close from the main menu.
– pressing the box in the top left corner, and selecting Close from the menu.
– pressing the close icon in the top right corner of the window
220 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Appendix
• New Window
New Window requests that a new window be created identical to the current one. This allows you to view multiple views
concurrently.
• New Tab
New Tab requests that a new tab be created identical to the current one. This allows you to view multiple views in the same window.
You can hold down the Ctrl key while double-clicking to hyperlink into a new tab. You can also Right-click to get a popup menu on
tabs to close the tab, or close all other tabs.
• Close Tab
Close Tab requests that a tab be closed.
• Close Other Tabs
Close Other Tabs requests that all other tabs be closed.
• Next Tab
Next Tab selects the next tab. The shortcut is Ctrl + PageUp.
• Previous Tab
Previous Tab selects the previous tab. The shortcut is Ctrl + PageDown.
Due to our policy of continuous product innovation, some specifications may change without notification. 221
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Appendix Getting Started with Niagara
• Copy
This copies the current contents of the clipboard to the destination component as a set of new dynamic properties. If the selection
is a string, Copy makes a copy of the current text selection and places it in the clipboard. To copy a component, do any of the
following:
– Right-click a Component in a view or tree and choose Copy.
– Right-click the background in the Wire Sheet choosing Copy.
– In the Wire Sheet press the Copy toolbar button.
– In the Wire Sheet select Edit→Copy from the main menu
– Pressing the shortcut key Ctrl + C (hold down Ctrl and press C) when in a window other than the main browser window.
You can copy a selected group of Components in the Wire Sheet. You can use Drag to Copy also.
To copy a Component, you must copy it from the palette or an existing database. You can follow one the following steps:
– In the Palette Sidebar, expand a module (like control) and sub-directory (like Points), right-click on a component (like
BooleanWritable) and select Copy.
– In the namespaces sidebar (tree), expand System, Modules, a module (like control), Files, module.palette, and sub-
directory (like Points), right-click on a component (like BooleanWritable) and select Copy.
– Or, right-click on a Component that you want to Copy from a Wire Sheet, Property Sheet or the tree and select Copy.
222 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Appendix
• Paste
Paste copies the contents of the clipboard to the destination Component as a set of new dynamic properties. If the target is a
string, Paste places a reference to the source that was cut or copied into clipboard.
It may be accessed by cutting or copying item(s) and doing the following:
– Right-clicking the item and choosing Paste.
– Right-click in the tree and choosing Paste.
– In the Wire Sheet press the Paste toolbar icon.
– In the Wire Sheet select Edit→Paste from the main menu
– Pressing the shortcut key Ctrl + V (hold down Ctrl and press V) when in a window other than the main browser
window.
You can use Drag to Cut and Paste in one operation.
You can add acComponent to a running Station or an offline Bog File file. You can do this using any of the following:
– In the Wire Sheet, right-click on the background and select Paste to add the new Component. The new Component is
created and is selected.
– In the tree, Right-click on a Container and select Paste to add the new Component inside the Container.
If you select Help→Guide On Target with a Component selected, you will get the Guide for that Component. If you select
Help→Bajadoc On Target with a Component selected, you will get the bajadoc for that Component. The BooleanWritable bajadoc
is at module://control/doc/javax/baja/control/BBooleanWritable.bajadoc.
• Paste Special
Paste Special copies the contents of the clipboard to the destination Component when it is a Special Transferable.
• Duplicate
Duplicate copies the current Selection and places a duplicate in the same Container. This function may be accessed from the
menu under Edit (shortcut Ctrl + D) or from the toolbar.
• Delete
Delete removes the current Selection from its parent Container. It may be accessed by selecting an item and doing the following:
– Right-clicking the item(s) and choosing Delete.
– Right-clicking in the tree and choosing Delete.
– In the Wire Sheet pressing the Delete toolbar button.
– In the Wire Sheet selecting Edit→Delete from the main menu.
• Undo
This reverses the last Action as if it had not been performed. It is only available for certain actions such as:
– Paste Component
– Cut Component
– link
– Delete Links
Due to our policy of continuous product innovation, some specifications may change without notification. 223
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Appendix Getting Started with Niagara
• Redo
This restores an Action after Undo has removed it. It is only available after a successful Undo.
• Replace Files
Replace Files allows you to replace the all occurrences in the files.
• Console Prev
Console Prev allows you to go to the previous console error. The shortcut is F7.
• Console Next
Console Next allows you to go to the next console error. The shortcut is F8.
224 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Appendix
• Bookmarks File
You may select Bookmarks by selecting Bookmarks→ File from the main menu.
• ColorChooser
The ColorChooser allows you to choose Colors.
Due to our policy of continuous product innovation, some specifications may change without notification. 225
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Appendix Getting Started with Niagara
• Manage Credentials
Manage Credentials is available in the main Tools menu by selecting Manage Credentials. You can reset or remove selected
Credentials or Remove All Credentials. You can also open selected Credentials.
• Request License
Request License is available in the main Tools menu by selecting Request License. You can request a license by submitting the
form.
226 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Appendix
Due to our policy of continuous product innovation, some specifications may change without notification. 227
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Appendix Getting Started with Niagara
Go to Source Xml Selecting this opens the Px source (xml) file directly in the text file editor. Files can be edited and
saved using the editor.
Grid This command toggles the grid display on and off.
Show Hatch This command toggles the hatching pattern visibility on and off. When hatching is on, dim angular
lines (hatching pattern) displays on objects to make them more visibly distinct.
Zoom In The Px Editor display zooms-in on the canvas pane displaying less of the page at an enlarged size.
Zoom Out The Px Editor display zooms-out on the canvas pane displaying more of the page at a reduced size.
Reset Zoom Resets the canvas pane magnification to x1.0 (100%), displaying the Px page in actual size.
Set Target Media This command is available when you are editing a Px file directly in the Px Editor, not when you
are editing the Px file as a view of a component. When selected, this command displays the Set
Target Media dialog box to allow you to choose your expected media viewer:
• Workbench:WbPx Media
• hx: HxPxMedia
• report: ReportPxMedia
• mobile: MobilePx Media
228 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Appendix
Due to our policy of continuous product innovation, some specifications may change without notification. 229
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Appendix Getting Started with Niagara
230 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Appendix
Figure 157: Nav side bar popup menu with component selected
Due to our policy of continuous product innovation, some specifications may change without notification. 231
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Appendix Getting Started with Niagara
Edit Tags Opens the Edit Tags window, permitting you to add or remove tags on a component.
Make Template Creates a template of the selected root component, collects all associated Px and graphic files, and invokes
the Template view, allowing you to configure the template for deployment.
Cut Copies to clipboard and after pasting the copy, deletes the cut item.
Paste Special
232 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Appendix
Item Description
Reorder Opens the Reorder Points window, which provides the following commands for reordering points
within the selected parent component.
• Move Up
• Move Down
• Sort by Name
• Sort by Type
• Reset
Composite This menu item opens the Composite Editor window.
Refresh This menu item updates the display of the currently active view.
Go Into Go Into allows you to re-root the nav tree at any arbitrary node. Right-click the node and select the
Go Into command. This will make that node the new root of the tree. All the nodes you have "gone
into" are persistently saved as a special type of Bookmark. Use the pulldown to switch between
them. This feature is quite handy when working with multiple stations or deep file systems and
databases.
Pin Slots Opens the Pin Slots window. Clicking to “Pin” a slot makes that slot visible in the Wire Sheet view.
Clicking to “Unpin” a pinned slot has the opposite effect.
More... Indicates the presence of additional menu items. Click More to display those items.
Due to our policy of continuous product innovation, some specifications may change without notification. 233
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Appendix Getting Started with Niagara
234 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Appendix
• Config flags: Opens the Config dialog box which you can use to add configuration flags on individual slots.
Due to our policy of continuous product innovation, some specifications may change without notification. 235
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Appendix Getting Started with Niagara
Cut Copies to clipboard and after pasting the copy, deletes the cut item.
236 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Appendix
Item Description
Align • Left: This command is available when you select two or more objects in the Px Editor.
Choose the Left command to align the left edges of two or more objects along a vertical
line.
• Right: This command is available when you select two or more objects in the Px Editor.
Choose the Right command to align the right edges of two or more objects along a vertical
line.
• Top: This command is available when you select two or more objects in the Px Editor.
Choose the Top command to align the top edges of two or more objects along a horizontal
line.
• Bottom: This command is available when you select two or more objects in the Px Editor.
Choose the Bottom command to align the bottom edges of two or more objects along a
horizontal line.
Reorder • To Top: This command is available when you select one or more objects in the Px Editor.
Choose the To Top command to move the selected object to the top position (inside its
parent object) in the Widget Tree. This command will place the object in front (with respect
to the view pane, or z-axis) of all other objects in the parent object, but will not move the
object out of its parent object.
• Up: This command is available when you select one or more objects in the Px Editor.
Choose the Up command to move the selected object one position higher in the Widget
Tree and forward one position in the view pane. This command will not move the object out
of its parent object.
• Down: This command is available when you select one or more objects in the Px Editor.
Choose the Down command to move the selected object one position lower in the Widget
Tree and back one position in the view pane. This command will not move the object out of
its parent object.
• To Bottom: This command is available when you select one or more objects in the Px
Editor. Choose the To Bottom command to move the selected object to the bottom position
(inside its parent object) in the Widget Tree. This command will place the object behind
(with respect to the view pane, or z-axis) all other objects in the parent object, but will not
move the object out of its parent object.
Border • Add Border: This command is available when you select one or more objects in the Px
Editor. Choose the Add Border command to wrap selected object(s) with a border pane.
Each selection is wrapped in a separate border pane.
• Remove Border: This command is available when you select one or more border panes in
the Px Editor. Choose the Remove Border command to delete selected border pane(s).
Due to our policy of continuous product innovation, some specifications may change without notification. 237
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Appendix Getting Started with Niagara
238 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Appendix
Due to our policy of continuous product innovation, some specifications may change without notification. 239
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Appendix Getting Started with Niagara
• Composite
This menu item displays the Composite Editor dialog box.
• New Folder
This menu item allows you to add and name a new points folder.
• New
This menu item allows you to add and name a new point.
• Edit
This menu item displays the Point Editor dialog box.
240 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Appendix
The following side bars may be displayed in the side bar pane by default:
• Bookmarks side bar
This displays a list of your bookmarks.
• Help side bar
This provides a tree view of available help documentation.
• Jobs side bar
The Jobs side bar lists all current jobs in all of the stations with which you have a connection. The current status of each job is
shown.
• Nav side bar
This provides a tree view of the system.
• Palette side bar
This provides a tree view of components that are available in specific palettes.
• Search side bar
Allows you to enter search queries and access cached results from your previous queries. Also, you can edit Search Settings
(requires super user permissions).
• Template side bar
Provides access to all template files located in your Workbench User Home ~templates folder, as well as to any templates stored
in modules located in the SysHome !modules folder.
• Todo List side bar
Provides a customizable list of tasks or notes.
Due to our policy of continuous product innovation, some specifications may change without notification. 241
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Appendix Getting Started with Niagara
Close dropdown — drop down control used to close the side bar
Pane title— text that identifies the side bar type
Close — alternative to the Close dropdown, closes the side bar
Expand/Restore — clicking on the expand/restore icon causes the side bar to expand, filling the side bar pane and collapsing
other open side bars. Click again to restore the normal side bar display.
From the bookmark side bar, you can double click on bookmark nodes or use popup menus to perform all operations that are
available from the side bar (for example, go directly to a bookmarked location, manage bookmarks, edit bookmarks, and more).
The quick access provided here is very helpful for changing screens without having to go through multiple selections using other
menus or submenus.
242 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Appendix
The following icons on the Jobs side bar indicate job status:
• Running
Indicates that the job is currently running.
• Success
Indicates that the job has completed without error.
• Failed
Indicates that the job did not complete.
• Unknown
Indicates that the job status is not available.
From the Jobs side bar, you can click on the arrow icon >> to open the Job Log dialog box. The Job Log dialog box displays a
listing of the actions performed as part of the job. Each entry in this log contains a detailed description that you can view by
double-clicking on the entry to open the Log Details dialog box.
Due to our policy of continuous product innovation, some specifications may change without notification. 243
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Appendix Getting Started with Niagara
Items are displayed in the tree with a symbol based on type. If the item is a file, the symbol reflects the file type. Refer to “Types
of nodes in the Nav tree side bar”for more details about file types. Refer to “About the Nav side bar popup menu items” for more
details about the Nav side bar popup menu.
At the highest level, the Nav side bar tree may include the following (when working from a localhost, as shown):
• My Host (local system)
• My File System
• My Modules
• Platform
• Stations (connected or disconnected)
From the Nav side bar, you can double click on nodes in the Nav tree or use popup menus to perform all operations that are
available from the Nav side bar (for example, connect or disconnect to a station, refresh a tree node, and more). The expandable
tree provided here is very useful for performing actions on nodes and for navigating through various screens and views
inWorkbench. Items are displayed in the tree with an icon that represents the associated function or file type.
244 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Appendix
When expanded, displays a tree view of the station contents or “configuration”. The config node usually contains one or more of
the following types of nodes:
• Services: Component for storing services, such as alarm service, history service, tagdictionary service, and more.
• Drivers: Provides a place to store driver modules (such as the NiagaraNetwork, BACnet drivers, Modbus, and more).
When expanded, displays a tree view of loaded driver modules.
• Apps
• Schedules
• Control or Logic: Control points may be displayed directly in the root of the Config node.
Due to our policy of continuous product innovation, some specifications may change without notification. 245
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Appendix Getting Started with Niagara
New tree button: Creates a new tree in the nav side bar. When you have more than one tree node, you can select one to
activate from the dropdown tree selector.
Sync tree button: Synchronizes the tree node display with the currently selected view.
Close tree button: Closes the currently displayed side bar.
Drop-down tree selector: When multiple Nav side bars are open, this selector allows you to choose which one to display.
From the Palette side bar, you can open multiple palettes, close palettes and view modules within palettes. You may also double-
click or use popup menus to perform all operations that are available from the Palette side bar (for example, copy modules, select
a module view, refresh the tree node, and more). The expandable tree provided in the palette allows you to perform actions on
nodes within the palette and to navigate through the palette sub-directories. Items are displayed in the tree with an icon that
represents an associated function or file type.
246 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Appendix
The palette side bar also has a component preview pane (shown below) that displays an image (when available) of the selected
component.
Figure 169: Palette preview pane
Palette previews display in the palette when components have images configured either as the default image property or as the
image assigned to the comPreviewWidget property. If no preview is associated with a component, you can add a
compPreviewWidget property to a widget to display an image in the preview pane of the palette side bar.
Preview button — toggles the preview pane on and off. Previews are available on some components.
Dropdown palette selector — when palettes are open in the palette side bar, this selector allows you to choose which
palette to display.
Due to our policy of continuous product innovation, some specifications may change without notification. 247
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Appendix Getting Started with Niagara
The Open Palette window is shown above and has the following features:
• Filter field
This is a text field that allows you to type the beginning letters of the desired palette name to filter out palettes from the view. For
example, typing in the letters “mo” removes palettes that do not begin with the letters “mo”. You may use the * (asterisk) character
as a “wild card” entry in this field. All palettes are listed in the table if no text is entered in this field.
• Browse button
This button opens the File Chooser window to allow you to select palettes that are located in alternate locations.
• Table of palettes
The table of palettes has the following columns
– Module: This is the name of the palette’s parent module
– Description: This is a short title or name of the palette’s parent module
248 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Appendix
The Search side bar provides a query field for entering your search criteria. For example, you might enter “n:point” to query for all
points in the station that have the Niagara tagdictionary point tag.
Click the gear icon to configure the number of search results to display per page. The “>” or “<” page through the results. The
search results area provides access to additional information too. Click the “>” icon to the right of a result to expand it, showing
the Ord and current status. In an expanded result, click the icons (at right) to view the live data either in a gauge or chart.
Due to our policy of continuous product innovation, some specifications may change without notification. 249
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Appendix Getting Started with Niagara
The pull-down list in the side bar switches the view between the \templates and \modules folders. When the \modules folder is
selected, expand any module to see the template files contained within.
Double-click on a template file to open it in the Template view. When you open a file in the templates folder you can proceed to
make changes and save the file. Optionally, you can create a new variation of an existing template by clicking Save As in the view
to save it with a new name.
Note:
Any template stored in a module is a read-only file which you cannot edit. When you open a template in a module, you will see
“ReadOnly” in the top left corner of the Template view. To make changes you must first click Save As and save the template with
a different filename in the Workbench User Home /templates folder.
Click the + button on the toolbar to open the Add window. This window provides a text fields for adding and categorizing Todo list
items.
The current status of each job is shown as: running, canceling, canceled, success, or failed. If the job is running, a progress bar
displays estimated progress.
You may cancel a running job by pressing the Cancel icon. Normally, once a job has completed you are notified via the async
notification feature. You may then dismiss the job by pressing the Close icon. The details of the job may be accessed using the
“>>” icon to display the Job Log dialog box.
250 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Appendix
Double click on any ORD in the list to display the ORD in the ORD editor window.
It is often easier to use the Widget Tree to select objects when you have a lot of objects on a view, especially when there are
several layers of objects. When you select an object in the tree view it is selected in the Px view as well and displays the selection
borders and handles.
Due to our policy of continuous product innovation, some specifications may change without notification. 251
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Appendix Getting Started with Niagara
Use the menu bar icons to add, define, assign, and delete Px properties.
Double click on any object in the widget tree or in the in the Px viewer to display the properties window (same information as the
properties side bar).
252 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Appendix
Due to our policy of continuous product innovation, some specifications may change without notification. 253
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Appendix Getting Started with Niagara
254 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Appendix
• Left align
Aligns left edges of selected objects along a vertical line.
• Right align.
Aligns right edges of selected objects along a vertical line.
• Top align
Aligns top edges of selected objects along a horizontal line.
• Bottom align
Aligns bottom edges of selected objects along a horizontal line.
• To Top
Moves selected objects to the highest position (with regard to z-order) in the parent object.
• To Bottom
Moves selected objects to the lowest position (with regard to z-order) in the parent object.
• Select
Activates the pointer tool used to select objects in the Px Editor view using the mouse.
• Add Polygon
Activates the polygon tool for drawing polygons.
Due to our policy of continuous product innovation, some specifications may change without notification. 255
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Appendix Getting Started with Niagara
• Add Path
Activates the path tool that allows you to draw bezier curves in the Px Editor view.
• Add Point
Activates the Add Point tool that allows you to add a point to a path or a polygon in the Px Editor view.
• Delete Point
Activates the Delete Point tool that allows you to remove a point from a path or a polygon in the Px Editor view.
256 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Appendix
Due to our policy of continuous product innovation, some specifications may change without notification. 257
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Appendix Getting Started with Niagara
Shell commands
• cd
This command displays and changes the current directory. Type cd <directory name> to change to a specific directory. Type cd to
display the current directory.
• debug
This command turns debug tracing on and off. Type debug on to turn on debug. Type debug off to turn off debug.
• print
This command prints a message to the output stream. Type print <message> to print the literal message to the console.
• reset
This command resets the environment to its default state. Type reset to set the environment to its default state.
• set
This command displays and modifies environment variables.
– Type to set to display all the environment variables.
– Type set <prefix> to display all the environment variables that start with the specified prefix.
– Type to set <name>= to remove the “named” variable.
– Type to set <name>=<value> to set the “named” variable to the “value” specified.
• which
This command resolves a filename in a path. Type to which <filename> to find the first occurrence of the specified “filename”.
258 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Appendix
• -licenses
This option displays a summary of the license information.
• -props
This option displays a list of the system properties.
• -locale:<x>
This option allows you to set the default locale. For example, to set the default locale to US English, type: -locale:en_US
• -@option
This option allows you to pass the specified option to the Java VM.
• -testheap
This option tests and displays the max heap size.
• -buildreg
This option causes a rebuild of the registry.
wb (Workbench) commands
The wb command starts up an instance of Workbench. Use the following syntax with the wb command:
wb [options] <ord>
The following parameter may be used with the wb command.
• ORD
This option specifies the ORD of the initial view that you want display when Workbench starts up. The following options may be
used with the wb command.
• -profile
This option specifies the Workbench profile to assign when Workbench starts up.
• -file:ord
This option specifies the initial file to display when Workbench starts up.
• -locale<x>
This option sets the locale on startup.
• -@<option>
This option allows you to pass the specified option to the Java VM.
Due to our policy of continuous product innovation, some specifications may change without notification. 259
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Appendix Getting Started with Niagara
260 Due to our policy of continuous product innovation, some specifications may change without notification.
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp.
Getting Started with Niagara Appendix
• unistalldialup
This command removes the Niagara dialup service (Win32 only). The following options may be used with the plat command.
• -usage
plat -usage prints the help listing in the console
plat <command> -usage prints the command specific usage in the console
• -?
– plat -? prints the help listing in the console
– plat <command> -? prints the command specific usage in the console
• -help
– plat -help prints the help listing in the console
– plat <command> -help prints the command specific usage in the console
• -locale:<x>
This option sets the default locale (en_US).
• -@<option>
This option passes the option to the Java VM.
• -buildreg
This option forces a rebuild of the registry.
Due to our policy of continuous product innovation, some specifications may change without notification. 261
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Getting Started with Niagara
Glossary
GLOSSARY
alarm A notification that a defined event has occurred or an indication that some value is not within an
appropriate or expected range. For example, a security breach, temperature limit, or equipment
malfunction can initiate an alarm notification. Text and icons on the Alarm Console identify alarm
severity.
alarm console A table view that lists all current alarms for an individual station. This view is available on the alarm
recipient component (in the Alarm Service).
alarm portal A table view that lists alarms collected from multiple stations. To access this view from the main menu,
click Tools→AlarmPortal.
category A logical grouping of system objects (components, files and histories), either by directly assigning
objects to the category, or by creating a NEQL query that returns a group of objects. Two types of
categories are supported:
• Basic categories, for example, may be used to group objects by geography (floor 1, floor 2,
etc.) or type of object (lighting, HVAC, etc.). Each category may be subject to separate user
roles and permissions. Each new station has two default categories: user (category 1) and
Admin (category 2).
• Tagged categories group objects based on a NEQL query. Assuming that you tag each new
component with an identifying tag, your tagged category includes all components that satisfy
the query. Adding a component only requires you to set up the component and tag it
appropriately. You do not have to assign the component to a category.
You manage categories using the CategoryService.
certificate A PKI (Public Key Certificate) or digital certificate is an electronic document used to prove ownership
of a public key. The certificate includes information about the key, the identity of its owner, and the
digital signature of an entity that verified the validity of the certificate’s contents. If the signature is
valid, and the client can trust the signer, the client can be confident that it can use the public key
contained in the certificate to communicate with the server.
component A piece of self-describing framework software that can be assembled like building blocks to create new
applications. Components represent individual points, such as outside temperature, office temperature,
occupancy, and schedules that generate analog data for analysis within the system. Components differ
from modules in that components comprise an implementation of the framework, whereas modules
comprise the framework software itself.
config flag A configuration flag is a boolean value that is stored as part of a bitmask on each slot of a Baja object.
Some flags apply to all slot types, while others only have meaning for certain slot types. You access a
slot’s config flags by right-clicking the slot and clicking ConfigFlags.
control point In the narrowest terms, control points refer to the eight point types found in the baja control palette
under the Points folder. In broader terms, control points include components from the control and
kitControl palettes. Most of these components are based on the eight basic point types. They inherit
from BooleanPoint, EnumPoint, NumericPoint, and StringPoint.
ControlPoint is the base class for all point types in the Baja control architecture. A ControlPoint
maps to one value that a driver reads or writes. All Control Points have a StatusValue property
called Out.
If the predefined proxyExt is not a NullProxyEct, the system considers the point a proxy point. This
means that it is a local representation of a point that actually exists in an external device. The
framework uses the driver to maintain synchronization.
framework Software that provides generic functionality. The framework can be customized by adding user-
written code.
history An ordered collection of timestamped records. Each history is identified by a unique id. Histories can
be periodically archived to a remote history database (archive). A history database is a set of
histories. History is also used as a scheme in ORDs to refer to collective histories.
niagarad The Niagara daemon (niagarad) is a server process used to communicate between Workbench (as a
client) and the platform to which Workbench is connected.
node 1. A connection point between the system and a real or virtual device. Devices become a node
when they register with the system, providing a name and connection information. An ORD provides
access to the device.
2. A position in a Nav tree hierarchy.
3. The primary organizational unit of a Niagara Analytics Framework data model tree. Like a folder,
a node is a container that holds points or other containers. The nodes of the Niagara Analytics
Framework data model provide the structural framework for the model.
object An object is the base class required for all system entities that conform to the baja model. Objects
group information used to construct a model that includes building devices, virtual devices, individual
points, users, system features and services. Objects appear in the Nav tree as files, modules,
installers, administrators, copiers, drivers and apps. Metadata associated with objects, including
categories, roles (permissions), and hierarchies, provide access control and configuration options to
manage automated buildings efficiently.
ORD An ORD is an “Object Resolution Descriptor”. The ORD is the Niagara universal identification system
and is used throughout the framework. The ORD unifies and standardizes access to all information.
It is designed to combine different naming systems into a single string and has the advantage of
being parsable by a host of public APIs.
palette The palette provides a hierarchical view of available components. You copy or drag a component
from a palette and paste it or drop it where you need it, on a wire sheet, property sheet, Px View, or
in the palette Nav side bar pane.
point extension A component that extends control of point behavior in a consistent manner. Each property of a
ControlPoint that exists as a subclass of a PointExtension is considered an extension on the point.
Extensions allow plug-in functionality, such as alarming and historical data collection via special
hooks that a ControlPoint provides to the PointExtension.
Due to our policy of continuous product innovation, some specifications may change without notification. 263
©LG Electronics U.S.A., Inc., Englewood Cliffs, NJ. All rights reserved. “LG” is a registered trademark of LG Corp
Getting Started with Niagara
Glossary
PX Editor A tool for creating graphical representations of ducting, piping, and the equipment used in a
building. The editor allows the creation of PC and mobile views.
template A deployable package of Niagara objects used to streamline repetitive configuration steps when
making multiple installations with similar functionality. For example, when setting up a new device
by deploying a device template, only unique device properties require configuration. Templates
are indexed and searchable.
LG Customer Information Center, Commercial Products
1-888-865-3026 USA
Follow the prompts for commercial A/C products and parts.