Escolar Documentos
Profissional Documentos
Cultura Documentos
Version 1.0
1 Introduction
The first version of PCPLOT running under MS-DOS was created by Prof. Kizilcay during his
research assistant time at the University of Hanover and disclosed to ATP-EMTP community in
1988. In the last 9 years it has been steadily developed and improved until 1997. The last version
distributed was 6.51. In 1997 the author decided to stop the development and maintenance of
DOS version of PCPLOT taking into consideration the requirement for a Windows graphical
output program for ATP-EMTP expressed by EEUG members.
Executive Board of the EEUG has decided in 1997 to support the adaptation of PCPLOT, which
was written in Borland's Turbo Pascal originally to MS-Windows using Borland Delphi. Delphi
as an powerful Windows application development tool is based on programming language Turbo
Pascal. ATPDRAW for Windows was also created using Delphi.
Due to different developmental environments (text based MS DOS versus graphic based MS
Windows) only small part of the code dealing with the numerical processing of data could be
adapted directly into Windows version. Graphical user interface (GUI) including screen output
of diagrams had to be completely rewritten. It has been decided to support only 32-bit version
running under Windows 95 and NT.
The first version 1.0 of PCPLOT for Windows has been distributed officially this year to the
EEUG members with the diskettes of “Watcom” ATP-EMTP for Windows 95/NT.
2 Installation
PCPLOT for Windows is currently distributed as part of “Watcom” ATP-EMTP, so that the
program will be automatically installed by executing SETUP.EXE under Windows 95/NT. Next
release of “Watcom” ATP-EMTP contains a custom installation procedure, i.e. the user is
allowed to select the components to be installed individually.
Manual installation is simple, i.e. copy these three files into a directory and create a short-cut to
WPCPLOT.EXE under Windows 95/NT. Since PCPLOT is a true 32-bit program, it does not
execute under MS Windows 3.x.
The maximum size of PL4 files to be processed depends on the available resources allocated for
Windows (RAM plus swapping space on hard disk).
3 Features
The most important feature of PCPLOT for Windows compared to DOS version is surely
extensive support of mouse. The other features are described briefly in the following subsections
illustrated using screen hardcopies. The authors feel that there is no need for a program manual
– this article should be entirely sufficient to understand and work with PCPLOT –, because
program handling is similar to old DOS version of PCPLOT and the user will be directed by
allowing him/her certain actions to perform at each program stage. The help function is context-
based, i.e. pressing F1 key pops up a help window with respect to already performed action.
The user can define a working directory for his/her PL4 files using Options, Data directory.
There are two ways to open a PL4 file: 1) Execute first PCPLOT and open PL4 file within
PCPLOT or 2) Drag and drop a PL4 file name onto the program short-cut placed on desktop.
C-like This is binary PL4 file created by "Salford ATP" and/or "Watcom ATP", when
L4BYTE=1 and FMTPL4 is blank in STARTUP.
Formatted PL4 files of FORMATTED type created by any ATP-EMTP version running on
different computer platforms can be plotted using PCPLOT. To obtain
FORMATTED PL4 files, set L4BYTE=1 and enter format via FMTPL4, e.g.
FMTPL4=10E8.0.
When a PL4 file is opened, following window will be displayed to select plot variables. Double
clicking on names will select these variables and they will be shown in the right-top window. To
deselect use either Deselect button or double click on the name in that window.
Variables can be plotted against time or frequency (in case of FREQUENCY SCAN
computation) or they can be plotted against another variable, which will constitute x-axis and
will be marked by “x” in the right-top window of selected variables. The title bar of the window
Selected Curves shows the creation date of the plot file.
By default for t/f function graphs the x-axis is labelled as “t [s]”. Both x- and y-axis labels are
editable text fields. They can be moved to any place within the graphic area using mouse and
holding pressed the Shift-key at the same time.
This feature can be activated either using Edit, Curve Readout or using Speed bar. The real
values of plot variables stored in the PL4 file and corresponding x-axis values are shown on the
screen by means of a moving vertical marker. To place the marker to the desired position use
either mouse or arrow keys of your keyboard.
The screen plots can be zoomed in or out using mouse or by entering limits for the x- and y-axis.
Select Edit, Zoom to activate zooming function. Using mouse it is possible to zoom in a diagram
once by defining zooming area on the screen. For comparison purposes it is convenient to
produce plots
wit h exact ly
same x- and y-
limits. In this
case the limits
are entered in
the fields
shown on the
s c r e e n. O r g
button redraws
t he d ia g r a m
with original
limits.
Unlike DOS version of PCPLOT HPGL output is no longer supported. The present version of
PCPLOT for Windows can export only bitmap files (BMP format) as seen on the screen or the
graphic area can be copied into clipboard and pasted into documents created by MS Word or
Corel WordPerfect. Select Edit, Copy to clipboard or Save as BMP... for this purpose.
Following features of the DOS version are not included in version 1.0 of PCPLOT for Windows:
In the second phase of program development some of the features, which will be implemented in
PCPLOT for Windows are: