ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Real time trend with multiple charts with multiple signals shows wrong value for first signal plotted.
Posted by Roopesh on May-02-2014 12:39
Hi,
We are using real time trends where we have multiple charts in which 2 signals are plotted
per chart. All the chart plots correctly till the chart window is filled with values. Once the
values in the display starts shifting as the new values comes, the FIRST SIGNAL IN THE
FIRST CHART plots wrongly. Why is the first signal shows wrong display ?
1.We plotted sine wave with same values in 4 signals in 2 charts (2 signals in each chart).
Chart1 (s1, s2) Chart2 (s3,s4)
2. Since the signals in each chart has same values only one plot should be visible in the
trend. This is happening correctly till the chart window is full.
3. Once the display starts shifting, s1 in Chart1 plots wrong. s2, s3 and s4 plots correct.
Problem is only with the first channel.

(We have data for each signal at the rate of 4800/second and we are updating chart in
every second. I think this is not a problem. Sample data attached.)

  Re: Real time trend with multiple charts with multiple signals shows wrong value for first signal plotted.
Posted by Peter Kwan on May-02-2014 16:42
Hi Roopesh,

For some reasons, I cannot see the attachment. Is it possible to try once more to add the
attachment? Note that this forum has a file size limit of 250 kBytes. If the attachment has
more than 250 KBytes, you may need to zip it first, or you may email to me at
pkwan@advsofteng.net. Also, a screen shot would be useful as it can help me to
understand how the chart is incorrrect.

If the signal in the chart is not what you expect, my speculation is because the data that
are passed to the chart is incorrect. It may be due to some issue in shifting of the data
arrays. If you can provide some code fragments on how the arrays are updated, they would
also be useful for trouble-shooting the issue.

Regards
Peter Kwan