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.

.NET Libraries
  • [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.

C++ Builder Static Libraries
  • [Installation directory]\Samples\Cpp\C++Builder - Contains C++ Builder project files.

Python Libraries
  • [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