2. Programmers Guide
2.1. Sample Application
There is currently 1 script available:
EcMasterDemoDotNet.batStarts the console demo application
2.2. Sample Code
The .NET demo application contains of 1 class:
EcDemoApp.cs:Console demo application
2.3. Wrapper
2.3.1. Modules
The .NET Wrapper contains of 5 modules:
CEcWrapperDotNet.csCEcMotionDotNet.csCEcWrapperDotNetTypes.cs.NET types
CEcWrapper.cs.NET C based interface (internal)
CEcWrapperTypes.cs.NET C based types (internal)
2.3.2. Return code vs. exception handling
The most of all API functions returns a return code for error handling. This behaviour can be changed to throw an exception in error case by simply setting:
CEcWrapperDotNet.EnableExceptionHandling = true; // default is false