nhaystack | Niagara module for Project Haystack

 by   ci-richard-mcelhinney Java Version: 3.2.0 License: AFL-3.0

kandi X-RAY | nhaystack Summary

kandi X-RAY | nhaystack Summary

nhaystack is a Java library. nhaystack has no bugs, it has no vulnerabilities, it has build file available, it has a Weak Copyleft License and it has low support. You can download it from GitHub.

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.

            kandi-support Support

              nhaystack has a low active ecosystem.
              It has 28 star(s) with 18 fork(s). There are 7 watchers for this library.
              It had no major release in the last 6 months.
              There are 7 open issues and 13 have been closed. On average issues are closed in 101 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of nhaystack is 3.2.0

            kandi-Quality Quality

              nhaystack has no bugs reported.

            kandi-Security Security

              nhaystack has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              nhaystack is licensed under the AFL-3.0 License. This license is Weak Copyleft.
              Weak Copyleft licenses have some restrictions, but you can use them in commercial projects.

            kandi-Reuse Reuse

              nhaystack releases are not available. You will need to build from source code and install.
              Build file is available. You can build the component from source.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed nhaystack and discovered the below as its top functions. This is intended to give you an instant insight into nhaystack implemented functionality, and help decide if they suit your requirements.
            • 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
            Get all kandi verified functions for this library.

            nhaystack Key Features

            No Key Features are available at this moment for nhaystack.

            nhaystack Examples and Code Snippets

            No Code Snippets are available at this moment for nhaystack.

            Community Discussions


            Combining two programs with pipe won't work
            Asked 2017-Jul-08 at 18:27

            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).




            Answered 2017-Jul-07 at 21:12

            Sort is overwriting the first half or so entries from ./generate.

            Source https://stackoverflow.com/questions/44979227


            C Sort Algorithm Not Outputting Correct Values?
            Asked 2017-Apr-07 at 20:31

            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:



            Answered 2017-Mar-25 at 17:07

            The 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:

            Source https://stackoverflow.com/questions/43017966

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network


            No vulnerabilities reported

            Install nhaystack

            You can download it from GitHub.
            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 .


            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
          • HTTPS


          • CLI

            gh repo clone ci-richard-mcelhinney/nhaystack

          • sshUrl


          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link