Showing results 1 to 3 of 3

Thread: Can zenon read data from a *.csv file

  1. #1
    Join Date

    Default Can zenon read data from a *.csv file


    I have a *.csv file with variable.value and variable.timestamp. How can I use zenon to read data from *.csv file to adapt with internal-variable.value and internal-variable.timestamp. Type of variable is real.

    Thanks & Best regards,

  2. #2
    Join Date
    Salzburg, AT

    Default Re: Can zenon read data from a *.csv file

    Must it be an internal variable? Would be easier with a stratonNG variable…
    To set the timestamps of an internal variables you have to configure in project.ini (v. 7.50) the INTERNALDRIVERWITHSTATUS=1 or, in 8.00: project - 'Runtime settings' - 'State/Timestamp for Intern Driver variables'. Else internal variables have the local timestamp - the moment of value change, and you cannot manipulate it. But with activated option all internal variables are the licensed tags, thus to take a process variable could be a better choice.
    In zenon Logic you can pro 1 cycle read a line of CSV file and update the value and timestamp of the stratonNG variable accordingly. Then each cycle will transfer one variable value and time to zenon.
    zenon Logic supports file operations and has also FBs to set the timestamp of the variable (while changing its value), e.g. SymbVsiSetDate(), *Time() and VsiSetDate(), *Time().

    I'm moving this thread as it is nothing specific for Energy.

  3. #3
    Join Date

    Default Re: Can zenon read data from a *.csv file

    Thank you very much for your reply.

    We can use stratonNG variable. Could you please give me more detail to do this - I'm not an expert on program

Similar Threads

  1. Replies: 1
    Last Post: 14th November 2018, 10:48
  2. Read data from backup folder
    By slaff in forum VSTA
    Replies: 5
    Last Post: 4th April 2011, 23:12
  3. read-back user administration data by Transport
    By marchelo in forum zenon Supervisor
    Replies: 4
    Last Post: 20th June 2010, 23:49
  4. How can I read this two type of Data register?
    By michael_k in forum Drivers
    Replies: 1
    Last Post: 24th November 2009, 16:23
  5. Replies: 2
    Last Post: 9th June 2009, 12:53

Posting Rules

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