DELIB integration in Visual-C#
Description of the DELIB integration in Visual-C#
Download and install the DELIB-Driverlibrary (continue to DELIB-Driverlibrary). You can find the needed files for Visual-C# in the directory C:\Programme\DEDITEC\DELIB\Include\delib.cs. Start Visual-C# and open via menu "Projekt -> Vorhandes Element hinzufügen" in the directory C:\Programme\DEDITEC\DELIB\Include\ the file "delib.cs" to import.
| Import of the DELIB.CS include file |
|
Click to enlarge ![]() |
Sample program for Visual-C#
Start Visual-C# and create a console application and after that type the sample program. At first, this sample program opens the module and displays its handle. After pressing enter, the first relay of the module will be set to state 1 (e.g. on) and after pressing enter again, the same relay will be restored to state 0 (e.g off). By pressing enter once more, the module and the program will be closed.
| Code for Visual-C# |
|
Click to enlarge ![]() |
After that, start debugging by pressing the "Start-Button".
| Start console application |
|
Click to enlarge ![]() |



