This blog is all about learning to do cool stuff with the Tridium Niagara Ax Framework and sharing knowledge.
Thursday, October 15, 2015
Sunday, October 11, 2015
Saturday, October 10, 2015
How to view platform info with a browser and not login to the Niagara Ax station.
You have to know the platform user and password.
http://<ipAddress>:3011/platformInfo - this view provides much of the same information that is available through Workbench when looking at the Platform Administration view.
http://<ipAddress>:3011/qnx - this view is only available for JACEs which use the QNX operating system. This view provides much of the same information that is available through Workbench when looking at the spy pages.
Labels:
browser,
Niagara ax platform,
Trouble shooting
Thursday, October 8, 2015
How can you tell if Niagara Ax JACE is overloaded?
When using Workbench, right-click on the connected station in the nav sidebar and select View -> Resource Manager.
• The CPU usage should be less than 80% on a continuous basis.
• The heap.used should be less than 75% of the heap.max value. Execute garbage collection before evaluating the heap.max value by right-clicking on the connected station in the nav sidebar and selecting Spy -> util -> gc.
• For a SoftJACE ensure that the resource.total is less than the licensed resource limit. SoftJACEs are licensed for either a 10,000 KRU or 30,000 KRU limit. If actual station resources exceed 110% of the licensed limit for a SoftJACE, the station will fail to start.
If running AX 3.1 or later, when using Workbench right-click on the connected station in the nav sidebar and select 'Spy'. On the Remote Spy page select 'platform diagnostics' and then 'fd usage'. This displays a list of processes and the number of open file descriptors for each.
QNX-based JACE controllers are limited to 1000 open file descriptors. File descriptors include but are not limited to directories, files, histories, and socket connections. If the number of open file descriptors exceeds the limit, the station will behave erratically such as misreporting available file space, missing history collections, etc. A maximum of 800 histories per station is recommended to avoid exhausting the pool of available file descriptors.
• The CPU usage should be less than 80% on a continuous basis.
• The heap.used should be less than 75% of the heap.max value. Execute garbage collection before evaluating the heap.max value by right-clicking on the connected station in the nav sidebar and selecting Spy -> util -> gc.
• For a SoftJACE ensure that the resource.total is less than the licensed resource limit. SoftJACEs are licensed for either a 10,000 KRU or 30,000 KRU limit. If actual station resources exceed 110% of the licensed limit for a SoftJACE, the station will fail to start.
If running AX 3.1 or later, when using Workbench right-click on the connected station in the nav sidebar and select 'Spy'. On the Remote Spy page select 'platform diagnostics' and then 'fd usage'. This displays a list of processes and the number of open file descriptors for each.
QNX-based JACE controllers are limited to 1000 open file descriptors. File descriptors include but are not limited to directories, files, histories, and socket connections. If the number of open file descriptors exceeds the limit, the station will behave erratically such as misreporting available file space, missing history collections, etc. A maximum of 800 histories per station is recommended to avoid exhausting the pool of available file descriptors.
Labels:
Niagara Ax,
Niagara workbench,
Trouble shooting
What can the second Ethernet port on the Niagara Ax JACE-2 and JACE-6 be used for?
Currently the only drivers that can be configured to use the second Ethernet port are Bacnet, ModbusTCP and EibIp.
The JACE does not act as an Ethernet router or switch, meaning it does not allow TCP/IP traffic to pass from one port to the other.
The second Ethernet port can be used to isolate a BACnet Ethernet or IP network from the primary LAN. All BACnet devices would be connected on the network segment that was connected to the secondary Ethernet port on the JACE. BACnet points that are proxied in the station could then
be viewed or commanded through graphics that are served up by the webService via the primary
Ethernet port.
The Niagara Network and the webService will be available on both network interfaces. With BACnet, you select which network interface to use on the link settings of the IP-port and/or Ethernet-port object under the BACnet network. With Modbus TCP the IP layer decides which network interface to use based on the IP address assigned to the Modbus TCP Device Object.
The second port must be on a different subnet. The second subnet cannot also have a default gateway - so you will be limited to one subnet on the second network interface.
Labels:
BACnet,
Ethernet port,
Niagara Ax
Thursday, October 1, 2015
How to set the BACnet server to TRACE in Niagara Ax
Right-click on the station in the nav
tree and select "Spy".
Then click "logSetup" to go to the screen for configuring logs.
Here you can set each of the various logs in your station to different levels of output - from None (no output), Error (only ERROR messages), etc. up to Trace (which prints diagnostic-level output useful for identifying problems when troubleshooting ). The default level for all logs is Message. Click the cell in the Trace column, and the row labeled "bacnet.server".
Then the station output will display trace-level messages for the bacnet.server log. From this you should be able to see where the requests are coming from and configure the offending device properly. In order to avoid unnecessarily burdening the station, you should turn trace debug off (by setting back to Message) when you are finished.
Note that log settings DO NOT persist across station restart, unless you click the Save To File link at the top. This will save them to the /lib/log.properties file, which is read upon station startup to initialize the log levels.
Then click "logSetup" to go to the screen for configuring logs.
Here you can set each of the various logs in your station to different levels of output - from None (no output), Error (only ERROR messages), etc. up to Trace (which prints diagnostic-level output useful for identifying problems when troubleshooting ). The default level for all logs is Message. Click the cell in the Trace column, and the row labeled "bacnet.server".
Then the station output will display trace-level messages for the bacnet.server log. From this you should be able to see where the requests are coming from and configure the offending device properly. In order to avoid unnecessarily burdening the station, you should turn trace debug off (by setting back to Message) when you are finished.
Note that log settings DO NOT persist across station restart, unless you click the Save To File link at the top. This will save them to the /lib/log.properties file, which is read upon station startup to initialize the log levels.
Labels:
BACnet,
Niagara-AX,
Trouble shooting
An Introduction to Color Theory for Web UI Design
What is Color Theory?
Color Theory actually covers a number of things, but at the most basic level it is the interaction of colors in a design through complementation, contrast, and vibrancy.While the first part of this definition is straightforward (and admittedly bland), it is the last 3 terms which define the basic Color Theory:
Complementation
Complementation refers to the way we see colors in terms of their relationships with other colors. When colors occupy opposite ends of the color spectrum, they lead people to consider a design visually appealing by establishing a happy medium the eye can reside in. Rather than straining to accommodate for a particular area of the color spectrum, the eye is provided a balance. Complementation can take you to new heights of design sophistication when you can begin to master the intricacies of color combinations.Contrast
Contrast reduces eyestrain and focuses user attention by clearly dividing elements on a page. The most apparent example of contrast is an effective selection of background and text color, as shown below:Along with establishing readable text, contrast can also draw the viewer’s attention towards specific elements of a page. Think about highlighting a textbook: when you want to draw your attention to a specific portion of the page, you make the surrounding area look different than the rest of the text. The same principle applies to Web UI Design: Using a variety of contrasting colors can help focus the viewer’s attention on specific page elements.
Vibrancy
Not to sound silly, but vibrancy dictates the emotion of your design. Brighter colors lead the user to feel more energetic as a result of your design, which is particularly effective when you are trying to advertise a product or invoke an emotional response. Darker shades relax the user, allowing their mind to focus on other things.Ways to Make Your Life Easier
Thankfully, there are a few tools at our disposal that make color
selection extremely easy when utilized properly. And best of all, they
will further our understanding of Color Theory.
By experimenting in a guided environment, we are able to learn how to
apply these principles without becoming frustrated when things are not
working perfectly. Think of these tools as a sort of “color theory
safety net”, to help you explore your own creativity without ever
needing to stray far from the established rules for pleasing color
combinations.
Kuler
Labels:
Niagara-AX,
Site,
UI
Subscribe to:
Posts (Atom)