Getting started with CPN Tools (recite)

Source: Internet
Author: User
Tags load net nets
ArticleDirectory
    • The Interface
    • Loading and creating nets
    • The index
    • Overview of a net

How to get started using CPN Tools

This page explains some of the basic steps to using CPN Tools. If
You 've never used CPN Tools before, this is a good place to begin. On
The main help page, you can find more detailed information about the various aspects of the tool.

If you have problems starting up the tool or installing it, read the hardware requirements page, or report your problems to our technical support.

The Interface

When you open CPN Tools, the first thing you see is a window, containing an index on the left side and a workspace on the right.

If you do not see this, but in stead a gray or green windows or nothing
At all, the problem may be your graphics adaptor. Please check the FAQ
For further details.

Each of the cursors is controlled with its own separate input device,
Such as a mouse, a pen, or a trackball. Multiple cursors can be
Controlled by one or more users at the same time. In the following, we
Will assume that you use a mouse in your right hand as your primary
Input device, and write "the hand", "The mouse", "the cursor", etc.
This. The interactions are, however, just the same for the left hand
And/or another two-button input device.

To get started working on a CP-net, you can either load an existing net or create a new one.

Loading and creating nets

To load an existing net, move the cursor to the workspace or to
Empty part of the index. Press with the right button of the mouse and
Keep the button pressed. A circular menu appears-this is the workspace marking menu. (read more about these menus on the marking menus page ).

Keep the button pressed and move the cursor to the load net entry in the menu. The entries will highlight when the cursor moves over them-Release the button when the load net entry is highlighted.

A file dialog appears from which you can select the net you wish
Load. When you have selected a net and clicked OK, the Dialog
Disappears, and the net appears in the index at the left side in
CPN Tools window. After a net has been loaded, the name of the net
Appears as an entry in the index.

Alternatively, you can create a new net by bringing up the workspace marking menu and selecting the new net entry.

Remember to keep the right button pressed as you move the cursor around in the marking menus.
If you release the button when no entry is highlighted, the menu
Disappears and no command is invoked. Press down the right button
Bring the menu up again.

The index

The index is located in the left side of the CPN Tools window:

The index contains:

    • Tool Box:A list of all the tools available in CPN Tools. See the tool box entry below for more information.
    • Help:Links to help, homepage, report bug and other webpages. See the help entry below for more information.
    • Options:Various options for, e.g. Simulation
    • The nets that are currently open in the tool

A blue triangle to the left of an entry in
Index indicates that the entry can be opened to reveal more details
About the entry. Click the triangle to open and close an index entry.

Overview of a net

The index contains an entry for each net that is opened in the tool.
If the net was loaded from a file, then the net entry in the index is
Labeled with the name of the net. in the figure below, the net named
"Hier. CPN" has been loaded. If a new net was created, the net entry is
Labeled "new net. CPN ".

To start working on a page in the net, the net entry in the index must
Be opened. Click on the triangle next to the name to open the entry, if
It is not already opened.

A Net entry contains:

    • History:The list of commands that have been stored med on the net
    • Step:The number of steps that have executed in a simulation
    • Time:The current model time
    • Declarations:The declarations of color sets, functions, constant values, etc. All declarations are written in the CPN ml language.
    • Page entries for pages in the net

Read more about how to add/edit declarations and about simulating nets.

All pages in a net are accessible through the index.
Hierarchical Structure of a net is reflected in the index. The entry
For a subpage appears under the entry for its superpage. subpage
Entries are visible in the index when the corresponding superpage entry
Has been opened.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.