Edit on GitHub

Library Setup <CSharp Windows>

For C# source code is only provided for Windows.

Compiler and Builder

Function References

  • The function reference file is located in [DynamixelSDK folder]/c#/dynamixel_functions_csharp/[winXX]/dynamixel.cs

Building and Running the Sample Code

The DYNAMIXEL SDK sample code for C# uses the library files (.dll for Windows) compiled from the C# language source.

Each released DYNAMIXEL SDK has the latest library files in:

[DynamixelSDK folder]/c/build/[winXX]/output/dxl_xYY_c.dll

built by their own source code.

  • Open read_write.sln from [DynamixelSDK folder]/C#/protocol2.0/read_write/win64/

  • Double click ReadWrite.cs

  • Adjust the values surrounded with red circle to proper value as shown in the comment. Then click Start in the Visual Studio toolbox above.

  • Console window will show the results