Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.realtime > #359 > unrolled thread

Solaris/Linux flowchart (critical instant scheme) draw tool

Started byEmanuel Berg <embe8573@student.uu.se>
First post2013-09-28 12:30 +0200
Last post2013-09-30 00:38 +0200
Articles 8 — 4 participants

Back to article view | Back to comp.realtime


Contents

  Solaris/Linux flowchart (critical instant scheme) draw tool Emanuel Berg <embe8573@student.uu.se> - 2013-09-28 12:30 +0200
    Re: Solaris/Linux flowchart (critical instant scheme) draw tool Alexander Senier <mail@senier.net> - 2013-09-28 19:02 +0200
      Re: Solaris/Linux flowchart (critical instant scheme) draw tool Emanuel Berg <embe8573@student.uu.se> - 2013-09-30 00:40 +0200
      Re: Solaris/Linux flowchart (critical instant scheme) draw tool Emanuel Berg <embe8573@student.uu.se> - 2013-10-01 04:31 +0200
    Re: Solaris/Linux flowchart (critical instant scheme) draw tool Jeffrey Carter <spam.jrcarter.not@spam.not.acm.org> - 2013-09-28 10:43 -0700
      Re: Solaris/Linux flowchart (critical instant scheme) draw tool Emanuel Berg <embe8573@student.uu.se> - 2013-09-28 20:16 +0200
    Re: Solaris/Linux flowchart (critical instant scheme) draw tool Don Y <this@isnotme.com> - 2013-09-28 13:44 -0700
      Re: Solaris/Linux flowchart (critical instant scheme) draw tool Emanuel Berg <embe8573@student.uu.se> - 2013-09-30 00:38 +0200

#359 — Solaris/Linux flowchart (critical instant scheme) draw tool

FromEmanuel Berg <embe8573@student.uu.se>
Date2013-09-28 12:30 +0200
SubjectSolaris/Linux flowchart (critical instant scheme) draw tool
Message-ID<87k3i1kzk8.fsf@nl106-137-194.student.uu.se>
This might be (a bit) OT on comp.lang.ada, but as Ada is
- or should be - the number one real time programming
language, I thought probably you could help me. (Also,
there doesn't seem to be that much traffic on
comp.realtime, though I know there are some good people
there, too.)

Anyway, take a look at this:

http://user.it.uu.se/~embe8573/flowchart.png

Is there a tool to draw such diagrams? (In general, the
details may vary.)

I don't need a tool to compute runtimes, preemptions,
etc., out of raw data, and then draw, no, I'm going to
draw everything manually, only, I thought there might be
a tool to do it.

Otherwise, I thought about buying those big
white-blue-ish sheets that engineers used (and should
use, still, if they have style), and draw them by
hand. Also, I contemplated the idea of drawing them on a
whiteboard, and then shoot it with a camera.

I don't know. Doing it with gimp or even Dia doesn't
seem that attractive.

-- 
Emanuel Berg - programmer (hire me! CV below)
computer projects: http://user.it.uu.se/~embe8573
internet activity: http://home.student.uu.se/embe8573

[toc] | [next] | [standalone]


#360

FromAlexander Senier <mail@senier.net>
Date2013-09-28 19:02 +0200
Message-ID<20130928190231.113bcda8@t400>
In reply to#359
On Sat, 28 Sep 2013 12:30:54 +0200
Emanuel Berg <embe8573@student.uu.se> wrote:

> http://user.it.uu.se/~embe8573/flowchart.png
> 
> Is there a tool to draw such diagrams? (In general, the
> details may vary.)

If LaTeX is an option for you, this could be done with pgf­gantt:

http://www.ctan.org/tex-archive/graphics/pgf/contrib/pgfgantt

Alex

[toc] | [prev] | [next] | [standalone]


#366

FromEmanuel Berg <embe8573@student.uu.se>
Date2013-09-30 00:40 +0200
Message-ID<87had3mesy.fsf@nl106-137-194.student.uu.se>
In reply to#360
Alexander Senier <mail@senier.net> writes:

> If LaTeX is an option for you, this could be done with
> pgf­gantt:
>
> http://www.ctan.org/tex-archive/graphics/pgf/contrib/pgfgantt

Of course LaTeX is an option! Perhaps this is the best
advice yet, as I am not that inclined to much about with
Wine.

-- 
Emanuel Berg - programmer (hire me! CV below)
computer projects: http://user.it.uu.se/~embe8573
internet activity: http://home.student.uu.se/embe8573

[toc] | [prev] | [next] | [standalone]


#367

FromEmanuel Berg <embe8573@student.uu.se>
Date2013-10-01 04:31 +0200
Message-ID<877gdx4t7y.fsf@nl106-137-194.student.uu.se>
In reply to#360
Alexander Senier <mail@senier.net> writes:

>> Is there a tool to draw such diagrams? (In general,
>> the details may vary.)
>
> If LaTeX is an option for you, this could be done with
> pgf­gantt:
>
> http://www.ctan.org/tex-archive/graphics/pgf/contrib/pgfgantt

Yes, that was a good start. There isn't any support for
CIS diagrams in pgfgantt, but with lots of
trial-and-error modifications and hacks, I did an
example that could serve as skeleton code, so I should
be able to produce the 15 or so scenarios I have to
cover hopefully by just putting in digits in slots.

Note though, I'm no LaTeX expert, so this is rather a
demo that this type of task (uh) can be done with this
method, and with a reasonable effort.

The diagram:

http://user.it.uu.se/~embe8573/cis/1-2.pdf

The LaTeX code:

http://user.it.uu.se/~embe8573/cis/1-2.tex

