Hello Jan

Just a question to your output of your test program
>cycle #3500, time 1155262131.598494530 s, offset 3309740011269 ns

Is the time printed the exact cycle time on local host or the output of a 
gettime function (which one)?
How can I get the the exact time of a cycle start?
Is the output of the offset from a call to
ioctl_rt(tdma, RTMAC_RTIOC_TIMEOFFSET, &time_offset) ?

Jochen




>From: Jan Kiszka <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>CC: rtnet-users@lists.sourceforge.net
>Subject: Re: [RTnet-users] WAITONCYCLE
>Date: Fri, 11 Aug 2006 08:46:44 +0200
>
>matrix_df hotmail wrote:
> > Hello Jan
> >
> > Sorry for posting all this bad news (problems), but now the cycle_number
>
>No, no, your feedback is appreciated! This finally triggered to review
>this part of TDMA again, make it work, and document it at least with a
>simple example.
>
> > is only returned on master when using WAITONCYCLE_EX.
> > When the same source runs on a client always 0 is returned.
> >
> > Can you check if you get the same results?
> >
>
>All fine here, tested with the new tdma-api example in SVN.
>
>On the master:
>marvin:/usr/src/rtnet/bin/examples/xenomai/native # ./tdma-api
>cycle #3300, time 1155262130.598359823 s, offset 0 ns
>cycle #3400, time 1155262131.098354340 s, offset 0 ns
>cycle #3500, time 1155262131.598354578 s, offset 0 ns
>cycle #3600, time 1155262132.098359108 s, offset 0 ns
>cycle #3700, time 1155262132.598354578 s, offset 0 ns
>
>And on a slave:
>[EMAIL PROTECTED] :/root# ./tdma-api
>cycle #3500, time 1155262131.598494530 s, offset 3309740011269 ns
>cycle #3600, time 1155262132.098481894 s, offset 3309739881004 ns
>cycle #3700, time 1155262132.598477125 s, offset 3309739751866 ns
>cycle #3800, time 1155262133.098475695 s, offset 3309739621066 ns
>cycle #3900, time 1155262133.598478794 s, offset 3309739491592 ns
>
>
>Did you update your slave correctly to latest SVN as well?
>
>Jan
>


><< signature.asc >>



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to