Displaying the graphs using RtTrend.
I have following problem:
I would like to display the time right to left graph using RtTrend, but
the timing of the signal is finer than the resolution of the RtTrend,
so in one increment of the trend all the values of the time interval
should be displayed, i.e. in one increment not a POINT, but a VERTICAL
line (with the end points in the min and max values of the signal during
the interval corresponding to this increment) should be displayed.
Is it possible to do this using RtTrend or should I develop my own widget
for this ?
Thanks for the answers.
Mgr. Martin Gazak, MicroStep-MIS
Ilkovicova 3, 841 04 Bratislava, Slovakia
Tel: ++421 7 60291 816
e-mail:matog@microstep-mis.sk
Hello Martin
When you input a point then it will connect a line to the last point. So
this will draw you straight lines between the points. You will want to
set the Rt_ARG_TREND_INC flag to the interval that you speak of below. Also
to go vertically you will have to set the Rt_TREND_FLAGS to have the Rt_TREND_VERTICAL
and either the Rt_TREND_TOP_TO_BOTTOM or Rt_TREND_BOTTOM_TO_TOP bits set.
Thanks
Rodney
Martin Gazak <matog@microstep-mis.sk> wrote:
Displaying the graphs using RtTrend.
I have following problem:
I would like to display the time right to left graph using RtTrend, but
the timing of the signal is finer than the resolution of the RtTrend,
so in one increment of the trend all the values of the time interval
should be displayed, i.e. in one increment not a POINT, but a VERTICAL
line (with the end points in the min and max values of the signal during
the interval corresponding to this increment) should be displayed.
Is it possible to do this using RtTrend or should I develop my own widget
for this ?
Thanks for the answers.
Mgr. Martin Gazak, MicroStep-MIS
Ilkovicova 3, 841 04 Bratislava, Slovakia
Tel: ++421 7 60291 816
e-mail:> matog@microstep-mis.sk
I appreciate your response, however I think you misunderstood me.
What I asked is this:
I need a HORIZONTAL trend with capability of drawing VERTICAL lines.
The reason is following - the trend is used for displaying the measured
values, but the sampling frequency and consequently the time period between
the measurements is higher than the time period corresponding to one
increment of RtTrend.
For example: let the increment of the trend corresponds to 1 second.
1st second - measured values are all equal to 5
2nd second - measured values are ranging from 6 to 7
3rd second - measured values are ranging from 7 to 9
4th second - measured values are ranging from 6 to 8
It is necessary to display min and max, no average.
I would like to display something like this:
9 *
8 **
7 ***
6 * *
5 *
01234
Note, that each column is only 1 increment wide.
Of course, this can be achieved by replacing the vertical line with
the pair of min and max, but this degrades the displaying (RtTrend covers
only a half time interval).
Thanks.
Martin
Gui Group <gui@qnx.com> wrote:
Hello Martin
When you input a point then it will connect a line to the last point. So
this will draw you straight lines between the points. You will want to
set the Rt_ARG_TREND_INC flag to the interval that you speak of below. Also
to go vertically you will have to set the Rt_TREND_FLAGS to have the Rt_TREND_VERTICAL
and either the Rt_TREND_TOP_TO_BOTTOM or Rt_TREND_BOTTOM_TO_TOP bits set.
Mgr. Martin Gazak, MicroStep-MIS
Ilkovicova 3, 841 04 Bratislava, Slovakia
Tel: ++421 7 60291 816
e-mail:matog@microstep-mis.sk
Hello Martin
I will send you an example in the mail. Hopefully it willl accomplish what you
want to get done. If it doesn’t, reply back to me here and explain how it doesn’t
suit your needs.
Thanks
Rodney
Martin Gazak <matog@nod10.mstep> wrote:
I appreciate your response, however I think you misunderstood me.
What I asked is this:
I need a HORIZONTAL trend with capability of drawing VERTICAL lines.
The reason is following - the trend is used for displaying the measured
values, but the sampling frequency and consequently the time period between
the measurements is higher than the time period corresponding to one
increment of RtTrend.
For example: let the increment of the trend corresponds to 1 second.
1st second - measured values are all equal to 5
2nd second - measured values are ranging from 6 to 7
3rd second - measured values are ranging from 7 to 9
4th second - measured values are ranging from 6 to 8
It is necessary to display min and max, no average.
I would like to display something like this:
9 *
8 **
7 ***
6 * *
5 *
01234
Note, that each column is only 1 increment wide.
Of course, this can be achieved by replacing the vertical line with
the pair of min and max, but this degrades the displaying (RtTrend covers
only a half time interval).
Thanks.
Martin
Gui Group <> gui@qnx.com> > wrote:
Hello Martin
When you input a point then it will connect a line to the last point. So
this will draw you straight lines between the points. You will want to
set the Rt_ARG_TREND_INC flag to the interval that you speak of below. Also
to go vertically you will have to set the Rt_TREND_FLAGS to have the Rt_TREND_VERTICAL
and either the Rt_TREND_TOP_TO_BOTTOM or Rt_TREND_BOTTOM_TO_TOP bits set.
Mgr. Martin Gazak, MicroStep-MIS
Ilkovicova 3, 841 04 Bratislava, Slovakia
Tel: ++421 7 60291 816
e-mail:> matog@microstep-mis.sk
Hi,
I also have the same problem. Would you send these informations in this
newsgroup ?
I would really appreciate.
Thanks in advance.
Arnauld Disableu
arnauld@disableu.net
http://www.disableu.net
Compatible an 2000
Year 2000 compliant
“Gui Group” <gui@qnx.com> a écrit dans le message de news:
9navot$gd0$1@nntp.qnx.com…
Hello Martin
I will send you an example in the mail. Hopefully it willl accomplish
what you
want to get done. If it doesn’t, reply back to me here and explain how it
doesn’t
suit your needs.
Thanks
Rodney
Martin Gazak <> matog@nod10.mstep> > wrote:
I appreciate your response, however I think you misunderstood me.
What I asked is this:
I need a HORIZONTAL trend with capability of drawing VERTICAL lines.
The reason is following - the trend is used for displaying the measured
values, but the sampling frequency and consequently the time period
between
the measurements is higher than the time period corresponding to one
increment of RtTrend.
For example: let the increment of the trend corresponds to 1 second.
1st second - measured values are all equal to 5
2nd second - measured values are ranging from 6 to 7
3rd second - measured values are ranging from 7 to 9
4th second - measured values are ranging from 6 to 8
It is necessary to display min and max, no average.
I would like to display something like this:
9 *
8 **
7 ***
6 * *
5 *
01234
Note, that each column is only 1 increment wide.
Of course, this can be achieved by replacing the vertical line with
the pair of min and max, but this degrades the displaying (RtTrend
covers
only a half time interval).
Thanks.
Martin
Gui Group <> gui@qnx.com> > wrote:
Hello Martin
When you input a point then it will connect a line to the last point.
So
this will draw you straight lines between the points. You will want to
set the Rt_ARG_TREND_INC flag to the interval that you speak of below.
Also
to go vertically you will have to set the Rt_TREND_FLAGS to have the
Rt_TREND_VERTICAL
and either the Rt_TREND_TOP_TO_BOTTOM or Rt_TREND_BOTTOM_TO_TOP bits
set.
Mgr. Martin Gazak, MicroStep-MIS
Ilkovicova 3, 841 04 Bratislava, Slovakia
Tel: ++421 7 60291 816
e-mail:> matog@microstep-mis.sk
Well Arnauld, the example is kinda large, and I’m not sure if it is exactly what
Martin is looking for, but I will send it to you if you’d like and you can see if
it suits your needs.
Hey Martin, I tried to send you an example but the email got returned to me. Do you
have another email address that I could email the example too.
Thanks
Rodney
Gui Group <gui@qnx.com> wrote:
Hello Martin
I will send you an example in the mail. Hopefully it willl accomplish what you
want to get done. If it doesn’t, reply back to me here and explain how it doesn’t
suit your needs.
Thanks
Rodney
Martin Gazak <> matog@nod10.mstep> > wrote:
I appreciate your response, however I think you misunderstood me.
What I asked is this:
I need a HORIZONTAL trend with capability of drawing VERTICAL lines.
The reason is following - the trend is used for displaying the measured
values, but the sampling frequency and consequently the time period between
the measurements is higher than the time period corresponding to one
increment of RtTrend.
For example: let the increment of the trend corresponds to 1 second.
1st second - measured values are all equal to 5
2nd second - measured values are ranging from 6 to 7
3rd second - measured values are ranging from 7 to 9
4th second - measured values are ranging from 6 to 8
It is necessary to display min and max, no average.
I would like to display something like this:
9 *
8 **
7 ***
6 * *
5 *
01234
Note, that each column is only 1 increment wide.
Of course, this can be achieved by replacing the vertical line with
the pair of min and max, but this degrades the displaying (RtTrend covers
only a half time interval).
Thanks.
Martin
Gui Group <> gui@qnx.com> > wrote:
Hello Martin
When you input a point then it will connect a line to the last point. So
this will draw you straight lines between the points. You will want to
set the Rt_ARG_TREND_INC flag to the interval that you speak of below. Also
to go vertically you will have to set the Rt_TREND_FLAGS to have the Rt_TREND_VERTICAL
and either the Rt_TREND_TOP_TO_BOTTOM or Rt_TREND_BOTTOM_TO_TOP bits set.
Mgr. Martin Gazak, MicroStep-MIS
Ilkovicova 3, 841 04 Bratislava, Slovakia
Tel: ++421 7 60291 816
e-mail:> matog@microstep-mis.sk
Gui Group <gui@qnx.com> wrote:
Well Arnauld, the example is kinda large, and I’m not sure if it is exactly what
Martin is looking for, but I will send it to you if you’d like and you can see if
it suits your needs.
Hey Martin, I tried to send you an example but the email got returned to me. Do you
have another email address that I could email the example too.
Martin’s e-mail address is: matog@microstep-mis.sk as you can see in the
last line of this article. It is surely operational.
Andy
Thanks
Rodney
Gui Group <> gui@qnx.com> > wrote:
Hello Martin
I will send you an example in the mail. Hopefully it willl accomplish what you
want to get done. If it doesn’t, reply back to me here and explain how it doesn’t
suit your needs.
Thanks
Rodney
Martin Gazak <> matog@nod10.mstep> > wrote:
I appreciate your response, however I think you misunderstood me.
What I asked is this:
I need a HORIZONTAL trend with capability of drawing VERTICAL lines.
The reason is following - the trend is used for displaying the measured
values, but the sampling frequency and consequently the time period between
the measurements is higher than the time period corresponding to one
increment of RtTrend.
For example: let the increment of the trend corresponds to 1 second.
1st second - measured values are all equal to 5
2nd second - measured values are ranging from 6 to 7
3rd second - measured values are ranging from 7 to 9
4th second - measured values are ranging from 6 to 8
It is necessary to display min and max, no average.
I would like to display something like this:
9 *
8 **
7 ***
6 * *
5 *
01234
Note, that each column is only 1 increment wide.
Of course, this can be achieved by replacing the vertical line with
the pair of min and max, but this degrades the displaying (RtTrend covers
only a half time interval).
Thanks.
Martin
Gui Group <> gui@qnx.com> > wrote:
Hello Martin
When you input a point then it will connect a line to the last point. So
this will draw you straight lines between the points. You will want to
set the Rt_ARG_TREND_INC flag to the interval that you speak of below. Also
to go vertically you will have to set the Rt_TREND_FLAGS to have the Rt_TREND_VERTICAL
and either the Rt_TREND_TOP_TO_BOTTOM or Rt_TREND_BOTTOM_TO_TOP bits set.
Mgr. Martin Gazak, MicroStep-MIS
Ilkovicova 3, 841 04 Bratislava, Slovakia
Tel: ++421 7 60291 816
e-mail:> matog@microstep-mis.sk