IN3LBQ on the Hühnerspiel (Amthorspitze) - photo by IN3OTD

DIODEMX

DIODEMX is a program for the analysis of diode mixers; it has been derived from the version I.39 of the original Turbo Pascal sources, by Stephen A. Maas, with the help of p2c (a pascal-to-C translator) and many manual refinements, so that this version doesn't need the p2c library anymore.
The text window functions are implemented using the curses (ncurses) library, while the graphic functions (needed only for plotting the data) are implemented with svgalib. This means you need both libraries to be installed on your system to compile this C version of diodemx properly.
Please note that usually root privileges are needed to use svgalib graphics, so either run diodemx as root or make it suid root before attempting to use the graphical features. The text-mode features (all the computations) work also with normal user privileges.
The program functionalities are the same as the original pascal version, also the external appearance is very close to the original. All files opened by the program have been converted to lowercase.

Here you can download the latest DIODEMX C version. The original Turbo Pascal code can be found at www.nonlintec.com
The program usage is described in the files README and instruct.txt included in the distribution; to be able to fully exploit the program functionalities it is recommended to read them thoroughly and, if possible, consult also the references below [1], [2], [3].

Since it is likely that some bugs were introduced during the translation process and gone unnoticed during the tests, should you find one of them please don't bother Sthephen with bug reports about this C version, but send them to me instead.

Thanks goes to Sthephen A. Maas for making the original Pascal sources available and for allowing me to release the C sources under the GNU General Public License.


References:

[1] S. A. Maas, "Microwave Mixers," Artech House, Norwood, MA - 1986.
[2] S. A. Maas, "Two-tone Intermodulation in Diode Mixers," IEEE Trans. Microwave Theory and Techniques, vol.35, no. 3, pp.307-314, Mar. 1987.
[2] S. A. Maas, "Nonlinear Microwave Circuits," Artech House, Norwood MA - 1988.