|
|
Line 9: |
Line 9: |
| | | |
| {| style="border-spacing:0;" | | {| style="border-spacing:0;" |
− | | style="border-top:0.035cm solid #000000;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;"| <center>'''Visual Clue'''</center> | + | | style="border-top:0.035cm solid #000000;border-bottom:0.035cm solid #000000;border-left:0.035cm solid #000000;border-right:none;padding:0.097cm;"| <center>'''Visual Cue'''</center> |
| | style="border:0.035cm solid #000000;padding:0.097cm;"| <center>'''Narration''' | | | style="border:0.035cm solid #000000;padding:0.097cm;"| <center>'''Narration''' |
| | | |
Visual Cue
|
Narration
|
Slide 1
|
Welcome to the spoken tutorial on feedback diagram creation using Xfig
|
Slide 2
|
In the spoken tutorial on block diagram creation,
We created the diagram shown here
We will refer to it as the blocks tutorial
Please master the blocks tutorial before starting the current one
|
Slide 3
|
In this tutorial, we will explain how to create block diagrams of the type shown on this page
|
Slide 4
|
I shall use Xfig, version 3.2, patch level 5
|
Slide 5
|
We will begin with block.fig created in the blocks tutorial
|
Slide 6
|
Let us go to Xfig
|
Open file
|
Let us choose the file, then open.
In the entry box, we can enter “block” and press open.
Or double click on “block.fig”.
|
Save file
|
Using the “save as” option on “file”, we will save this figure as feedback.
We now have the file feedback.fig
|
Click Grid Mode
|
Let us put the grids on by clicking on the “grids”
|
Scroll bar
|
The scroll bar on the right can be used to move the canvas up or down.
|
Top right
Scroll bar
|
The role of each mouse button is shown on the top right hand side.
This role depends on the activity.
To illustrate this, let me take the mouse to the vertical “scroll bar”.
Observe the comment next to the left button.
I cannot move the mouse to show this.
It is because, the role of the buttons will change if I move the cursor away from the scroll bar.
The “left button” moves the canvas up and the “right button” moves it down.
Instead of clicking the left or right button, we can also click the “centre button”, hold and drag the canvas up or down.
In a similar way, you can move the canvas to the right or left, using the “scroll bar” on the top.
I will now move the box to the centre by clicking the “middle button”, holding and dragging the canvas to the centre.
As I release the mouse, the box gets moved to the centre.
|
|
Let us now create the feedback diagram starting from this block.
|
Select copy
|
Let us copy this box.
Click on the box and select it.
Move the mouse to the new location and click.
|
Click text
|
Let us now put some text.
Let us click the “Text box”, indicated by T, from the left hand side panel.
|
Text size
|
Let us choose the size of the text.
Move the mouse to the value box and enter 16.
Click “Set”.
|
Text just
Click
|
Let us click the “Text Just” button in the attributes panel.
Let us choose centre alignment.
Let us click at the centre of the first box.
Sorry, I did not choose the correct position.
I will click at a different location to move the cursor away.
I will then click at the correct position.
|
Enter text
|
Let us now type the text “Control” and click the mouse.
|
|
We would now want to enter some more lines with arrows.
|
Polyline
|
Let us choose the “polyline button”
|
Arrow Mode
Arrow Type
|
Let us select the “Arrow Mode” button from the attributes panel and select the second option.
Let us click the “Arrow Type” button and an arrow head.
Let us click at the point where we want the line to start.
Let us move the mouse to the end point of the desired line. Let us now click there with “middle mouse button”.
The line is created with an arrow.
|
Put circle
|
I want to place a circle.
Let us choose the “circle on the left” from the “left hand side panel”.
We will place it to the left of the first box.
Click the mouse. As I move the mouse, the circle becomes larger.
When we get the right size, let us click the mouse button.
Oops, the circle is larger than what I wanted.
|
Edit
Delete
|
I can undo this operation, using the edit button at the top.
We can also delete this object, using the Delete button on the left hand panel.
Let us do that now.
A skeleton with cross hairs appears.
All key points of all objects also appear.
Move the cross hairs to a key point that indicates the circle and click.
|
Wrong delete
Zoom
|
In case a wrong object is deleted, no need to panic.
You can undo it: Click the “edit” button, hold, go to “Undo” and release the mouse.
If some objects are closely placed, you may have difficulty in choosing them.
You can solve this through the “zoom” feature.
Click the “View” button on the top left hand side, hold and choose one of the zoom options.
Let me release the mouse at “Zoom to fit the canvas”.
Now it is easy to discriminate between the objects.
Let me delete the circle now.
Let me unzoom.
I will move the diagram to the centre with the use of scroll buttons.
I do not like to leave “delete” symbol on, because I can accidentally delete something else.
I can change this by choosing any other button.
Let me choose the left circle.
|
Circle
|
Let me redraw the circle
|
|
I want to put another line from this line.
For this, we will first put a “dot” on the line.
|
Library
|
Let us click the “library” on the left hand side panel.
The library is indicated by a stack of books.
A “dialog window” opens.
Next to the library, it says “None Loaded”.
Let us click and hold.
A list of available libraries appears.
Move the mouse to the “Logic library” and release it.
|
Small dot
Place dot
|
Let us choose the “small dot” by double clicking on it.
The “dialog window” gets closed.
We see a cross hair, along with the chosen small dot.
Let us place the dot on the line by clicking.
The cursor and the small dot show up once again, suggesting that we can place it at some other location also.
We do not want to place the dot at any other place.
Let us close it by clicking the right button of the mouse.
The right button does an “undo” operation.
In this case, dot selection has been removed.
|
|
Let us draw a line from this dot to the circle.
|
Polyline
|
Let us select the polyline.
Notice that the previous selections of “arrow mode” and “arrow type” have been remembered.
Within a session, Xfig remembers the parameter values.
Click at the dot. Move the mouse to the bottom and click.
Now turn the mouse to the left, until at the bottom of the circle.
Click.
Move the mouse to the circle and now click the “middle mouse button”.
|
Line
|
Let us draw another line, to the left of the circle.
|
File save
|
Let us now save this figure using the “file button” at the top left hand corner of Xfig and choosing “save”.
|
File export
|
Let us now export the file.
Let us click the “file” button once again and choose “export”.
Let us choose “language” and then “PDF”.
We get the file “feedback.pdf”.
|
Open block.pdf
on terminal
|
Let us open this file through the command “open feedback.pdf”.
We now have the block diagram that we wanted.
|
|
We have completed our objective.
|
Slide 9
|
We have an assignment for you
|
|
Substitute blocks with different ones.
Try out operations, such as, rotate and flip.
View the file feedback.fig in an editor, and identify different components.
Using the library, create entirely different block diagrams.
|
Slide 10
|
Spoken Tutorial is a part of the Talk to a Teacher project Supported by the National Mission on Education through ICT (NMEICT), MHRD, Government of India.
More information on this mission is available at
http://spoken-tutorial.org/NMEICT-Intro
|
Slide 12
|
We welcome your participation and also your feedback.
This is Kannan Moudgalya signing off. Thanks for joining. Goodbye.
|