Showing results 1 to 3 of 3

Thread: Print data from extended trend and reportgenerator in one report

  1. #1
    Join Date
    29.07.2007
    Location
    Linz
    Posts
    50

    Default Print data from extended trend and reportgenerator in one report

    Hi,
    is it possible to generate a report in pdf format which contains data from an extended trend picture and data from the report generator?
    I need a report with several pages:
    page 1: Texts form the current process (variables, static texts)
    page 2: contains the graphs from the extended trend (recorded with an archive server)
    page 3: tables with data from the report generator

    ZenOn 6.51

    Thanks in advance,
    Alex

  2. #2
    Join Date
    18.07.2011
    Posts
    136

    Default Re: Print data from extended trend and reportgenerator in one report

    Hi.

    No, it's not possible to print a trend in the report directly. But there is a workaround, I am willing to own that this is a little complicated but you should be fine.

    zenon offers a function called "Print Extended Trend diagram". With the help of this function you can print diagrams of the extended trend or save them in a file (JPG or BMP) without opening the screen Extended Trend. You can find the function in the function list in the applications node.

    When you created this file add it as a graphic to your zenon project.

    In the report right click in a cell and format this cell. Under cell type configure this cell to show graphics. Here you can add your extended trend file. Now the picture of your trend should be shown in the report.

    To print the report as pdf simply install a pdf-printer (e.g. bullzip). In the editor under "file -> standard config -> standard" configure this printer to be used for printing reports.

    not the easy way but this will work!
    Bye

  3. #3
    Join Date
    18.07.2011
    Posts
    136

    Default Re: Print data from extended trend and reportgenerator in one report

    oh I forgot, ones you configured the steps above you may perform these steps in the runtime by creating a script which

    1st: "Print Extended Trend diagram"-function
    2nd: "File operations"-function to copy...
    3rd: "Picture switch"-function to the report.

    the "File operations"-function is used to copy the "printed" .jpg file from the "Export" directory into the directory of your project.

    Source(relative path to the Runtime folder): \Export\LastTrend.jpg
    Target(relative path to the Runtime folder): \RT\FILES\zenon\custom\graphics\LastTrend.jpg

    At options tick "overwrite existing files"!

    If you run these script you get the actual trend in your report (e.g. add a "refresh" button to your project and link the script).

Similar Threads

  1. Extended Trend HD Depth
    By shikra in forum zenon Supervisor
    Replies: 3
    Last Post: 10th May 2011, 23:36
  2. Automatic import of report data into Excel
    By jegloco in forum zenon Supervisor
    Replies: 1
    Last Post: 11th January 2011, 16:33
  3. Problem with archived trend data
    By k_r_mehta in forum zenon Supervisor
    Replies: 4
    Last Post: 13th December 2010, 13:23
  4. Extended trend module question
    By peterg in forum zenon Supervisor
    Replies: 5
    Last Post: 4th August 2009, 23:58

Posting Rules

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