Jump to content
Software FX Community

Data Acquisition


User (Legacy)

Recommended Posts

Hi,

I am writing a data aquisition program using Delphi 7. I would like to plot

the +- voltage on the vertical axis and the time on the hrizontal axis. Once

the data is captured I would also like the abililty to analyse the data

using cursor draw on the plot.

Is there any example source code available for this activity. (I am a

newbie)

With thanks,

Pete

Link to comment
Share on other sites

Have you tried the *.HLP file or was one included?  I found the one included

w/version 2.0 helpful, though the software lacked in quality and documentation.

For example, only one series of data will work. If I set the series more than 1,

it fails. No surface charts included, lots of missing #defines in the HPP file,

etc.

Mind telling me how complete the package is and what is included? OCX, LIB,

HLP??

Paul

Pete wrote:

> Hi,

>

> I am writing a data aquisition program using Delphi 7. I would like to plot

> the +- voltage on the vertical axis and the time on the hrizontal axis. Once

> the data is captured I would also like the abililty to analyse the data

> using cursor draw on the plot.

> Is there any example source code available for this activity. (I am a

> newbie)

>

> With thanks,

>

> Pete

Link to comment
Share on other sites

Sorry to intrude on this thread, but I am also looking at using the latest

version Chart FX. I use Borland's C++ Builder 5.0 for projects. I had no

problem

linking in Chart FX 2.0, but in retrospect it appers I got a bit confused using

a few of the functions. Seems I have them correct now.

graph1->OpenDataEx(COD_XVALUES,1,g1->RowCount-1); // THIS WAS MY BIG ERROR. I

changed the 1 to total series, then looped through all the series loading the

xvalues and all was fine.

Should I have any difficulty linking in your newest CHART FX with surface

contour charts to Borland's C++ Builder 5.0? I want to use

the OCX to setup visual development like version 2.0s. If so, I would like to

buy it online today. Is an online download possible?

I downloaded the trial version of ChartFx and did not see an ocx file anywhere

or *.hlp file so haven't had time to try it yet.

Thanks.

Paul B.

Software FX Support wrote:

> What version of Chart FX are you using ? Chart FX for Delphi (5.1), Chart FX

> 2.0 (comes free with Delphi) ? or another version.

>

> Where is the data coming from ? arrays ? BDE Cursor ? ADO Cursor ?

>

> --

> FP

> Software FX, Inc.

Link to comment
Share on other sites

Yes you can buy on-line and download it. The product that works with C++

Builder is Chart FX Client Server. A trial version can be downloaded. Both

the trial and the release version include an ActiveX control that you will

see listed as "ChartFX Client Server" when you do "Import ActiveX" from C++

Builder.

--

FP

Software FX, Inc.

Link to comment
Share on other sites

Hi again.  Nice package.  Few q's though. Whats wrong with the following code.

(C++ Builder5) The compiler does not recognize this:

graph1->ValueEx(2,2) = 2.5;

graph1->ValueEX???????

or

graph1->Series(2).Yvalue(2)= 2.5

graph1->Series(2).YValue??????????/

Paul

Software FX Support wrote:

> Yes you can buy on-line and download it. The product that works with C++

> Builder is Chart FX Client Server. A trial version can be downloaded. Both

> the trial and the release version include an ActiveX control that you will

> see listed as "ChartFX Client Server" when you do "Import ActiveX" from C++

> Builder.

>

> --

> FP

> Software FX, Inc.

Link to comment
Share on other sites

This is kind of contradictory, the version that comes with C++ Builder is

Chart FX 2.0 but you are saying that you have 3.0 right ? so either you got

3.0 from somewhere (maybe a trial) or you are in fact using 2.0, to make

sure check file version of CFX32.OCX and let me know what the exact version

number is.

You can download C++ Builder samples from our support site, look under the

Samples section (on the left panel). There you will find examples on how to

pass data to the chart using OpenData and CloseData.

The samples are for Chart FX Client Server but the code for passing data is

virtually the same in all versions. Use the source code of the sample

programs, you won't be able to open the projects unless you have Chart FX

Client Server installed.

--

FP

Software FX, Inc.

Link to comment
Share on other sites

Ok, on a few more questions.  Keep in mind, I'm new to ChartFX.     I got the

trial version working ok now. Now, whats the best way to create an X,Y,Z

surface graph? I have the following table of data I want to graph: What

I'm really interested in is viewing the SPARK data in a framed contour format.

Any recommendations would save time and are appreciated. I thought I saw

mention of Cluster and Chart3D settings and possibly using the 2nd y axis.

Is this correct?

As X=RPM, Y=ENGINE LOAD, Z=SPARK.

Thanks again,

Paul B.

Software FX Support wrote:

> Array properties in C++ Builder are accessed using [..], instead of (..),

> you can download C++ Builder samples from our support site, look under the

> Samples section (on the left panel).

>

> --

> FP

> Software FX, Inc.

Link to comment
Share on other sites

We do not support X-Y-Z charts.

A surface or contour chart receive a grid of data, each cell representing

the height of that particular quadrant.

Your data needs to be evenly spaced in both X and Z. The number of series

will determine the "depth" of your chart and the number of points will

determine its "width".

Check out the "Surface & Contour" sample for more details.

--

FP

Software FX, Inc.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...