Supported Sample Project
WMX3 provides sample projects for each language.
Folders
The sample projects are contained in the Samples folder inside the installation directory. The contents of this folder are as follows:
VC++ Static Libraries
[Installation directory]\Samples\Cpp- Contains C++ sample projects.[Installation directory]\Samples\Cpp\Src- Contains the source code for the C++ sample projects (including C++ Builder).[Installation directory]\Samples\Cpp\VS2012- Contains Visual Studio 2012 C++ project files.[Installation directory]\Samples\Cpp\VS2013- Contains Visual Studio 2013 C++ project files.[Installation directory]\Samples\Cpp\VS2015- Contains Visual Studio 2015 C++ project files.[Installation directory]\Samples\Cpp\VS2017- Contains Visual Studio 2017 C++ project files.[Installation directory]\Samples\Cpp\VS2019- Contains Visual Studio 2019 C++ project files.
[Installation directory]\Samples\CSharp- Contains C# (.NET) sample projects.[Installation directory]\Samples\CSharp\Src- Contains the source code for the C# sample projects.[Installation directory]\Samples\CSharp\VS2012- Contains Visual Studio 2012 C# project files.[Installation directory]\Samples\CSharp\VS2013- Contains Visual Studio 2013 C# project files.[Installation directory]\Samples\CSharp\VS2015- Contains Visual Studio 2015 C# project files.[Installation directory]\Samples\CSharp\VS2017- Contains Visual Studio 2017 C# project files.[Installation directory]\Samples\CSharp\VS2019- Contains Visual Studio 2019 C# project files.
[Installation directory]\Samples\Cpp\C++Builder- Contains C++ Builder project files.
[Installation directory]\Samples\Python- Contains Python sample source code.
Supported Matrix
The following table describes what sample code each language supports.
Category |
Project |
Description |
VC++ |
.NET |
C++ Builder |
Python |
|---|---|---|---|---|---|---|
1_BasicMotion |
01_CreateDevice |
This project demonstrates how to create and close a device. |
〇 |
〇 |
〇 |
〇 |
02_StartCommunication |
This project demonstrates how to start and stop communication with the servo network. |
〇 |
〇 |
〇 |
〇 |
|
03_MotorControl |
This project demonstrates how to turn on and move a servo axis. |
〇 |
〇 |
〇 |
〇 |
|
04_MotorStop |
This project demonstrates how to stop an axis executing motion. |
〇 |
〇 |
〇 |
〇 |
|
05_MotorStatus |
This project demonstrates how to obtain the status of an axis. |
〇 |
〇 |
〇 |
〇 |
|
06_ControlIO |
This project demonstrates I/O operations. |
〇 |
〇 |
〇 |
〇 |
|
07_JerkRatioMotion |
This project demonstrates axis motion using the JerkRatio profile type. |
〇 |
〇 |
〇 |
〇 |
|
08_GetApiCallError |
This project demonstrates error handling for errors returned by function calls. |
〇 |
〇 |
〇 |
〇 |
|
2_DerivedMotion |
01_InterpolationMotion |
This project demonstrates linear, circular, and helical interpolation motion. |
〇 |
〇 |
〇 |
× |
02_TriggerMotion |
This project demonstrates triggered motion. |
〇 |
〇 |
〇 |
× |
|
03_ApiBufferMotion |
This project demonstrates how to use the API buffer to execute axis motion. |
〇 |
〇 |
〇 |
× |
|
04_EventMotion |
This project demonstrates how to use events to execute axis motion. |
〇 |
〇 |
〇 |
× |
|
05_SyncMotion |
This project demonstrates synchronous control and sync homing. |
〇 |
〇 |
〇 |
× |
|
06_CompensationMotion |
This project demonstrates pitch error compensation. |
〇 |
〇 |
〇 |
× |
|
07_SplineMotion |
This project demonstrates spline motion. |
〇 |
〇 |
〇 |
× |
|
08_CyclicBufferMotion |
This project demonstrates using the cyclic buffer to control the axis. |
〇 |
〇 |
〇 |
× |
|
09_LookAheadMotion |
This project demonstrates path interpolation with look ahead. |
〇 |
〇 |
〇 |
× |
|
3_Platform |
01_CheckReverseConnection |
This project demonstrates how to check if slaves in the network are connected in the reverse direction. |
〇 |
〇 |
〇 |
× |
02_HotConnectLogic |
This project demonstrates how to use hot connect to connect a slave without breaking communication with the network. |
〇 |
〇 |
〇 |
× |
|
03_CheckCrcAndRxError |
This project demonstrates how to check for CRC and RX errors. |
〇 |
〇 |
〇 |
× |
|
04_RwSD O |
This project demonstrates how to use SDO communication to communicate with a slave. |
〇 |
〇 |
〇 |
× |
The table includes two support status:
Notation |
Condition |
|---|---|
〇 |
Supported |
× |
Not Supported |