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.
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 TSLSignalGen component.
2. Add a TSLScope Control to Your Application's Form:
2.1. From the SignalLab tab of the component palette drop a TSLScope control.
2.2. Set the SLScope1 Control’s Align property to “alClient”:
3. Connect the SLSignalGen1.OutputPin to SLScope1.InputPins[0]:
3.1. Select the signalGen1 component on the form:
3.2. In the SLSignalGen1 Properties select OutputPin and click on the button:
3.2. In the connection editor check the InputPins.Channel0 of the SLScope1 and click OK:
4.1 Press (F9) to run the application. You should see the wave form on the scope:
Here is a diagram of the OpenWire connections in this application: