real-time plot with graphET

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

real-time plot with graphET

SergeStinckwich
Hi all,

I would like to plot real-time sensor data that comes from an arduino board.
Is there something to do that in GraphET or any idea to implement it ?

Thank you.
--
Serge Stinckwich
UCBN & UMI UMMISCO 209 (IRD/UPMC)
Every DSL ends up being Smalltalk
http://www.doesnotunderstand.org/
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: real-time plot with graphET

abergel
I will work on this this week end. This is something I would like to do for a long time.
I will let you know how it goes :-)

Alexandre


On Apr 25, 2014, at 1:14 AM, Serge Stinckwich <[hidden email]> wrote:

> Hi all,
>
> I would like to plot real-time sensor data that comes from an arduino board.
> Is there something to do that in GraphET or any idea to implement it ?
>
> Thank you.
> --
> Serge Stinckwich
> UCBN & UMI UMMISCO 209 (IRD/UPMC)
> Every DSL ends up being Smalltalk
> http://www.doesnotunderstand.org/
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: real-time plot with graphET

abergel
In reply to this post by SergeStinckwich
I have quickly made up something. Still at an early stage, but I am curious to see how it will grow. Check this:

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
| b |
b := RTTimeLineBuilder new.
"The lowest value will be red, the highest will be green"
b colors: {Color red . Color green}.

"Width of the bar"
b shape current width: 15.

"Total height of the diagram"
b height: 80.

"Number of values to be displayed before scrolling to the right"
b numberOfValues: 20.

"Small button for test purpose"
b view canvas addMenu: 'Add' callback: [ b add: 30 atRandom ].
b open
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

A screenshot:

And a small video that shows the example:

It took me about 5 mn to do this. This is easily extensible…
For now, this is separated from GraphET. Probably it would make sense to move it from Roassal to GraphET.

Cheers,
Alexandre


On Apr 25, 2014, at 1:14 AM, Serge Stinckwich <[hidden email]> wrote:

Hi all,

I would like to plot real-time sensor data that comes from an arduino board.
Is there something to do that in GraphET or any idea to implement it ?

Thank you.
-- 
Serge Stinckwich
UCBN & UMI UMMISCO 209 (IRD/UPMC)
Every DSL ends up being Smalltalk
http://www.doesnotunderstand.org/
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: real-time plot with graphET

Tudor Girba-2
That is nice.

Doru


On Sun, Apr 27, 2014 at 9:26 PM, Alexandre Bergel <[hidden email]> wrote:
I have quickly made up something. Still at an early stage, but I am curious to see how it will grow. Check this:

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
| b |
b := RTTimeLineBuilder new.
"The lowest value will be red, the highest will be green"
b colors: {Color red . Color green}.

"Width of the bar"
b shape current width: 15.

"Total height of the diagram"
b height: 80.

"Number of values to be displayed before scrolling to the right"
b numberOfValues: 20.

"Small button for test purpose"
b view canvas addMenu: 'Add' callback: [ b add: 30 atRandom ].
b open
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

A screenshot:

And a small video that shows the example:

It took me about 5 mn to do this. This is easily extensible…
For now, this is separated from GraphET. Probably it would make sense to move it from Roassal to GraphET.

Cheers,
Alexandre


On Apr 25, 2014, at 1:14 AM, Serge Stinckwich <[hidden email]> wrote:

Hi all,

I would like to plot real-time sensor data that comes from an arduino board.
Is there something to do that in GraphET or any idea to implement it ?

Thank you.
-- 
Serge Stinckwich
UCBN & UMI UMMISCO 209 (IRD/UPMC)
Every DSL ends up being Smalltalk
http://www.doesnotunderstand.org/
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev




--

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: real-time plot with graphET

Usman Bhatti



On Sun, Apr 27, 2014 at 9:56 PM, Tudor Girba <[hidden email]> wrote:
That is nice.

+1
 

Doru


On Sun, Apr 27, 2014 at 9:26 PM, Alexandre Bergel <[hidden email]> wrote:
I have quickly made up something. Still at an early stage, but I am curious to see how it will grow. Check this:

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
| b |
b := RTTimeLineBuilder new.
"The lowest value will be red, the highest will be green"
b colors: {Color red . Color green}.

"Width of the bar"
b shape current width: 15.

"Total height of the diagram"
b height: 80.

"Number of values to be displayed before scrolling to the right"
b numberOfValues: 20.

"Small button for test purpose"
b view canvas addMenu: 'Add' callback: [ b add: 30 atRandom ].
b open
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

A screenshot:

And a small video that shows the example:

It took me about 5 mn to do this. This is easily extensible…
For now, this is separated from GraphET. Probably it would make sense to move it from Roassal to GraphET.

Cheers,
Alexandre


On Apr 25, 2014, at 1:14 AM, Serge Stinckwich <[hidden email]> wrote:

Hi all,

I would like to plot real-time sensor data that comes from an arduino board.
Is there something to do that in GraphET or any idea to implement it ?

Thank you.
-- 
Serge Stinckwich
UCBN & UMI UMMISCO 209 (IRD/UPMC)
Every DSL ends up being Smalltalk
http://www.doesnotunderstand.org/
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev




--

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev