|
APIs, concepts, guides, and more
|
Learn RapidCode C# with these sample applications.
This folder contains C# sample applications demonstrating the use of the RapidCode API. These examples are designed to help you learn how to work with the API, explore its features, and run tests.
These sample applications are provided to help you integrate the RMP motion controller into your own projects. They are not production-ready and may lack critical logic or safety mechanisms required for your specific application.
If you are working with real hardware, we strongly recommend wiring an external hardware emergency stop (e-stop) button. This safeguard is essential to protect both people and equipment, reducing the risk of injury or damage when using these sample applications.
| General | |
|---|---|
| _constants.cs | Common configuration file for all sample apps (RMP path, default axis index, etc) |
| _helpers.cs | Helper functions and utilities used across sample applications |
| _setup.cs | Get your controller/system ready for sample apps. (create controller, setup axis, etc) |
| Directory.Build.targets | MSBuild configuration that references RapidCode .NET dll and manages build settings |
| Sample Apps | |
|---|---|
| axis-config-settling.cs | Demonstrates how to configure and verify axis settling parameters |
Before running the samples, update _constants.cs with your system settings.
Verify .NET 10 is installed
The output should show version 10.x.x
Navigate to the csharp folder
Run a sample app
If you wish to debug the sample apps with breakpoints and step-through debugging: