Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In order to sync the schedules made in Niagara (so that they can be read and written), the user will need to treat them as normal Niagara data points , that need to be tagged and imported in the data baseFIN project.

How to sync Niagara Schedules

  1. First step is to

...

  1. figure out if you will integrate using the Component Space or through the Site node of the haystack connector. If you are bringing in the schedules via the component space of the connector, there is no tagging that needs to be done in the Niagara station. Just find the point in the connector and drag and drop to the equip record container in the FIN Equip Tree. Then skip to step 3 below.  If you are using the Site node of the connector, then continue with the following steps.
  2. There must be a Site node in the station (usually under the Config node). There must be an equip object in the folder that contains the schedule object. Make sure the equip object has been assigned the siteRef for the Site in the haystack slot properties. Add a haystack slot to the Niagara Schedule object. 
     

So the Schedule needs to be in a similar structure

...

as the example below - meaning the

...

schedule is in

...

Image Removed

And the other important step is to drag and drop it in the nHaystack service so that when the hierarchy is loaded up it can be found in the structure:

Image Removed

Next the user will simply create a connection to the Niagara Server (for more details on how to do that go here) in the DB Builder app Connectors window and drag from under the Site folder the site in the DB Builder left side menu:

Image Removed

In the new created site in the left menu side, the user will get to the schedule point that just got imported from Niagara side. In the properties in the right, in the Schedule Settings the user will enable the "is Schedulable" option and select the write level. Then the Apply button at the bottom right corner will be pressed. This will make the schedule point writable in FIN Stack.

Image Removed

Next step is to create a tunning policy for the connector. How to create one is explained here. There is one extra step to be made before Selecting the Tuning Policy at the connector level - make sure you follow the Schedules Updates info - and add the writeSchedule tag on the policy!!!

a Niagara device or folder that contains an equip object from the nHaystack palette. 
(The equip must be assigned to the site using the siteRef tag.) That will allow the schedule to be seen as a point in that location by nHaystack and loaded in the cache.

Image Added

To get a haystack slot on the schedule, drag and drop the schedule from the components space tree into the top bar in the N Haystack Service View. That will add the required Haystack slot to the schedule in Niagara. You do not need to edit this haystack slot. Just verify it was added to the schedule property sheet.

When the hierarchy is loaded in the N Haystack Service View, you should see the schedule and its parent in the site structure:

Image Added

3. Next, create a connection to the Niagara Server in the DB Builder app -> Connectors Tree and import the schedule as a point from connector. You can get the schedule either from the Component Space or from the Site node of the connector. Depending on how you set it up in Niagara in Steps 1 and 2 above.

Image Added

4. Once imported, select the schedule point in the Equip Tree. In the properties, enable the Schedule section to make it schedulable, select the priority level to be written to (default is 15), and hit Save to save settings. 

Image Added  

5. Next step is to create a tuning policy for the point that has "Write Schedule" enabled for it. This tuning policy should only be specific to these points. How to create a tuning policy and assign it to specific points is explained here. Make sure to enable "Write Schedule" for it, or manually add the writeSchedule tag on the policy.

6. Once the tuning policy has been assigned to the

...

Image Removed

point, create a schedule (or use an existing schedule). You can assign points to a schedule either through the Schedules Tree or Add Points to Schedule tool if schedule is already created. Or another way, if the schedule already exist, is to select it from the scheduleRef property like below and hit Save to apply changes.

Image Added

NOTE: The schedule in the Niagara side will not update

...

until there is a change

...

to the FIN schedule output (COV).

...

Warning

It is very important that the schedule point from the Niagara default output is the same as the schedule in

which it is added in FIN Stack

FIN that is controlling it.

Image Modified

Image Removed

 

 

 Image Added