473,394 Members | 1,806 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

charting data

I am trying to make some kind of a data logger with say 16 channels.So far I
have managed to get the data from the serial port and plot it on a
chart.(using MSChart)I just store the data of each channel in its array(10
samples for each channel) and display it on an X-y chart.But now,I would like
to plot the data with respect to the time of the day,so that at the end of
the day,one can get an idea of the complete activity on the channel
throughout the day.What is the best way of doing this?

I have managed to get the time in the array using the following piece of code
mydate = Format(Now, "hh:mm:ss")
ch01(ch01i, 1) = mydate

What should the settings for the time axis?
I tried the following setting
.Plot.Axis(VtChAxisIdY).ValueScale.Maximum = mydate + 10 / 86400
.Plot.Axis(VtChAxisIdY).ValueScale.Minimum = mydate

expecting it to give Yaxis the range of the current time to 10 seconds
later,but the values that I see on that axis are say 0.564514 to 0.56463.

When i use the this
.Plot.Axis(VtChAxisIdY).ValueScale.Maximum = Format(mydate + 10 / 86400,
"hh:mm:ss")
.Plot.Axis(VtChAxisIdY).ValueScale.Minimum = Format(mydate, "hh:mm:ss")

gives a mismatch eror.

How do I set the axis to scale according to the time?

Hope this is clear.
Thanks.
What should the settings for the time axis?
I tried the following setting

Nov 21 '05 #1
2 1712
Hello,

With such an intensive target, MS Chart will likely not have the speed of
features to satisfy your needs.

Please take a look at our charting components used by many engineering,
manufacturing, and scientific users.

Data logging, real-time, date-time handling, multiple-axes, are just a few
of the areas we specialize in.

Our demo/evaluation edition will likely show example code that does close to
what you need. ProEssentials comes with all interfaces, WinForm, WebForm,
ActiveX, DLL, so no matter your language or interface of choice, you'll feel
comfortable programming ProEssentials.

best regards,

Robert Dede
Gigasoft, Inc.


"sandeepa" <sa******@discussions.microsoft.com> wrote in message
news:88**********************************@microsof t.com...
I am trying to make some kind of a data logger with say 16 channels.So far
I
have managed to get the data from the serial port and plot it on a
chart.(using MSChart)I just store the data of each channel in its array(10
samples for each channel) and display it on an X-y chart.But now,I would
like
to plot the data with respect to the time of the day,so that at the end of
the day,one can get an idea of the complete activity on the channel
throughout the day.What is the best way of doing this?

I have managed to get the time in the array using the following piece of
code
mydate = Format(Now, "hh:mm:ss")
ch01(ch01i, 1) = mydate

What should the settings for the time axis?
I tried the following setting
.Plot.Axis(VtChAxisIdY).ValueScale.Maximum = mydate + 10 /
86400
.Plot.Axis(VtChAxisIdY).ValueScale.Minimum = mydate

expecting it to give Yaxis the range of the current time to 10 seconds
later,but the values that I see on that axis are say 0.564514 to 0.56463.

When i use the this
.Plot.Axis(VtChAxisIdY).ValueScale.Maximum = Format(mydate + 10 / 86400,
"hh:mm:ss")
.Plot.Axis(VtChAxisIdY).ValueScale.Minimum = Format(mydate, "hh:mm:ss")

gives a mismatch eror.

How do I set the axis to scale according to the time?

Hope this is clear.
Thanks.
What should the settings for the time axis?
I tried the following setting

Nov 21 '05 #2
Hi,

Try XYGraph from http://www.componentxtra.com. There is a free version.

----
Bob
http://www.componentXtra.com
Components for .NET

Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Jerry Sievers | last post by:
Dear Pythonists; I would appreciate a recommendation of a open source package for charting numeric data such as stock market quotes etc. Have such a thing in PHP called JPGraph which is very...
4
by: Brian | last post by:
I want to develop an application that has an oscilliscope . I was wondering if anyone has experience (good or bad) of any commercial charting packages that will provide this sort of functionality....
6
by: DG | last post by:
is there a charting control that comes with visual studio or i'll have to buy one? what do you reccomend? thanx
2
by: Jesse Aufiero | last post by:
I'm looking for a good third-party charting component with a user-friendly designer. Does anyone know of one? Thanks!
4
by: tbonejo | last post by:
Hi all. Question: I have a project nearly complete written in VB.Net using charts from 3rd party vendors...expensive, yes, fast, not really. The data I am plotting is about 30 columns by...
10
by: A.M | last post by:
Hi, I developed a HTML reporting tool that renders Oracle data to HTML and Oracle. At this point I have to add charts (3d bars and pie charts) to this
3
by: Igor | last post by:
Hi all, I'm looking for a tool that can design charts and save chart definitions in a file. I would put those chart definitions in a database and then later load them and render charts (as...
20
by: Joe | last post by:
Is any one charting packing considered to be the "best"? We've used ChartFX but wasn't too happy about the way data had to be populated along with some other issues which slip my mind right now and...
2
by: RobcPettit | last post by:
Hi, can anyone suggest how to go about charting. Id like to add a price graph/ma graph and volume chart. My data streems from the internet every second. Ive looked at components but most are out of...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.