Hello everybody,
Now i noticed one thing - I configured the master and slave as described in my
previous e-mail:
master# tdmacfg rteth0 master 1000000
master# tdmacfg rteth0 slot 0 100000
slave# tdmacfg rteth0 slave
slave# tdmacfg
rteth0 slot 0 500000
Then i tried to rtping the slave with master and monitor the trafic with
wireshark. I can see that the master pings the slave 0.1 s after the
sync_frame. The slave then replies, but not 0.5 s after the sync_frame (as i
was expecting), but just right after the next sync frame.
If i try to rtping the master with slave, i can see that the slave again sends
the ping request right after the sync_frame and the master replies 0.1 s after
the sync frame.
Any idea why is that, why the slave does not obeys its tdmacfg slot offset?
BTW, on the other hand the slave sends its Synchronization_Request_Frame 0.5
second after the sync_frame as expected.
Best Regards
Klemen
On Sunday, April 20, 2014 5:59 PM, Klemen Dovrtel <klemen_dovr...@yahoo.com>
wrote:
I would like to test a simple example of user space app with rtnet tdma. I
successfully tested the RTAI example of simpleserver and simpleclient and it
works fine. Then i configured the two machines to run as tdma master and tdma
slave:
master:
# tdmacfg rteth0 master 1000000
# tdmacfg rteth0 slot 0 100000
slave:
tdmacfg rteth0 slave
tdmacfg
rteth0 slot 1 500000
I noticed the master started to transmit the synchronization_frame and the
slave started to transmit the calibration_request_frames, and the masted then
replied to them with calibration_reply_frames. Everything worked fine.
The i ran the simpleserver and simpleclient once again and hoped the example
will run over the tdma, but it doesn’t. No data is transmitted over the net.
Any idea why not - I thought the axample will work with tdma with no change.
Can yomeone please give me an example of user space app that runs on rtnet tdma
or give me a hint what am i doing wrong.
Best Regards
Klemen
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos. Get
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users