> I was trying to build an antenna in C++. I don't know
> where to start. can anyone help me?? if there is some code that would
> be even better. I don't care about the type of antenna as long as it
> communicates.
Antennae are hardware. C++ is software. You have an insurmountable problem
with the fundamental nature of your toolset.
But it might be possible...
--
Phlip
http://industrialxp.org/community/bin/view/Main/TestFirstUserInterfaces
A German computer magazine posted a software solution that could turn the
mouse chord into a radio antenna once.**
Regards
robert
** It was in an April issue...
:-)
YES! Excellent solution.
For added functionality you can use ASP.TIVO to inherit specific
programming to disk. That way you won't lose data while flushing the
thread, or dumping the stack.
You can do that in HTML. Why use C++ for that?
Are you confusing hardware with software? Or are you attempting to
make a virtual sketch of an antenna?
> Antennae are hardware. C++ is software. You
> have an insurmountable problem
> with the fundamental nature of your toolset.
I know the feeling. I tried to build a girlfriend
once using Pascal :-)
-T-
>Hello,
>I know its not trivial. But what i wanted to do is create a
>class in C++ named antenna. I would treat that as an object and write
>the functionality to it. Is there any way that it could communicate??
>Thanks for the earlier reply
If you created a mathematical model of the geometry and
electromagnetic properties of the antenna; and a mathematical model of
the electromagnetic environment that the antenna was in, then you
could subdivide space into a set of tiny three dimensional cubes and
apply Maxwell's laws in each cube. (This is called Finite Element
Analysis, or "Meshing"). In each cube (or finite element) you could
calculate how the electromagnetic environment in that cube induced
currents in the antenna in that cube.
There's probably more to it than this; but it's a way to start. I
suppose there are books on the topic of Finite Element Analysis.
-----
Robert C. Martin (Uncle Bob) | email: uncl...@objectmentor.com
Object Mentor Inc. | blog: www.butunclebob.com
The Agile Transition Experts | web: www.objectmentor.com
800-338-6716
"The aim of science is not to open the door to infinite wisdom,
but to set a limit to infinite error."
-- Bertolt Brecht, Life of Galileo
Shastri: That isn't possible. Is this a joke?
return 0;
}
I can do this in 3 easy steps....
A) Google on antenna builders (not end sales, though you might have to
find an point of sale location to get a brand name and track back from
there)
B) Contact service/support, request Azimuth/Elevation db/range tables
to evaluate if the antenna will work for you application...
C) load and use the data in table lookups in C/C++ use interpolation
between points... name the routine that looks up the information
"piecewise linear approximation" to make it sound more complicated than
it is....
Just me,
Jeff