The LHFSD.exe application is developed in the last part, Software Design, of LHFSD5. Naturally, LHFSD.exe is not a finished software product: it is just a training exercise, therefore do not expect any fancy programming features. Please, do not forget that LHFSD.exe is exactly what you are going to design using LHFSD5 book, and the accompanying Source Code ED5RV07EN_15!

By downloading and installing LHFSD.exe program on your PC machine, you could test the compatibility with the Windows OS version you work with. Attention: on Vista and Windows 8.x you are going to receive some warning messages; just ignore them, and force the program to run.

Now, due to the Windows Vista/8.x unfortunate reality, we do not present the "deployable Setup_LHFSD.exe"; we prefer that you work with LHFSD.exe instead, to simplify and to expedite things. Just download it to your "Downloads" directory, then run it (forcefully) from there. Once you are done testing the program, simply delete it.

All downloads from Corollary Theorems site are free from any malicious/harmful viruses. Note that our host server is in USA/Pennsylvania, and we rely on their "Made in USA" quality service--this is, in fact, the best quality possible on Planet!

True now, accidents could happen, only such accidents are beyond Corollary Theorems control, and beyond our USA partners efforts. Anyway, rest assured that we try our best, permanently, in order to protect our customers.

Please be aware that LHFSD.exe has no provisions to adjust its graphic controls for all screen resolutions--that is a task you will have to implement yourself. Again, LHFSD.exe is just a training exercise that you are going to write and compile, therefore we present only the simplest routines possible. [By the way; Visual Basic language we use in LHFSD book, and the VB6 compiler we recommend, are the simplest software tools ever, in the history of mankind!]

Now, the downloadable LHFSD.exe is only partially functional on your PC machine because it is designed to work with the LHFSD-HCK kit. However, you could explore a few functions according to the "try before you buy" principle. For example, the Internet Browser window should be perfectly functional. In addition, you can test if the program detects the COMx driver installed by your USB/RS232 cable adaptor--in case you have one. LHFSD.exe program is explained in minute details in LHFSD book, therefore you will learn there how to change/modify everything inside LHFSD.exe the way it pleases you most.


program has been tested on Windows 95/98/2000P/ME/XP/Vista/7/8.1: it works perfectly fine on any of them! Note that it is not easy to please all the Windows versions; therefore, it may be that you get some warnings at run-time. That is little important; just force the program to run (particularly on Vista and 8.x). Anyway, in order to install LHFSD.exe on your PC follow these steps:

STEP 1: Right click right here to Download LHFSD.exe, then save it to a directory you prefer (or to your default Downloads directory). This file is only 164 KBytes.
STEP 2: Double click to run the program--again, forcefully if needed. When the program runs, you are asked to enter a Name and Password in the first window: ignore that; just click on the "OK" button.
STEP 3: In order to uninstall LHFSD.exe, right-click and select Delete. Rest assured that absolutely no files will remain on your PC.

The current version of "LHFSD.exe" is ED5RV07EN_15, compiled specifically to run on Windows XP/Vista/7/8.1 of 32/64 bits.

If you do not have the USB/RS232 cable adaptor attached physically to your PC, you will get an error message when you select a COM port, despite the fact you already have the USB/RS232 software driver installed. Dot worry about anything: in LHFSD5 you have all the instructions needed.

Following are a few screen fragments presenting the running LHFSD.exe application on Windows 8.1/64 bits.


The first window to open is the "Login" one. Please do not enter any data in the "User Name" and "Password" fields. The Login is presented only as a real-world implementation exercise. Details are in LHFSD book, and in the accompanying Source Code files.

Just press the "OK" button.


Next comes the "Splash" window presenting a few general information data to the users. Click on "OK".


In this picture you can see the external communications interface. COM3 port and 57.6 KBaud rate are selected. On your PC this may not work if you do not have a COMx port--you should get an error message. You need to buy an USB/Serial cable adaptor (10-15 USD): that will install a virtual COMx port on your PC, which should work exactly as a normal one.

You can select only 12 COMx ports in LHFSD.exe. If by any chance you need a port COM13, then you have to modify the Source Code--this is very easy.



On this screen fragment you can see the array of Control Buttons--their functionality is explained in LHFSD5 book.

The "LOOPTX" button enables dynamic field data display. The rest of the buttons enable various functions on LHFSD-HCK board [and in some SDx, the VB applications].

Below are a few field data labels updated dynamically in real time. This is fairly difficult to implement in firmware and software, because it works based on the multitasking clock from firmware, on LHFSD-HCK. However, dynamic field data display is an extremely important application since it allows us to control/monitor hardware/firmware data in software, on  PC.

In order to achieve dynamic field data display, you are going to discover the simplest possible firmware and software programming modules/algorithms in LHFSD5 book . Please note that we could easily write our field data to a PC file, and then process it in other applications on PC--as is MatLab, for example.

However, in order to work with dynamic field data display you need the LHFSD-HCK hardware and firmware kit.



The File Management controls tab allows us to save field data form LHFSD-HCK to a file on PC, in ASCII or in binary format. This is a particularly useful set of controls, and you could use it to access even a file you have downloaded from Internet (using the LHFSD.exe embedded Internet Browser).

As you can see, the range of our little LHFSD-HCK kit is, in reality, the entire World!

FLEXGRID CONTROLFlexGrid is one of the most useful graphic controls available in Visual Basic, and LHFSD book explains how to use/embed it in technical applications. In this picture you can see only 30 integer numbers, but we could easily add thousands of them,

Note that the array of 30 integer numbers are sent to firmware, and then they are received back form firmware. We can modify this data, and then we can save it in a file on PC. That is everything we need in order to control software/firmware files in any technical application. No "ADO object" was used to link/update FlexGrid cells while data is moved dynamically to and from PC.

Below is the Graph Trace control: it represents the most advanced form of analog data display. This application is similar to an oscilloscope trace, and you could use it in many incredible implementations--just think about it.


MAPLE 7The last picture presented was drastically minimized in order to fit on this page. You can see the implementation of the custom Internet Browser, and the first page of Corollary Theorems site (in 2015). In addition, note that LHFSD.exe application has a Status Bar where we can add plenty of nice, useful controls. Again, LHFSD.exe is built as a set of template-modules which you could improve as much as you like.

LHFSD - Front Cover

Learn Hardware Firmware and Software Design the easy way!


Send your comments regarding this page using,, or
Page last updated on: April 20, 2017
© SC Complement Control SRL. All rights reserved.



Valid HTML 4.01!

Site pages valid according to W3C

Valid CSS!

Stylesheets pages valid according to W3C