KINGSTAR samples
KINGSTAR provides simple motion and I/O control samples using different product interfaces. Samples are developed using Visual Studio.
NOTE: Before using KINGSTAR samples, you should be familiar with your development environment. If you plan to use the real-time interface, you should know how to develop RTX64 applications.
Samples
These samples introduce KINGSTAR functions. Only the basic KINGSTAR features are used.
General samples
Information on how to use the KINGSTAR API functions in a program.
- Manual Mode Sample – uses the RT API. It is for people who purchase only KINGSTAR Fieldbus Runtime package (and Feature packages, if they want), which doesn't provide motion functions and control modes. You need to write your own motion functions to move your axes. The sample demonstrates how to develop your application using KINGSTAR communications functions.
- Motion Sample – uses the Win32 and Windows native APIs. The Win32 API is almost identical to the RT API. Despite the name, it is 64-bit only (Win32 refers to the Windows API – not the x86 architecture) as some of the link to RT API requires 64-bit. Functions are queued when sent to the KINGSTAR Subsystem. This sample provides a user interface for testing purpose.
- User Interpolation Sample – uses the RT API. This sample demonstrates how to use a direct control mode of the KINGSTAR Subsystem. The direct control mode allows the application to use its own interpolation and send cyclic commands to the drives through the Subsystem. It also describes the KINGSTAR Motion functions that configure axes and set an axis' position, but doesn't include move functions. If you want to use them, you need to use one of the master interpolation modes.
GUI samples
Information on how to bind the graphic user interface with KINGSTAR API functions.
- MFC GUI – demonstrates how to bind a MFC GUI with the KINGSTAR Win32 functions using C++.
- Qt GUI – demonstrates how to bind a Qt GUI with the KINGSTAR Win32 functions using C++.
- Windows Forms GUI: C# – demonstrates how to bind a Windows Forms GUI with the KINGSTAR .NET API methods using C#.
- Windows Forms GUI: Visual Basic – demonstrates how to bind a Windows Forms GUI with the KINGSTAR .NET API methods using Visual Basic.
- WPF GUI: C# – demonstrates how to bind a WPF GUI with the KINGSTAR .NET Class methods and properties using C#.