DELIB.PAS Integration in Delphi
Description of the "delib.pas" integration in Delphi
Download and install the DELIB-Driverlibrary (continue to DELIB-Driverlibrary). You can find the needed files for Delphi in the directory C:\Programme\DEDITEC\DELIB\include\delib.pas.Start Delphi and open via menu "Projekt -> dem Projekt hinzufügen" the file "delib.pas" to import.
| Import of the DELIB.PAS include file |
|
Click to enlarge ![]() |
Creation of UserForm
At starting up, Delphi creates automatically a new UserForm. In order to have a testprogram you need to add buttons via menu "Standart -> Buttons".
| Create buttons |
|
Click to enlarge ![]() |
Sample program for Delphi
Double click on one of the buttons and type the sample program. In this example the left button sets the first relay of the module to state 1 (e.g. on) and the right button restores the same relay to state 0 (e.g. off).
| Code for Delphi |
|
Click to enlarge ![]() |
Finally start the UserForm via pressing "start".
| Start UserForm |
|
Click to enlarge ![]() |




