IonicWind Software

IWBasic => General Questions => Topic started by: Techno on December 22, 2009, 07:21:49 AM

Title: Custom Chart Library and Designer Question
Post by: Techno on December 22, 2009, 07:21:49 AM
Larry

I'm licened user of your custom Chart Library and Designer. I found an very interesting libaray for creating maybe if that can create an virtual oscilloscope screen?

Is that possible with your library?

Title: Custom Chart Library and Designer Question
Post by: LarryMc on December 22, 2009, 07:52:08 AM
The chart library has a y=f(x) chart type.

That's as close as it can get.

An O-scope is a plot function of voltage vs. time.

All my library does for a function is send a pixel based x value  (scaled to the user's x axis) to the user's function and the user's function returns the proper y value when the library scales properly for display.

It's up to the user to properly construct the nature of their function.

So if you created an array of x/y values with the x value being time having a value equal to the time for 1 pixel and having the y value be the voltage at that time you could probably have something that functioned like an o-scope

the problem might be the speed that you could update the values
If your scope was 800 pixels wide that is 800 values that would have to be updated very fast.  
If you wanted the chart to repaint every sec then all your data gathering would have to occur in less than that second.

I just don't know how well it would work out.

Larry