Leonardo Pappagallo wrote:
> hi Jan,
> I would like to know if is it possible to do loopback with rtnet.
> In particular I want to run two user programs that represent rispectively
> Master and Slave on the same machine.
> 
> How could I realize this situation in my tdma.conf, rtnet.conf and my user
> programs files?
> 

The is rt_loopback, but TDMA is not working over this device (in case
you want to test the WAIT_ON_SYNC, replace it with some periodic delay).

Unfortunately, it's not possible with the current rtnet script to start
only the loopback device (it's always started together with a normal
network). Fortunately, it's easy to do this manually: just load the core
modules rtnet, rtipv4, [rtpacket,] and run a "rtifconfig rtlo up
127.0.0.1". If you need the system timer being started (that's likely
when you want time-triggered interaction), also load rtcfg.

Jan


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to