Write a simple signal generator application with SignalLab using Delphi or C++ Builder


This is a step by step tutorial for writing a simple signal generator application in Delphi or C++ Builder VCL by using SignalLab.

The steps are exactly identical in Delphi or C++ Builder versions 5 to 2007.

There is no code writing necessary to complete this application.

There is no need to know Delphi or C++ Builder in order to create this application.


The steps bellow are captured using Delphi 2007, however they are identical in C++ Builder and older versions of the products.

SimpleGenerator

The tutorial covers the following steps, which should take less than one minute:

1. Add a TSLSignalGen Component to Your Application's Form:

1.1. From the SignalLab tab of the component palette drop a SLSignalGen TSLSignalGen component.

2. Add a TSLScope Control to Your Application's Form:

2.1. From the SignalLab tab of the component palette drop a SLScope TSLScope control.

2.2. Set the SLScope1 Control’s Align property to “alClient”:

SLWaterfallObjectInspectorAlign

3. Connect the SLSignalGen1.OutputPin to SLScope1.InputPins[0]:

3.1. Select the signalGen1 component on the form:

Fim1SLSignalGen1

3.2. In the SLSignalGen1 Properties select OutputPin and click on the DottedButton button:

SLSignalGen1PropertiesOutputPin

3.2. In the connection editor check the InputPins.Channel0 of the SLScope1 and click OK:

SLSignalGen1OutputPinEdit

4. Run the Application:

4.1 Press (F9) to run the application. You should see the wave form on the scope:

RunningSignalGenerationDelphi

Here is a diagram of the OpenWire connections in this application:

SignalGeneratorDiagram