Dennis Windisch wrote:
> I would like to establish a real-time network connection between two PCs.
> PC1 runs on Linux/RTAI/RTnet and PC2 on VxWorks. The goal is to make
> real-time communication between those two PCs. 
> The problem is that I have to take PC2s configuration as it is, I can't run
> it on Linux/RTAI/RTnet too.
> 
> My question is if it is possible to make real-time networking (data
> transfer) between those two PCs.
> 

That depends on what kind of realtime quality you are looking for and
what guarantees VxWorks provides. Does the VxWorks network stack
guarantee resource availability (e.g. packet buffers) in a hard or a
soft RT way? Does it give you full control over what packets are
transmitted and when? BTW, what protocol do you want to / have to use?

RTnet can offer you deterministic packet transmission and reception via
UDP/IP or self-defined Ethernet protocols - but only if the traffic on
the medium is deterministic. So, other network participants must not
send out packets in a non-predictable way, or you have to live with
occasional disturbances (which may cause deadline misses if your timing
is tight). You don't have to implement RTmac/TDMA on the VxWorks side in
a cross-connect scenario like this, but you have to make sure that the
other side only sends out a known workload because your RTAI side will
otherwise suffer from the indeterminism as well.

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to