| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → xPC Target |
| Contents | Index |
| Learn more about xPC Target |
The xPC Target COM API is an open environment application program interface designed to work with Microsoft COM and the xPC Target API. The xPC Target COM API provides the same functionality as the xPC Target API. It is a programming layer that sits between you and the xPC Target API. The difference is that while the xPC Target API is a dynamic link library of C functions, the xPC Target COM API dynamic link library is an organized collection of objects, classes, and functions. You access this collection through a graphical development environment such as Microsoft Visual Basic. Using such a graphical development environment, you can create a custom GUI application that can work with one xPC Target application. While the xPC Target API requires you to be an accomplished C or C++ programmer, the xPC Target COM API makes no such demand.
The xPC Target COM API library depends on xpcapi.dll, the xPC Target dynamic link library. However, the xPC Target API is independent of the xPC Target COM API.
The xPC Target COM API has the following features:
A DLL component server library — xpcapicom.dll is a component server DLL library COM interface consisting of component interfaces that access the target PC. The COM API library enhances the built-in functionality of a programming language by allowing you to easily access the xPC Target API for rapid development of xPC Target GUI.
Built on top of the xPC Target API — Via an application such as Visual Basic, xpcapicom.dll, using a structured object model hierarchy, provides full access to all the data and methods needed to interface with an xPC Target application. It also enables search functionality and bidirectional browsing capabilities. Generally, you view object models by selecting a type and viewing its members. Using the xPC Target COM API library, you can select a member and view the types to which it belongs.
Programming language independent — This section describes how to create an xPC Target COM API application using Visual Basic. However, the xPC Target COM API interface is not limited to this third-party product. You can add the COM API library to any development environment that can access COM libraries, such as Visual C++ or Java, as well as scripting languages such as Perl, Python, and Basic.
Ideal for use with Visual Basic — The xPC Target COM API works well with Visual Basic, and extends the event-driven programming environment of Visual Basic.
See xPC Target COM API for a description of how to use the xPC Target COM API library.
![]() | What Is xPC Target API? | Required Products | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |