Showing results 1 to 4 of 4

Thread: display last open picture

  1. #1
    dak2483 Gast

    Default display last open picture

    I am using system variable " last open picture". When i use it in runtime it is not visible.I have one main project and a sub project and I have included it in both. But it is not visible in runtime.
    Could I get any help on this?

  2. #2

    Default Re: display last open picture

    you have to set the "main templates" in order for the variable "last open picture" to work.

    If it is just for the sub-project, you don't need to modify the "project.ini" file of the global project in the SQL directory and you can click on the property "main templates" in the section "graphical design" in the properties window of the sub-project. The templates can be selected here through a dialog.

    If you want this to work for both projects, you need to modify the "project.ini" file of the integration (roof) project. The project.ini file is located in the SQL directory, in the GUID directory of the project. (Subdirectory \files\zenon\sytem)

    To know the GUID of a project, select the project in the editor and in the properties window in the section "general", the GUID is shown under "Name / Folder" at "Project ID"

    the "project.ini" can be edited with notepad.exe.

    In the section:

    add / modify the entry:


    where "template1" etc. the template names of the templates for the pictures who should be written in the variable "last open picture".

    Please mind to keep the "_" in front of the template names and put a "," after the last template!

  3. #3

    Default Re: display last open picture

    by the way, the "main templates" must also be set, in order to get the "picture: return to last" function working.

    Usually there are some fixed parts on the screen which do not need to be included in the "last open picture" or should not be taken in account for the "picture: return to last" function. This is the reason, the templates can be selected for which this functionality applies.

  4. #4
    dak2483 Gast

    Default Re: display last open picture


    That works .Thank you.

Similar Threads

  1. Create a function for a trend picture
    By robertf in forum VBA
    Replies: 8
    Last Post: 4th October 2018, 14:33
  2. system variable "last open picture"
    By markclemens in forum zenon Supervisor
    Replies: 0
    Last Post: 7th April 2008, 13:50
  3. Referencing variable on a picture
    By madphilly in forum VBA
    Replies: 8
    Last Post: 25th January 2008, 10:57
  4. Display Text Value
    By lengele in forum zenon Supervisor
    Replies: 2
    Last Post: 18th December 2007, 13:50
  5. Display trend on Windows CE devices
    By sebastiank in forum zenon Operator
    Replies: 0
    Last Post: 27th August 2007, 08:57

Posting Rules

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