Results 1 to 8 of 8
  1. #1
    Join Date
    Jun 2019
    Posts
    21
    Post Likes
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Niagara 4 Pushing History from Jace to Supervisor

    Hello!

    I am working with histories being created on the Jace that have the name:

    %parent.parent.name%_%parent.name%_%time().toDateS tring%

    This means that the name of the History changes daily to help organize the data. The issue with this is that the Supervisor needs to discover the new history names daily to bring over the values.

    Is there a way to have the new histories constantly be pushed over to the supervisor?

    If any clarification is needed let me know, having the history name change is really helpful but is causing too many problems sadly.

  2. #2
    Join Date
    Jan 2003
    Location
    USA
    Posts
    5,309
    Post Likes
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Couple ways to bring them in yet they rely on the names not constantly changing...

    Your better off leaving the names alone and just pull the data with a daily time range rather than reinvent the wheel. That's pretty simple and almost everything dealing with histories support this.

    Or reinvent the wheel following a road full of pain and misery.
    Propagating the formula. http://www.noagendashow.com/

  3. #3
    Join Date
    Apr 2007
    Location
    San Diego, CA
    Posts
    1,707
    Post Likes
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Why do you need a new history file per day? You can use BQL to query the history dB to slice it however you need.

    Sent from my moto x4 using Tapatalk

  4. #4
    Join Date
    Jun 2019
    Posts
    21
    Post Likes
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thread Starter
    Quote Originally Posted by digo View Post
    Why do you need a new history file per day? You can use BQL to query the history dB to slice it however you need.

    Sent from my moto x4 using Tapatalk
    Having a new history file per day allows for the export of all the data from one day to be done much easier.

  5. #5
    Join Date
    Jun 2019
    Posts
    21
    Post Likes
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thread Starter
    Quote Originally Posted by orion242 View Post
    Couple ways to bring them in yet they rely on the names not constantly changing...

    Your better off leaving the names alone and just pull the data with a daily time range rather than reinvent the wheel. That's pretty simple and almost everything dealing with histories support this.

    Or reinvent the wheel following a road full of pain and misery.
    No pain desired. Just wondering if it was possible. Seems like it is but not without a huge headache.

  6. #6
    Join Date
    Jan 2003
    Location
    USA
    Posts
    5,309
    Post Likes
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Its stupid simple, but you cannot change the history names....

    Its far easier to figure out how to use BQL and sort out your exports that way rather than the painful path you seem to be on. To each his own.
    Propagating the formula. http://www.noagendashow.com/

  7. #7
    Join Date
    Aug 2013
    Location
    Midwest
    Posts
    84
    Post Likes
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can add system tags to the histories and use a system tag import on the server. If you go to the history db manager it's easy to add tags all at once. The server will grab every history that has that tag on it.

    I don't know how much Niagara will like the constant name changes though . . .

  8. #8
    Join Date
    Jan 2003
    Location
    USA
    Posts
    5,309
    Post Likes
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by punk0r1f1c View Post
    You can add system tags to the histories and use a system tag import on the server.

    I don't know how much Niagara will like the constant name changes though . . .
    When the day changes, its going to create a new history. Is the tag going to persist?
    Propagating the formula. http://www.noagendashow.com/

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Contracting Business
HPAC Engineering
EC&M
CONTRACTOR