public static int systemStartGlobalSynchronization()
{
if (gSynchronizationStarted) return 0;
TDataType sdt = new TDataType(gSyncTimeStamp);
TLink tl = new TLink("/SITE","SYSTIME",sdt,null,TAccess.CA_READ);
int id = tl.attach(TMode.CM_GLOBAL, new TSyncCallback(), 1000);
if (id < 0) return -id;
gSynchronizationStarted = true;
return 0;
}