Showing results 1 to 5 of 5

Thread: How to assign a certain entry in an archive to a variable?

  1. #1
    Join Date
    17.02.2020
    Posts
    18

    Default How to assign a certain entry in an archive to a variable?

    Hello,

    I have an archive for a certain variable, is it possible to creat a variable that reads and holds the value of a certain entry in the archive? (for example, the variable should hold the value of the most recent entry in the archive). 
    I am using the 8.10 version of Zenon.

    Thanks in advance.

  2. #2
    Join Date
    15.11.2016
    Posts
    102

    Default Re: How to assign a certain entry in an archive to a variable?

    Hello,

    Are you using an event triggered archive?
    if yes, you can use the archive trigger also as variable allocation trigger.

    BR,
    Georg

  3. #3
    Join Date
    17.02.2020
    Posts
    18

    Default Re: How to assign a certain entry in an archive to a variable?

    Quote Originally Posted by georgk View Post
    Hello,

    Are you using an event triggered archive?
    if yes, you can use the archive trigger also as variable allocation trigger.

    BR,
    Georg

    The archive I am creating saves the value of a variable at 00:00 every day. I need the latest falue of this archive to use it as a variable in other calculations. 
    anything that can do this for me is fine. 
    Can the event trigger be time? (i.e. when the global time is 00:00)

  4. #4
    Join Date
    10.12.2007
    Posts
    203

    Default AW: How to assign a certain entry in an archive to a variable?

    You could use a report that is executed in the backgroud to do this.

  5. #5
    Join Date
    17.02.2020
    Posts
    18

    Default Re: AW: How to assign a certain entry in an archive to a variable?

    Quote Originally Posted by mst View Post
    You could use a report that is executed in the backgroud to do this.

    I opted to using the Report Generator + Variablerw function to achieve this. 
    Thanks

Similar Threads

  1. Is it possible to create one variable from archive?
    By michalt in forum zenon Supervisor
    Replies: 2
    Last Post: 17th December 2018, 09:49
  2. Variable reaction matrix's limit text entry
    By dario in forum zenon Supervisor
    Replies: 5
    Last Post: 7th May 2013, 06:59
  3. Assign function for key
    By mytom in forum zenon Supervisor
    Replies: 4
    Last Post: 8th November 2012, 16:46
  4. Replies: 6
    Last Post: 17th November 2011, 00:05
  5. There is a way to disable monitor assign function
    By shahramkh59 in forum zenon Supervisor
    Replies: 2
    Last Post: 25th October 2009, 07:40

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •