nhaystack | Niagara module for Project Haystack
kandi X-RAY | nhaystack Summary
kandi X-RAY | nhaystack Summary
To get started with exposing a Niagara 4 station as a Haystack server, install nhaystack-rt.jar into a Niagara 4 station. Then open the nhaystack palette in Workbench, and drag-and-drop the NHaystackService onto the "/Services" folder of your station. This is all you need to do to get rolling. Your station is now automatically serving up all its ControlPoint objects and Histories as haystack point recs, via the Haystack REST Api. Many of the tags that are defined as being associated with points, like kind, unit, tz, his, cur, etc. are automatically generated for you. The NHaystackService maintains an in-memory cache of all the Haystack records it finds in your Niagara Station. When you first add the NHaystackService to your station it needs to be enabled. This can be done from the Property Sheet of the NHaystackService. When the service initialises it builds the in-memory cache of the Haystack records it finds. This process also happens when the station is started or restarted. If you examine the output from the Application Director of your station you will see a number of messages logged there advising of the status of the cache building process. If at anytime whilst the station is running you make a change to any tags or site/equipment entities then it you must make sure you execute a cache rebuild. This can be done by finding the NHaystackService in your station and right-clicking on the service. From the context menu that appears select Actions->Rebuild Cache. If you do not do this then your changes will not appear in any queries to the NHaystackService from either internal or external clients. When using the NHaystack module in Niagara and configuring your station as a Haystack server you will most likely want to enable the servlet. The NHaystackService comes with a built-in, fully compliant implementation of the Project Haystack REST API specification. This servlet enables external Haystack clients to interact with your Niagara Station. To enable the built-in servlet that implements the Project Haystack REST API navigate to the Property Sheet of the NHaystackService in your station and you will find the property that enables the servlet. Additionally there is an opportunity to provide a custom name for the servlet. By default the servlet name is haystack and it is recommended that this default name remains unchanged as other clients will be expecting this servlet name as a defacto standard. It is recommended to enable the servlet immediately after installing the NHaystackService so that other clients are able to interact with your station.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Performs a simple search using HStr and HStrains
- Search for all the tags in a particular row
- Search for a tag list
- Fetch all sites
- Do the import
- Make a trend record
- Creates the configuration object
- Get the equip tags from the given parameters
- Generate the tags for this component
- Find duplicate points
- Associate a set of points to a particular IDF
- Reads the history from the specified date range
- Loads the units
- Main entry point
- Handle a service request
- Returns the number of unique tags in the grid
- Handle an alarm record
- Pull tags from hgstack
- Initializes the main grid
- Creates the BHEQuip components
- Load auto markers
- Call this method to get the appropriate alarm points
- Applies the specified tags to the batch
- Add new tags to the HGrid
- Submits a set of events
- Called when names are modified
nhaystack Key Features
nhaystack Examples and Code Snippets
Community Discussions
Trending Discussions on nhaystack
QUESTION
I am supposed to make two programs:
- First program takes a command line argument which is a number, and then it takes more inputs after execution, and if any those equal the command line number you entered, it comes back true, else it comes back false.
- The second program generates a bunch of numbers, and if you want you can give it a seed.
Both of these programs work independently correctly, it stops working when I try to pipeline them (./generate 1000 50 | ./find 817
).
Usage:
...ANSWER
Answered 2017-Jul-07 at 21:12Sort is overwriting the first half or so entries from ./generate.
QUESTION
new to C here. I am making a program that will sort and search a list of random ints for learning purposes, and trying to implement Bubble sort, but am getting odd results in my console during debugging.
I have an array like so:
...ANSWER
Answered 2017-Mar-25 at 17:07The highest entries you can swap in an array 0..n-1
are n-2
and n-1
. So i
may not be larger than n-2
so i+1
accesses n-1
.
Therefore your check must be:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install nhaystack
You can use nhaystack like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the nhaystack component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page