National Taiwan University of Science and Technology

2 posts / 0 new
Last post
Offline
Last seen: 4 years 6 months ago
Joined: 08/11/2019
Posts: 28
Implement event trigger when Data change

Hi,

I want to implement event trigger when Data change in c code,

I don't want to set a fix trigger_value, 

does anyone know that how can I use privious data to compare current data?

or any suggestion?

 

Thanks.

Keywords:
2 posts / 0 new
Last post
Offline
Last seen: 4 years 6 months ago
Joined: 08/11/2019
Posts: 28
Testing publish and subscribe transmission delay.

Hello,

I try to test the transmission delay from publish to subscribe,

so I set two parameters,

one is SendTime another is ReceiveTime, use DDS_DomainParticipant_get_current_time,

the SendTime I put in publisher, 

and ReceiveTime I put in publisher,

I get the delay = ReceiveTime - SendTime but it is not correct, 

Is there and suggestions for test transmission delay?

Thanks.

--Kay 

1 post / 0 new
Offline
Last seen: 4 years 6 months ago
Joined: 08/11/2019
Posts: 28
How to use TLS in raspberry pi?

Hello,

I have two questions,

First, I want to use TLS over TCP, do I need to purchase separately?

Second, if I want to use in raspberry pi (publisher) and Linux server (subscriber),

How can I install it in raspberry pi?

Currently, I already publish from raspberry pi and subscribe from the server via TCP.

Keywords:
2 posts / 0 new
Last post
Offline
Last seen: 4 years 6 months ago
Joined: 08/11/2019
Posts: 28
How to call C API in code?

Hello,

I have a basic question : How to call C API in code? 

I want to try to " Access received data via a subscriber " and I find these two links:

https://community.rti.com/rti-doc/510/ndds.5.1.0/doc/html/api_c/group__DDSSubscriberExampleModule.html#DDSSubscriberExampleModule_subscriber_setup

Keywords:
5 posts / 0 new
Last post
Offline
Last seen: 4 years 6 months ago
Joined: 08/11/2019
Posts: 28
What is the reason show server logical port error

Hello,

I have a question for the packages in wireshark.

I only set 7400 port to transfer data, but why we can see in wireshark shows

Server Logical Port Request (7414), Server Logical Port Request (7416), Server Logical Port Request (7418)

and  server logical port error?

Keywords:
3 posts / 0 new
Last post
Offline
Last seen: 4 years 6 months ago
Joined: 08/11/2019
Posts: 28
How can I get the subscribed data value into parameter in C?

I want to put the subscribe data in to parameters in C,

and I already publish data and subscribe it which generate by idl.

For the publisher I can put value by " instance -> uploadtime(myparameter) = 20191106(value)"

3 posts / 0 new
Last post
Offline
Last seen: 4 years 6 months ago
Joined: 08/11/2019
Posts: 28
Run make file with linux Cross-compiling Environment for Raspberry Pi problem

Hello,

when I run 

make -f makefile_HelloWorld_armv6vfphLinux3.xgcc4.7.2

I face the problem like this :

/usr/arm-linux-gnueabihf/include/bits/byteswap.h: In function ‘__bswap_32’:
/usr/arm-linux-gnueabihf/include/bits/byteswap.h:45:1: sorry, unimplemented: Thumb-1 hard-float VFP ABI

How can I solve it ?

 

ENV:

$LD_LIBRARY_PATH = /home/kay/rti_connext_dds-6.0.0/lib/armv6vfphLinux3.xgcc4.7.2

$NDDSHOME =/home/kay/rti_connext_dds-6.0.0

Keywords:
3 posts / 0 new
Last post
Offline
Last seen: 4 years 6 months ago
Joined: 08/11/2019
Posts: 28
Hello_world_tcp with C problem

hello,

I try to use Hello_world_tcp with C, in Windows Systems, VS2017

I follow readme:

Windows Systems
---------------

Use rtiddsgen to generate the solution and project files for your
version of Visual Studio. For example, if both the publisher and the
subscriber application will be compiled with Visual Studio 2017,
run rtiddsgen for the i86Win32VS2017 architecture:

Keywords:
17 posts / 0 new
Last post
Offline
Last seen: 4 years 6 months ago
Joined: 08/11/2019
Posts: 28
How to set DDS publish and subscribe with different IP

Hello,

when I  want to use DDS publish and subscribe with different IP, I find  DISCOVERY mode in the document, but actually I still have no idea to deal with it.

Keywords:
3 posts / 0 new
Last post
Offline
Last seen: 4 years 6 months ago
Joined: 08/11/2019
Posts: 28
Publish data to Mongo Database

Hello,

I want to implement publish data and store all the data in my Mongo DB,

but it seems only can use SQL DB.

how can I do that by using DDS publisher?  Is there any sample code? 

Thanks

Keywords:
Subscribe to RSS - National Taiwan University of Science and Technology