Thank you Alex. I was about to draw this all by hand :)

-- 
Emanuel Berg - programmer (hire me! CV below)
computer projects: http://user.it.uu.se/~embe8573
internet activity: http://home.student.uu.se/embe8573

[toc] | [prev] | [next] | [standalone]


#361

FromJeffrey Carter <spam.jrcarter.not@spam.not.acm.org>
Date2013-09-28 10:43 -0700
Message-ID<l274fm$770$1@dont-email.me>
In reply to#359
On 09/28/2013 03:30 AM, Emanuel Berg wrote:
>
> I don't know. Doing it with gimp or even Dia doesn't
> seem that attractive.

I'm sure you could do it with LibreOffice Draw, but if Dia isn't attractive, 
then I doubt if Draw would be, either.

BTW, that isn't a flowchart.

-- 
Jeff Carter
"If you don't get the President of the United States on that
phone, ... you're going to have to answer to the Coca-Cola
Company."
Dr. Strangelove
32

[toc] | [prev] | [next] | [standalone]


#362

FromEmanuel Berg <embe8573@student.uu.se>
Date2013-09-28 20:16 +0200
Message-ID<87r4c8q09j.fsf@nl106-137-194.student.uu.se>
In reply to#361
Jeffrey Carter <spam.jrcarter.not@spam.not.acm.org> writes:

>> I don't know. Doing it with gimp or even Dia doesn't
>> seem that attractive.
>
> I'm sure you could do it with LibreOffice Draw, but if
> Dia isn't attractive, then I doubt if Draw would be,
> either.

Optimally I'd like a tool where you "draw" by entering
digits. (As a method of drawing, not a basis for
computation.) Using Dia would be fine for one ore two
such diagrams but I have scores to do, so then I prefer
pen-and-paper to the mouse every day of the week.

> BTW, that isn't a flowchart.

OK, so what is it called? I always want to use the
correct terminology.

-- 
Emanuel Berg - programmer (hire me! CV below)
computer projects: http://user.it.uu.se/~embe8573
internet activity: http://home.student.uu.se/embe8573

[toc] | [prev] | [next] | [standalone]


#363

FromDon Y <this@isnotme.com>
Date2013-09-28 13:44 -0700
Message-ID<l27f29$9p$1@speranza.aioe.org>
In reply to#359
Hi Emanuel,

On 9/28/2013 3:30 AM, Emanuel Berg wrote:
> This might be (a bit) OT on comp.lang.ada, but as Ada is
> - or should be - the number one real time programming
> language, I thought probably you could help me. (Also,
> there doesn't seem to be that much traffic on
> comp.realtime, though I know there are some good people
> there, too.)
>
> Anyway, take a look at this:
>
> http://user.it.uu.se/~embe8573/flowchart.png

I'm not sure what you are trying to illustrate (the png
renders here as white-on-black):
- a digital timing diagram  E.g., the timing relationships
   of inputs and outputs in a digital system (which would
   include "hi", "lo", "don't care", "float" levels) AND
   their causal events (e.g., "this edge coupled with that
   level initiates this transition...")
- task execution (appears to be what the text addresses)
- task *eligibility* (release vs. deadline)
etc.

> Is there a tool to draw such diagrams? (In general, the
> details may vary.)

Lots of "Illustrator-like" tools can be used for this purpose.
Even CAD programs (where you can more readily specify the dimensions
of boxes/events)

> I don't need a tool to compute runtimes, preemptions,
> etc., out of raw data, and then draw, no, I'm going to
> draw everything manually, only, I thought there might be
> a tool to do it.
>
> Otherwise, I thought about buying those big
> white-blue-ish sheets that engineers used (and should
> use, still, if they have style), and draw them by

Quadrille pads?

> hand. Also, I contemplated the idea of drawing them on a
> whiteboard, and then shoot it with a camera.
>
> I don't know. Doing it with gimp or even Dia doesn't
> seem that attractive.

Decide if what you are doing is informal or formal and
whether you have (or *care* about "dimensions" for each
of these timelines.

If you are drawing informally or just to show the *general*
relationship between these, all you really need is something that
makes it easy to draw straight lines/boxes.

If, instead, you want to show that this box is exactly "25" in
duration and, if you end up having to displace it "3 units"
in the course of drawing it, you might want a tool that has a
convenient "grid" that it enforces ("snap to") *or* allows
dimensions to be "entered, manually".

[toc] | [prev] | [next] | [standalone]


#365

FromEmanuel Berg <embe8573@student.uu.se>
Date2013-09-30 00:38 +0200
Message-ID<87mwmvmex0.fsf@nl106-137-194.student.uu.se>
In reply to#363
Don Y <this@isnotme.com> writes:

> - task execution (appears to be what the text addresses)

Yes.

> - task *eligibility* (release vs. deadline)

That should be deductible if you compare the diagram to
the task set and the task's parameters.

> Decide if what you are doing is informal or formal and
> whether you have (or *care* about "dimensions" for
> each of these timelines.

I don't know if it is informal or formal; as for the
dimensions, they must be consistent on a per-diagram
basis. If one task executes for 5 something, and the
other for 3, then that other task should have an
execution box that is 3/5 the length of the first task.

> you might want a tool that has a convenient "grid"
> that it enforces ("snap to") *or* allows dimensions to
> be "entered, manually".

Yes, both those alternatives would be OK but best would
be to just enter digits.

-- 
Emanuel Berg - programmer (hire me! CV below)
computer projects: http://user.it.uu.se/~embe8573
internet activity: http://home.student.uu.se/embe8573

[toc] | [prev] | [standalone]


Back to top | Article view | comp.realtime


csiph-web