archive-org.com » ORG » C » CPNTOOLS.ORG

Total: 415

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • Edit text << CPN Tools Homepage
    use the Long click A reddish color indicates that all text is selected Type to replace the selected text After clicking on an empty text e g on a place with no name the cursor will change to a blinking crossbar Leave text edit mode To leave text edit mode click somewhere outside the text or press the ESC key on the keyboard Editing text Text can be edited after entering text edit mode To insert new text within existing text click on the text to position the cursor in a specific part of the text A subtext can be selected by pressing the left mouse button at one end of the subtext dragging the cursor to the other end of the subtext and then releasing the mouse button Type to replace the selected text Cut copy and paste Text can be copied and pasted using keyboard shortcuts Ctrl c will copy the selected text Ctrl x will cut the selected text Ctrl v will paste the text that was most recently copied or cut Text can be copied cut and pasted within CPN Tools and between CPN Tools and other programs For example you can copy a text from

    Original URL path: http://cpntools.org/documentation/tasks/editing/structure/edit_text (2016-04-26)
    Open archived version from archive


  • Adding places, transitions, and arcs << CPN Tools Homepage
    right mouse button on the page See the Marking menus page if you are unsure about how to work with marking menus Now select New transition or New place To create an arc hold down the right mouse button on the place or the transition where you want the arc to begin Either the Place marking menus or Transition marking menus appears Select New arc to start an arc An arc will be attached to the cursor and you can drag it to the transition or place where you want the arc to end Click on the background to add bend points or on a transition or place to finish the arc You can also add more bend points later by dragging the arc where you want the bend point to occur An arc must go from a place to a transition or from a transition to a place You can abort the creation of an arc by applying the Drop tool tool before you attach the final endpoint Palettes Use the Create tools palette Palette to create transitions places and arcs See the Palette tools page if you are unsure about how to work with palettes Select the desired

    Original URL path: http://cpntools.org/documentation/tasks/editing/structure/edit_the_net (2016-04-26)
    Open archived version from archive

  • Errors in net structure << CPN Tools Homepage
    inscriptions then a red aura will be added to the parent object and a speech bubble will show an error message for the inscription Elements connected to the element with the error e g transitions connected to a place with errors are not checked until the error is fixed Syntax error in port socket chain If a place has port tag port and not on the top level page of the CP net or it is connected to a substitution transition but not connected to a port on the subpage the place has an port socket error This means that it will not be syntax checked Also any place reachable through port socket assignments of the place will not be syntax checked before the place assignments are fulfilled That is all places in an assignment chain must be fulfilled before any of the place is syntax checked Notice the place mentioned is the place of the CPN page which exist on all instances of the page This means that if an instance of a page has places which are not assigned when they should be none of the instance of the page is syntax checked Also pages reachable through port

    Original URL path: http://cpntools.org/documentation/tasks/editing/structure/errors_in_net_structure (2016-04-26)
    Open archived version from archive

  • Naming policy << CPN Tools Homepage
    a net There are four kinds of name inscriptions place name inscriptions transition name inscriptions page name inscriptions and monitor name inscriptions In the example below there are 5 name inscriptions Name inscriptions can be modified by adding editing inscriptions or by editing the text of a page name or monitor name in the index An ML name is a text string that is obtained from a name inscription according to a method described below During syntax checking the GUI converts name inscriptions to ML names which are used in the simulator and state space tool The ML names of the objects in the figure above are Top page p1 t1 place and trans An ML name is either an empty string or a CPN ML identifier ML names must be CPN ML identifier because they are used as function and structure names when code is generated when you enter the state space tool Converting name inscriptions to ML Names A name inscription is converted to an ML name using the following method Take the longest possibly empty prefix of the name inscription that contains only letters digits white spaces apostrophes and underscores Remove all white space at the beginning and end of the string obtained in step 1 If the string obtained in step 2 is empty or starts with something other than a letter then the ML name is the empty string otherwise continue with step 4 Replace all sequences of white spaces with a single underscore The resulting string is the ML name Syntax restrictions on ML names There are some syntax restrictions on names when you use state space tool and when monitoring a CP net State Space Tool The following criteria must be met in order to Enter the state space tool All pages must

    Original URL path: http://cpntools.org/documentation/tasks/editing/structure/naming_policy (2016-04-26)
    Open archived version from archive

  • Exceptions << CPN Tools Homepage
    that a serious error occurred during Syntax checking code generation simulation or state space analysis str is a string containing a more detailed error message no singleton Indicates an attempt to use the multi set function ms to col to convert either an empty multiset or a multiset with more than one element to a single color Subtract Indicates an illegal attempt to perform multiset subtraction Bernoulli Indicates that an error occurred when using the Bernoulli distribution function Binomial Indicates that an error occurred when using the Binomial distribution function Chisq Indicates that an error occurred when using the Chisq distribution function Discrete Indicates that an error occurred when using the Discrete distribution function Erlang Indicates that an error occurred when using the Erlang distribution function Exponential Indicates that an error occurred when using the Exponential distribution function Normal Indicates that an error occurred when using the Normal distribution function Poisson Indicates that an error occurred when using the Poisson distribution function Student Indicates that an error occurred when using the Student distribution function Uniform Indicates that an error occurred when using the Uniform distribution function ExcAvlLookup Indicates that a node was not found when looking up a particular node when using the state space tool May be raised when using the State space tools or when you make state space queries NotValidDirExn str Indicates that an error occurred when initializing or accessing one of the output directories that are managed by Output management str is a string containing a more detailed error message SccGraphNotCalculated Indicates that the SCC graph should have been calculated before attempting to Saving a standard state space report A serious error has occurred if an InternalError exception is not handled by CPN Tools If you encounter an InternalError exception or an exception that has a

    Original URL path: http://cpntools.org/documentation/tasks/editing/exceptions (2016-04-26)
    Open archived version from archive

  • Graphical feedback << CPN Tools Homepage
    the cursor over the name of the net in the index To make a speech bubble disappear either click on it or move the cursor away from the object with which the speech bubble is associated Status bubbles Status bubbles are color coded bubbles that occasionally appear at the bottom of the index Move the cursor over a status bubble to see the corresponding speech bubble Status bubbles have one of the following colors Green indicates that an operation was completed successfully Yellow indicates either a warning or that a stop criteria was fulfilled when Calculating the state space Red indicates that an error occurred when executing an operation Light purple indicates that a time consuming operation such as a long simulation is currently being executed Some status bubble will automatically disappear after a certain amount of time Red status bubbles will not disappear until you click on them Auras Color coded auras are used to highlight objects with particular characteristics or to indicate different kinds of relationships between objects Auras are associated with places transitions arcs inscriptions declarations monitors page tabs and index entries such as page names and net names Auras have the following colors Bright Red indicates objects with errors during Syntax checking and when simulating nets Dark reddish auras indicate non unique names of places and transitions when Syntax checking Green indicates enabled transitions when simulating nets Dark blue indicates dependency between declarations and other elements such as places transitions and pages see Syntax checking Aqua indicates which object an inscription belongs to see Syntax checking Orange indicates that Syntax checking of an object has not yet begun Yellow indicates that Syntax checking of an object is currently being performed Pink indicates which Fusion places belong to a fusion set Aqua indicates port socket assignments and

    Original URL path: http://cpntools.org/documentation/tasks/editing/graphical_feedback (2016-04-26)
    Open archived version from archive

  • Long click << CPN Tools Homepage
    from your book Show modify book 6 page s Help Long click A long click is used for moving elements while holding a tool in the hand or for adding an inscription to an element while holding a tool in the hand A long click is performed by pressing down the mouse button and holding it down for a short while approx 0 5 second The cursor changes to show

    Original URL path: http://cpntools.org/documentation/tasks/editing/long_click (2016-04-26)
    Open archived version from archive

  • Syntax checking << CPN Tools Homepage
    places associated with it have been checked and All of the transitions associated with it have been checked No syntax check If your elements keep the orange glow and you can see no obvious reason e g errors on connected elements or missing inscriptions the simulator process might be stuck Try changing an inscription on the elements this should provoke a new syntax check If this doesn t work try saving the net closing it and re opening The whole net should now be re checked If nothing happens it is probably because the simulator process could not be started Check if you have a process called cpnmld exe and a process called run x86 win32 exe If these processes do not run they should run when you have started CPN Tools and have opened or created a net try installing to another location with no spaces or letters except a z A Z we try to escape the directory names but may have overlooked something If installing to another location does not solve your problem please file a bug report During syntax check A yellow glow indicates that the place transition arc page monitor net is currently being checked How declarations are syntax checked Declarations are checked starting from the top If a declaration depends on a later declaration it will get an error saying the other declaration is not defined Declarations with errors are rechecked when a change is made in any declaration How monitors are syntax checked Monitors are checked starting from the top If a monitor depends on a later monitor an error message will be added to the monitor Errors in syntax check A red aura means the element has been checked but had an error A speech bubble should appear with the exact error

    Original URL path: http://cpntools.org/documentation/tasks/editing/syntaxchecking (2016-04-26)
    Open archived version from archive



  •