- Added a AsconReadDoneReconnect to ascon. This handles the case better when
a server hangs up diretcly after a message. - Some output was suppressed while tracing, fixed - Make ready to compile both with Ubuntu 32 and 64 or /usr/local based ON in general. Just in psi/makefile_linux the top include has to be adapted - Removed epics drivers from SICS. Still in source to be reenabled when needed - Added FindMotor - Added sput, sappend and slab to nxscript using the new sicsget module - Fix to sget to fix the "mot softzero" problem
This commit is contained in:
6
spss7.c
6
spss7.c
@ -339,7 +339,7 @@ static void InitializeSPSDataBase(pS7Action self, pHdb parent)
|
||||
memcpy(&bval,pPtr+1,1);
|
||||
hdbVal = MakeHdbInt(bval);
|
||||
UpdateHipadabaPar(node,hdbVal,NULL);
|
||||
snprintf(num,10,"%d", pPtr - self->replyData - 16);
|
||||
snprintf(num,10,"%ld", (long)(pPtr - self->replyData - 16));
|
||||
SetHdbProperty(node,"offset",num);
|
||||
pPtr += 2;
|
||||
break;
|
||||
@ -348,7 +348,7 @@ static void InitializeSPSDataBase(pS7Action self, pHdb parent)
|
||||
memcpy(&ival,pPtr,4);
|
||||
hdbVal = MakeHdbInt(ntohl(ival));
|
||||
UpdateHipadabaPar(node,hdbVal,NULL);
|
||||
snprintf(num,10,"%d", pPtr - self->replyData - 16);
|
||||
snprintf(num,10,"%ld", (long)(pPtr - self->replyData - 16));
|
||||
SetHdbProperty(node,"offset",num);
|
||||
pPtr += 4;
|
||||
break;
|
||||
@ -359,7 +359,7 @@ static void InitializeSPSDataBase(pS7Action self, pHdb parent)
|
||||
memcpy(&fval,&ival,4);
|
||||
hdbVal = MakeHdbFloat(fval);
|
||||
UpdateHipadabaPar(node,hdbVal,NULL);
|
||||
snprintf(num,10,"%d", pPtr - self->replyData + 2 - 16);
|
||||
snprintf(num,10,"%ld", (long)(pPtr - self->replyData + 2 - 16));
|
||||
SetHdbProperty(node,"offset",num);
|
||||
pPtr += 6;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user