GA-ASI

5 posts / 0 new
Last post
Offline
Last seen: 9 months 1 day ago
Joined: 03/16/2016
Posts: 12
NAT IP DDS Ping Test

I am using DDS Ping to test out communication between two networks but run into problems with the NAT IP address. Here is the setup.

Server A has IP address 172.5.1.100 on network A and the NDDS_DISCOVERY_PEERS is 12@udpv4://172.5.18.200,12@udpv4://172.5.1.100

Server B has internal IP address 10.3.1.5 on network B and external IP address of 172.5.18.200. The NDDS_DISCOVERY_PEERS is 12@udpv4://172.5.18.200,12@udpv4://172.5.1.100

Both servers are running Windows 10 and the network profiles are private and firewalls are off. 

Organization:
9 posts / 0 new
Last post
Offline
Last seen: 9 months 1 day ago
Joined: 03/16/2016
Posts: 12
Cannot convert sbyte to char

Hi RTI,

I am migrating from 5.3 to 6.1 RTI DDS Connext. The programming language is C# in my implementation. Other peers could be JAVE, C, C++ etc.

C# has a sbyte primitive type. In 5.3, I used to do this to convert sbyte to char and it has been working for the whole sbyte range -128 to 127

dynamicData.set_char(memberName, memberId, Convert.ToChar((byte)( (sbyte) memberValue) ));

In 6.1, the SetValue method is not happy with the converted char when the sbyte is negative. I get this exception.

Organization:
3 posts / 0 new
Last post
Offline
Last seen: 9 months 1 day ago
Joined: 03/16/2016
Posts: 12
Can't create participant with 6.1

Hi RTI,

I am migrating from version 5.3 (.NET Framwork) to 6.1.0.2 (Rti.ConnextDds Nuget package) but I can't even get a participant created.

Here is the code.

var qosProvider = new QosProvider(./Qos/MyQos.xml);

var participantQos = qosProvider.GetDomainParticipantQos("MyLibrary::MyParticipant");

var participant = DomainParticipantFactory.Instance.CreateParticipant(1, particpantQos);

The CreateParticipant threw an exception in native code. The exception did not give much information.

Organization:
Subscribe to RSS - GA-ASI