ObjectGEODE SDL Editor FAQ






How can I insert SDL diagrams into a Word document ?
How can I copy and paste several FSM objects in one command
How can I force two branches to join together after two answers to a decision ?
How can I see if an FSM (a Process) fits page borders ?
How can I get straight channels after moving or resizing a block ?
How can I insert the contents of a file into my SDL model ?
How can I get exactly the same errors using geodecheck or gsmcomp ?
How can I move everything located below a given signal ?
How can I add vertical or horizontal space in an MSC ?
How can I define an ASN.1 package named my_defs ?
How obtaining an SDL model which can be printed on different printer formats (A4, US Letter ...) ?
Is the whole SDL model saved when I click Save from a window which is in a referenced part ?
When running geodedit from a directory dir1, why does the File-Load command of geodedit shows me my HOME directory instead of dir1 (Unix version) ?
How can I copy and paste text in Pr Declarations (Text symbols) when the 'normal' method fails ?
How come I lose parts of my SDL model when I load it ?

SDL diagrams into Microsoft Word

Q. How can I insert SDL diagrams into a Word document ?
A. On PC under Windows, in ObjectGEODE SDL Editor, display the diagram you want to copy, then do Edit - Copy diagram. Now, the diagram can be pasted in another Windows application such as Microsoft Word. This is convenient for a small number of small diagrams, otherwise it is better to use the File - Print ... command of geodedit to print into a file (RTF ...).

Entering an SDL model

Q. How can I copy and paste several FSM objects in one command (for example copy a Pr Declaration plus two transitions) ?
A. Select the first object to copy, press CTRL and select the others objects (you can also drag the mouse while holding CTRL), copy the objects, deselect them. Now you can paste them (but only if it results in a 'correct' diagram, for example you cannot paste an output below a state (you must add an input first).

Q. How can I force two branches to join together after two answers to a decision ?
A. Select the decision before creating the object (ex. the nextstate).

Q. How can I see if an FSM (a Process) fits page borders ?
A. Dashed lines represent the page splitting. If you do not see them (in FSM view) turn them on using the Preferences Editor.

Q. How can I get straight channels after moving or resizing a block ?
A. Do not move the block. Move the gate by taking it by its name (inside the block rectangle). If you click outside the block, you will only move the channel, not the gate. Same for a channel connected to ENV: move the gate, the channel will follow it.

Q. How can I insert the contents of a file into my SDL model (example: insert a large Pr file into a Pr Declaration text symbol) ?
A. Create a Pr Declaration, in the Attributes window click on ... to pick the file you want to include, press Apply. Now in the Attributes window erase the file name, press Apply: the Pr Declaration now contains the contents of the file.

Checker

Q. How can I get exactly the same errors using geodecheck (Check command from the Tools menu) or gsmcomp (SDL Simulator command from the Tools menu) ?
A. Use the 'expand' option: geodecheck -expand <model>

MSCs

Q. How can I move everything located below a given signal ?
A. Hold down the Shift key while moving the signal up or down.

Q. How can I add vertical or horizontal space in an MSC ?
A. In the Windows versions BEFORE V4.1.2.P2, put the mouse where there are no symbols (i.e. not on a signal or on an instance), click and hold the left mouse button and drag the mouse vertically or horizontally. Since version V4.1.2.P2 (P2 means patch number 2), you need first to press and hold the Alt key.

Z.105

Q. How can I define an ASN.1 package named my_defs ?
A. Create a package in geodedit, and type as the package name:

   my_defs DEFINITIONS ::=

Then inside the package create a text symbol (Pr Declaration), and type the definitions (do NOT type BEGIN - END).

Printing

Q. How obtaining an SDL model which can be printed on different printer formats (A4, US Letter ...) ?
A. Changing the paper size can lead an FSM which fitted on two pages to be split differently, and possibly splitting a symbol on two pages. To avoid this, create one partition for one page, and adjust your drawing to fit into the minimum paper size.

Misc

Q. Is the whole SDL model saved when I click Save from a window which is in a referenced part ?
A. No, only the part corresponding to the reference is saved, not the parent files. The filename is displayed on the bottom of the window when saving.

Problems

Q. When running geodedit from a directory dir1, why does the File-Load command of geodedit shows me my HOME directory instead of dir1 (Unix version) ?
A. Check the Unix variable PWD (echo $PWD). The directory you are in when using File-Load is PWD. Ask your system admistrator how to set your Unix environment in order to have PWD updated automatically when making cd. Another solution is to unset PWD, because the editor also works without this variable (tested on SUN Solaris 2.5 and DEC Alpha).

Q. How can I copy and paste text in Pr Declarations (Text symbols) when the 'normal' method fails ?
A. This happens sometimes on SUN Openwindows. In this case, it is impossible to select text in a Pr (i.e. text) SDL symbol. For this, put the cursor at the beginning of selection, then click with m3 (mouse right button) at the end of the selection. Put the cursor where you want to paste, and click m2 (mouse middle button).

Q. How come I lose parts of my SDL model when I load it ?
A. This occurs for example if your model contains a comment which is not closed:

       /* I forgot to close this comment  BLOCK X25; etc.
When OG Editor (or any other tool) loads such a line, it will consider that BLOCK X25 etc. is a comment, thus the block X25 you entered will disappear ! To avoid this, do not forget to CHECK your model frequently (could you imagine writing a C program and compiling it only after several days or weeks ?). Remember the minimum to have a correct SDL model: a system containing a block containing a process containing a START and a STOP. Build this, then every time you enter new stuff, run Tools-> Checker. It is much easier that way.

Copyright © TransMeth Sud-Ouest 1997-2003