Hello Jan

Sorry for posting all this bad news (problems), but now the cycle_number 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?


Jochen


>From: Jan Kiszka <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>CC: rtnet-users@lists.sourceforge.net
>Subject: Re: [RTnet-users] WAITONCYCLE
>Date: Wed, 09 Aug 2006 11:17:42 +0200
>
>matrix_df hotmail wrote:
> > Hello Jan
> >
> > What is the difference between
> > RTMAC_WAIT_ON_DEFAULT, RTMAC_WAIT_ON_XMIT and TDMA_WAIT_ON_SYNC ?
>
>RTMAC_WAIT_ON_xxx are generic cycle events, TDMA_WAIN_ON_xxx
>TDMA-specific. I tried to document this better in the header, see below
>and in SVN (I also took the chance to consolidate the numerical value of
>TDMA_WAIT_ON_SYNC, don't think anyone relies on binary compatibility
>here). Note that RTMAC_WAIT_ON_XMIT is yet unsupported by the TDMA RTmac
>device.
>
>This differentiation may appear confusing at first sight. The idea of
>RTmac is to support arbitrary media access disciplines, e.g. also a
>token-based protocol without a SYNC frame like TDMA. Then generic events
>are important to keep applications portable.
>
>Jan
>
>
>[from stack/include/rtmac.h]
>
>/* ** Common Cycle Event Types ** */
>/* standard event, wake up once per cycle */
>#define RTMAC_WAIT_ON_DEFAULT       0x00
>/* wake up on media access of the station, may trigger multiple times
>    per cycle */
>#define RTMAC_WAIT_ON_XMIT          0x01
>
>/* ** TDMA-specific Cycle Event Types ** */
>/* tigger on on SYNC frame reception/transmission */
>#define TDMA_WAIT_ON_SYNC           RTMAC_WAIT_ON_DEFAULT
>#define TDMA_WAIT_ON_SOF            TDMA_WAIT_ON_SYNC /*legacy support*/
>
>


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