1) tine.desy.de -> downloads -> tineVxWorks.tar.gz (daily build)
2) edit tineLib.mak to suit VxWorks environment.
3) make -f tineLib.mak -> tineLib.o
4) ld < tineLib.o
5) taskspawn: SystemSetCycleTimer() or 
   make use of SystemCycle() (and SystemInit() for servers) in relevant spot!
6) how to monitor:

e.g. callback function:

void myCb(int id,int cc)
{
  if (cc != 0)
  { // problems ?
    return;
  }
  printf("current value: %f\n",fval);  
}

float fval;
DTYPE dout;
dout.dFormat = CF_FLOAT;
dout.dArrayLength = 1;
dout.data.fptr = &fval;

int lnkId;

lnkId = AttachLink("/TTF2/DUMP.TEMP/1A.ND","PT100",&dout,NULL,CA_READ,200,myCb,CM_DATACHANGE);

or :

int myId = 1; // i.e. some table id !
lnkId = AttachLinkEx("/TTF2/DUMP.TEMP/1A.ND","PT100",&dout,NULL,CA_READ,200,myCb,CM_DATACHANGE,myId);

Possible Tweaks:

int SetNotificationTolerance(int linkId,float  toleranceAbsolute,float  tolerancePercent);

 
AttachLinkEx2(...,void *ref) statt AttachLinkEx(), or AttachLink();

in project.def

#define VXWTSK_STACK 10000

or:

gVxwDefaultTaskStack = 10000;

