Haystack Connector

Add Haystack Connector

To add a Haystack Connector, the user will have to:

1. Navigate to, and select Haystack under the Connectors Tree. Then select the Add Button

2. A pop-up called Add Haystack Connector will get displayed

The user can modify the following fields:

  • URI: Enter the IP address and syntax that connects to the Haystack project or nHaystack (Niagara) station
    For native Haystack the syntax is: http://ipaddress:port/api/projectName
    For nHaystack to Niagara, the syntax is: http://ipaddress:port/haystack

  • Display Name: Name you want to call that connector

  • Haystack Slot: (Niagara applicable only) Only points that have haystack slots will be allowed to be imported to your DB Builder. This is only applicable if dragging in data through the "Site" folder under the haystack connector.

  • Equip Filter: If haystack slot = YES, filter equipment is allowed to be imported

  • Point Filter: If haystack slot = YES, filter points that are allowed to be imported

  • Username & Password: Same credentials used to login to Haystack Project or Niagara station

 

Note

It is recommended to create a special user for connector credentials when connecting to native Haystack Projects.

3. Once added, it will be displayed as follows:

  • In the grid view, shown on the right-hand side, from here you can see which Haystack connectors have been added.

  • In the Connector Tree, the user will be able to access a couple different views of the connected server. If the connection is a Native Haystack connector, then you should see the complete Site, Equip, Point architecture of the server project.

    • If the connection is an nHaystack connection to a Niagara Station, then you can see the entire Component Space or, if tagged in Niagara, the entire Site, Equip, Point architecture of what has been tagged (through the Site node).

The user can do the following to the connector:

  • Edit: The user can make changes to the connector information, it is similar to the Add Haystack Connector shown above

  • Delete: Delete the connector to which the user selects

  • Clone: Go to our Clone doc for more info on this.

  • Ping: To update the status to make sure it is okay

  • Debug: Displays the debugging for the particular haystack connection

  • Enable / Disable: The user is able to enable or disable their connector

  • Write Level: Change the default write level of the connector

For nHaystack connections, if the user sees the haystackSlot being FALSE and the state being Closed, they will need to select on the Ping button to establish a connection.

  • If the connector does not change, there might be an issue with the information that was stated. You can edit your haystack connection by selecting the Edit button.

  • If you are experiencing the same issue even after making the changes, you can visit your Haystack Troubleshooting guide to help resolve your issue.

Delete Haystack Connector

There are two ways of deleting a connector

1. Through the grid view, the user can delete the connector by selecting the Delete button

2. Through the left-hand side, the user will need to select on

  • This will display an option called Delete, the user will be prompted a pop-up window where they will need to verify that the connector they are deleting is correct.