API and IDL

Disposing stale data in DDS

Normally, when data is stale in DDS it is disposed automatically. There are other ways that this can occur though. When the auto-dispose option in the QoS is enabled then when a subscriber detects that a writer has become unresponsive (or has been deleted) then the data is disposed implicitly for all instances of that […]

Vortex Opensplice MATLAB Demos

Vortex OpenSplice with MATLAB A number of demonstration videos have been created to walk you through the process of developing DDS applications with MATLAB. Installation of MATLAB components Startup OpenSplice Shapes Example Overview How to Process IDL Creating a Topic Block Creating a Reader Block Real-time Simulation Write a Tracking Circle Use Filter Expression MATLAB […]

Using OpenSplice DDS with Python

Do you want to model your DDS applications in Python? This article explains how to start using OpenSplice DDS with Python. OpenSplice DDS comes with a Python DCPS API that provides Python classes allowing you model your DDS application using Python. The Python DCPS API is a native Python binding that supports full DDS functionality. […]

Setting up Microsoft Visual Studio 2015 to use ISOC++2 with OpenSplice DDS

This article explains how to set up Mircosoft Visual Studio 2015 to build ISOC++2 Vortex OpenSplice DDS based applications. Setting up Microsoft Visual Studio 2015 to use ISOC++2 with OpenSplice DDS Setting up Microsoft Visual Studio 2015 to use ISOC++2 for Vortex OpenSplice DDS applications can seem complex. This article gives a step by step […]

Compiling ISOC++2 Applications & Using ISO C++ 2 In Debug Mode

This article gives the settings you need to compile and run an ISO C++ OpenSplice application using Visual Studio. Compiling ISOC++2 Applications In order to successfully compile and run a ISOC++2 OpenSplice application, whether on Linux or Windows, several parameters must be configured. Here we will cover the latter, with Visual Studio, although the preprocessor […]

Using ISO C++ 2 in debug mode

If running an ISO C++ 2 based application in debug mode raises an “access violation” error during the initial creation of the DDS Domain Participant, it may be that the ISO C++ 2 library needs to be recompiled for debug mode. The history to this is that memory allocations are potentially different in release and […]

Crash of Visual Studio 2013 when using C# and OpenSplice 6.7 or newer

Issue with Visual Studio If you’re using the initial release of Visual Studio 2013 (version 12.0.21005.1) in combination of OpenSplice 6.7 or newer you might experience a crash of Visual Studio. Adding the C# assembly to your project causes this crash to happen. You will get a popup that Visual Studio has stopped working and […]

Vortex OpenSplice API/IDL User Questions

This article contains some API/IDL-related, submitted Vortex OpenSplice questions that may prove useful to others. See the Vortex OpenSplice Homepage for more information or look at the OpenSplice documentation.   Is the OpenSplice DDS Java API Operating System independent? All the OpenSplice API’s are Operating System independent as the source code is provided, allowing you […]

Freeing sequences using C API in OpenSplice DDS

Every DDS object allocated by an __alloc() operation must be released by using the DDS_free() operation. The example below shows how this works for a sequence. Declaration on Heap 1 DDS_StringSeq* query_parameters; 2 3 query_parameters = DDS_StringSeq__alloc(); 4 query_parameters-buffer = DDS_StringSeq_allocbuf (1); 5 query_parameters-buffer[0] = DDS_string_alloc (3); 6 sprintf (query_parameters-buffer[0], “%d”, numExe); 7 8 (usage?) […]

How do I destroy a Content Filtered Topic using the ISO C++ API?

Memory Allocation and Deletion in ISO C++ In the ISO C++ API, memory allocation and deletion is handled automatically. Entity classes (such as the ContentFilteredTopic) contain an underlying ‘smart pointer’ to keep track of the references to that particular instance of the class. Once there are no remaining references to the instance ( i.e. it […]