Hello,

I have two stations running RTnet, one as a master and one as a slave. I want 
to measure the time, which a message, sent from master to slave, takes. But, 
I don't want the time of the transmission only, but the complete time of all 
software layers this data is processed through.

_______________ _______________
|               A                 |     |               D                 |
|______________|        |______________|
|               B                 |     |               C                 |
|______________|        |______________|
|   RTnet (Master)        |     |    RTnet (Slave)        |
|______________|        |______________|
                |                                 |
                |______________|

So, I create the data, that should be send, in Layer A (Master) and send it 
over RTnet to Layer D (Slave).

I want to take the time when the data leaves A and when it arrives D with 
rtdm_clock_read(). If I have the offset between master and slave, I can 
calculate the time it took to pass A, B, both RTnet stacks, C and D.

As RTnet keeps track of the offset in it's stack, I want to use this value. Is 
it possible via the API? I didn't found anything. Or do I have to manipulate 
the stack to pass the offset to the higher layers (C and D)?

Thanks and have a good time!
Karl

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to