<book>
<info>
<title>Release Notes V4.3.0</title>
<subtitle></subtitle>
<authorgroup>
<author>
<personname><firstname>Claes</firstname>
<surname>Sjöfors</surname></personname>
<affiliation>
<orgname>SSAB Oxelösund AB</orgname>
</affiliation>
<email>postmaster@proview.se</email>
</author>
</authorgroup>
<revhistory>
<revision>
<revnumber>0.1</revnumber>
<date>2006-04-01</date>
<authorinitials>cs</authorinitials>
<revremark>v0.1</revremark>
</revision>
</revhistory>
<edition>v0.1</edition>
<copyright><year>2007</year><holder>SSAB Oxelösund AB</holder></copyright>
<date>2007-01-21</date>
<legalnotice>
<para>Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2
or any later version published by the Free Software Foundation;
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.</para>
</legalnotice>
<mediaobject>
<imageobject>
<imagedata></imagedata>
</imageobject>
<imageobject>
<imagedata></imagedata>
</imageobject>
</mediaobject>
</info>
<chapter>
<title>Introduction</title>
<section>
<title>Upgrading to Proview 4.3.0</title>
<para>This document describes new functions i Proview V4.3.0, and how to upgrade a project
from V4.2.0 to V4.3.0.</para>
</section>
</chapter>
<chapter>
<title>New functions</title>
<section>
<title>Graphical user interface</title>
<para>The graphical user interface is change to GTK (The GIMP Toolkit), on which the Gnome desctop
is built. The interface is totaly rewritten and now have a more modern look and layout. The previous
interface, Motif, is still available in the source code, but not included in the released packages. </para>
<section>
<title>Configurator</title>
<para>The Configurator now has a toolbar with buttons for save, enter editmode, zoom etc.
</para></section>
</section>
<section>
<title>Installation</title>
<para>
The dependency of Motif and Imlib is removed in the released packages, which strongly simpifies the
installation procedure.
</para>
</section>
<section>
<title>Database locked dialog</title>
<para>If the database is locked, a dialog window is viewed where the user can choose whether to
exit, enter the loadfile, or remove the lock and enter the database.
</para>
</section>
<section>
<title>Profibus driver for Softing Profiboard</title>
<para>...
</para>
</section>
<section>
<title>Property EscapeStore for dynamic type ValueInput</title>
<para>Dynamic type ValueInput has a new property, EscapeStore. Normally the input value is stored
when 'Return' is pressed. However, when EscapeStore is set, the value is stored when the input field
looses input focus, or when 'Return' is pressed.
</para>
</section>
<section>
<title>Changed classes</title>
<section><title>CStoNumSp</title>
<para>The Object attribute type is changed from pwr_tObjid to pwr_tAttrRef, and the
Parameter attributes is removed.</para>
</section>
</section>
</chapter>
<chapter><title>Upgrade procedure</title>
<section><title>Procedure for upgradeing</title>
<para>The upgrading has to be done from V4.2.0. If the project as a lower version, the
upgrade has to be performed stepwise following the scheme
<classname>V2.1 -> V2.7b -> V3.0 -> V3.3 -> V3.4b -> V4.0.0 -> V4.1.3 -> V4.2.0 -> V4.3.0</classname></para>
<para>The upgrading is made in two steps:
<itemizedlist>
<listitem><para>Make a copy of the project</para></listitem>
<listitem><para>Execute upgrade.sh</para></listitem>
</itemizedlist>
</para>
<section><title>Make a copy of the project</title>
<para>Do <tag>sdf</tag> to the project and start the administrator.</para>
<prompt>> </prompt><userinput><command>pwra</command></userinput>
<para>Now the Projectlist is opened. Enter edit mode, login as administrator if you lack access.
Find the current project, and select <tag>Copy Project</tag> from the popup menu of the
ProjectReg object. Open the copy and assign a suitable projectname and path. Change the
vertion to V4.3.0. Save and close the administrator.
</para>
<para>Do sdf to the project.</para>
</section>
<section><title>upgrade.sh</title>
<para>upgrade.sh is a script that is divided into a number of passes. After each pass you
you have to answere whether to continue with the next pass or not.</para>
<para>Start the script with </para>
<prompt>> </prompt><userinput><filename>upgrade.sh</filename></userinput>
<para>and go through all the passes.</para>
<section><title>dumpdb</title>
<para>Creates a dump file for each volume in the project. The name of the dumpfile is
<filename>$pwrp_db/'volumename'.wb_dmp</filename>
</para>
</section>
<section><title>classvolumes</title>
<para>Create loadfiles and structfiles for the class volumes.</para>
</section>
<section><title>renamedb</title>
<para>Store the old databases under the name <filename>$pwrp_db/'volumename'.db.1</filename>.</para>
</section>
<section><title>dirvolume</title>
<para>Create a directory database and load the dumpfile for the project volume into the database.</para>
</section>
<section><title>loaddb</title>
<para>Create databases and load the dumpfiles into them.</para>
</section>
<section><title>compile</title>
<para>Compile all the plc programs.</para>
</section>
<section><title>createload</title>
<para>Create loadfiles for the root volumes.</para>
</section>
<section><title>createboot</title>
<para>Create bootfiles for all nodes in the project.</para>
</section>
<para>If the project contains any application programs, these has to be built manually.</para>
<para>Delete files from the upgrading procedure:</para>
<para><filename>$pwrp_db/*.wb_dmp.*</filename></para>
<para><filename>$pwrp_db/*.db.1</filename> (V4.2 databases, directories which content also is removed)</para>
</section>
</section>
</chapter>
</book>