matrix_df hotmail wrote:
> 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)?

See the example code: its the local time + the master clock offset.

> How can I get the the exact time of a cycle start?

Mmm, only by extending rtmac_waitinfo so that this value is returned as
well. Is this data only informative for you or do you plan to derive
some application functionality from it?

> Is the output of the offset from a call to
> ioctl_rt(tdma, RTMAC_RTIOC_TIMEOFFSET, &time_offset) ?
> 

That's the offset between master and slave clock for this cycle. It says
nothing about he cycle start.

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
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