Page 1 of 1

smith chart

Posted: Tue Sep 26, 2006 8:24 am
by 9637396
Hi

I have just started to look at smith chart and I'm having difficulties finding good examples and help.
Do you have an example application (I have had a look at the one sample shipped with the Teechart Installation, but it only fills in sample values and I need more infomration about how to add values. Should it be in real and imaginary parts or something else?)
Also in the teechart editor I can go to series and Circled and there I can turn off 3d. How do i do that in code?

Thanks in advance
Lars Iversen

p.s. By the way when I work on the axes in the teeeditor they get turned invisible everytime I click any of the tabsheets. e.g. if I'm at "Scale" I check the visible checkbox and change to the "Ticks" tab and then the axes turn invisivble and I need to go back to "Scales" and turn it on again. I guess thats a bug. My version is: 2.0.2306.26232

Posted: Tue Sep 26, 2006 9:24 am
by narcis
Hi Lars,

Some info about Smith series extracted from TeeChart VCL's help:

function AddPoint(Const Resist, React: Double; Const ALabel: String; AColor: TColor): Integer;

Description
Add new point Z=Resist +i*React (in complex plane) to Smith series.

Use AddPoint method to add new complex impedance values to the Series. The new point is represented with a resistance and a reactance value. The AXLabel parameter is optional (can be empty ''). The AColor parameter is optional (can be clTeeColor). The function returns the new point position in the Values list.


You can use any of its Add method overrides that use those parameters.
Also in the teechart editor I can go to series and Circled and there I can turn off 3d. How do i do that in code?
You can use this code:

Code: Select all

        smith1.Circled = true;
        tChart1.Aspect.View3D = false;
p.s. By the way when I work on the axes in the teeeditor they get turned invisible everytime I click any of the tabsheets. e.g. if I'm at "Scale" I check the visible checkbox and change to the "Ticks" tab and then the axes turn invisivble and I need to go back to "Scales" and turn it on again. I guess thats a bug. My version is: 2.0.2306.26232
I'm not able to reproduce it here. Please notice that we posted a new maintenance release to the client area last week. Could you please check if it works fine at your end?