Loading Common/Servers/ExternalClients/src/ExternalClientsSocketServer.cpp +11 −4 Original line number Diff line number Diff line Loading @@ -560,17 +560,24 @@ CExternalClientsSocketServer::cmdToScheduler () printf("dentro ans==false\n"); }*/ } out.ReplaceAll('\n','-'); /*out.Replace('\n','-'); out.Replace('\n','-'); out.Replace('\n','-'); out.Replace('\n','-');*/ Len = out.GetLength (); int i; for (i = 0; i < Len; i++) { for (i = 0; i < Len; i++) { //if (out.CharAt(i)=='\n') // break; outBuffer[i] = out.CharAt (i); } out.Empty(); outBuffer[Len] = '\n'; //outBuffer[i] = '\n'; //printf ("Command returned = %s", outBuffer); Res = sendBuffer (outBuffer, Len + 1); //Res = sendBuffer (outBuffer, i + 1); if (Res == WOULDBLOCK || Res == FAIL) { _EXCPT (SocketErrorExImpl, impl, Loading Common/Servers/PyCalmux/src/Calmux/PyCalmuxImpl.py +2 −0 Original line number Diff line number Diff line Loading @@ -146,6 +146,8 @@ class PyCalmuxImpl(CalMux, cc, services, lcycle): s.sendall(command) # time.sleep(0.1) response = s.recv(1024) s.close() response = response.strip().split() Loading Medicina/Servers/MedicinaMinorServo/src/MedMinorServoGeometry.cpp +7 −3 Original line number Diff line number Diff line Loading @@ -325,11 +325,15 @@ double MedMinorServoGeometry::_check_axis_limit(const double position, const MedMinorServoAxis axis) { if(position < axis.position_min){ int iposition = (int)position; if(iposition < axis.position_min){ throw MinorServoAxisLimitError("axis too low"); //return axis.position_min; } if(position > axis.position_max){ if(iposition > axis.position_max){ std::cout<<axis.name<<" "<<iposition<<" " <<axis.position_max<< std::endl; throw MinorServoAxisLimitError("axis too high "); //return axis.position_max; } Loading Noto/CDB/alma/Procedures/StationProcedures/StationProcedures.xml +43 −25 Original line number Diff line number Diff line Loading @@ -15,8 +15,10 @@ calOff setAttenuation=0,15 setAttenuation=1,5 ifdist=1,1,44 ifdist=2,1,32 ifdist=1,1,-1 ifdist=2,1,-1 ifdist=1,-1,16 ifdist=2,-1,32 </body> </Procedure> Loading @@ -32,8 +34,10 @@ calOff setAttenuation=0,0 setAttenuation=1,4 ifdist=1,1,44 ifdist=2,1,32 ifdist=1,1,-1 ifdist=2,1,-1 ifdist=1,-1,44 ifdist=2,-1,32 </body> </Procedure> Loading @@ -47,8 +51,10 @@ device=0 calmux=TotalPower calOff ifdist=1,1,44 ifdist=2,1,32 ifdist=1,1,-1 ifdist=2,1,-1 ifdist=2,-1,34 ifdist=1,-1,36 </body> </Procedure> Loading @@ -62,8 +68,10 @@ device=0 calmux=TotalPower calOff ifdist=1,1,44 ifdist=2,1,32 ifdist=1,1,-1 ifdist=2,1,-1 ifdist=1,-1,44 ifdist=2,-1,32 </body> </Procedure> Loading @@ -77,8 +85,10 @@ device=0 calmux=TotalPower calOff ifdist=1,3,44 ifdist=2,3,32 ifdist=1,3,-1 ifdist=2,3,-1 ifdist=1,-1,10 ifdist=2,-1,10 </body> </Procedure> Loading @@ -92,8 +102,10 @@ device=0 calmux=TotalPower calOff ifdist=1,4,44 ifdist=2,3,32 ifdist=1,5,-1 ifdist=2,3,-1 ifdist=1,-1,8 ifdist=2,-1,10 </body> </Procedure> Loading @@ -107,8 +119,10 @@ device=0 calmux=TotalPower calOff ifdist=1,2,22 ifdist=2,2,22 ifdist=1,2,-1 ifdist=2,2,-1 ifdist=1,-1,44 ifdist=2,-1,44 </body> </Procedure> Loading @@ -122,8 +136,10 @@ device=0 calmux=TotalPower calOff ifdist=1,4,44 ifdist=2,4,32 ifdist=1,4,-1 ifdist=2,4,-1 ifdist=1,-1,8 ifdist=2,-1,8 </body> </Procedure> Loading @@ -137,8 +153,10 @@ device=0 calmux=TotalPower calOff ifdist=1,3,44 ifdist=2,5,32 ifdist=1,5,-1 ifdist=2,3,-1 ifdist=1,-1,8 ifdist=2,-1,10 </body> </Procedure> Loading Noto/Configuration/CDB/alma/DataBlock/MMC/NormalModeSetup/NormalModeSetup.xml +1 −1 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ Feeds="1" IFs="2" Polarization="L R" DefaultLO="6956.0 6956.0" DefaultLO="6936.0 6936.0" LOMultiplier="1 1" FixedLO2="0.0 0.0" LOMin="5000.0 5000.0" Loading Loading
Common/Servers/ExternalClients/src/ExternalClientsSocketServer.cpp +11 −4 Original line number Diff line number Diff line Loading @@ -560,17 +560,24 @@ CExternalClientsSocketServer::cmdToScheduler () printf("dentro ans==false\n"); }*/ } out.ReplaceAll('\n','-'); /*out.Replace('\n','-'); out.Replace('\n','-'); out.Replace('\n','-'); out.Replace('\n','-');*/ Len = out.GetLength (); int i; for (i = 0; i < Len; i++) { for (i = 0; i < Len; i++) { //if (out.CharAt(i)=='\n') // break; outBuffer[i] = out.CharAt (i); } out.Empty(); outBuffer[Len] = '\n'; //outBuffer[i] = '\n'; //printf ("Command returned = %s", outBuffer); Res = sendBuffer (outBuffer, Len + 1); //Res = sendBuffer (outBuffer, i + 1); if (Res == WOULDBLOCK || Res == FAIL) { _EXCPT (SocketErrorExImpl, impl, Loading
Common/Servers/PyCalmux/src/Calmux/PyCalmuxImpl.py +2 −0 Original line number Diff line number Diff line Loading @@ -146,6 +146,8 @@ class PyCalmuxImpl(CalMux, cc, services, lcycle): s.sendall(command) # time.sleep(0.1) response = s.recv(1024) s.close() response = response.strip().split() Loading
Medicina/Servers/MedicinaMinorServo/src/MedMinorServoGeometry.cpp +7 −3 Original line number Diff line number Diff line Loading @@ -325,11 +325,15 @@ double MedMinorServoGeometry::_check_axis_limit(const double position, const MedMinorServoAxis axis) { if(position < axis.position_min){ int iposition = (int)position; if(iposition < axis.position_min){ throw MinorServoAxisLimitError("axis too low"); //return axis.position_min; } if(position > axis.position_max){ if(iposition > axis.position_max){ std::cout<<axis.name<<" "<<iposition<<" " <<axis.position_max<< std::endl; throw MinorServoAxisLimitError("axis too high "); //return axis.position_max; } Loading
Noto/CDB/alma/Procedures/StationProcedures/StationProcedures.xml +43 −25 Original line number Diff line number Diff line Loading @@ -15,8 +15,10 @@ calOff setAttenuation=0,15 setAttenuation=1,5 ifdist=1,1,44 ifdist=2,1,32 ifdist=1,1,-1 ifdist=2,1,-1 ifdist=1,-1,16 ifdist=2,-1,32 </body> </Procedure> Loading @@ -32,8 +34,10 @@ calOff setAttenuation=0,0 setAttenuation=1,4 ifdist=1,1,44 ifdist=2,1,32 ifdist=1,1,-1 ifdist=2,1,-1 ifdist=1,-1,44 ifdist=2,-1,32 </body> </Procedure> Loading @@ -47,8 +51,10 @@ device=0 calmux=TotalPower calOff ifdist=1,1,44 ifdist=2,1,32 ifdist=1,1,-1 ifdist=2,1,-1 ifdist=2,-1,34 ifdist=1,-1,36 </body> </Procedure> Loading @@ -62,8 +68,10 @@ device=0 calmux=TotalPower calOff ifdist=1,1,44 ifdist=2,1,32 ifdist=1,1,-1 ifdist=2,1,-1 ifdist=1,-1,44 ifdist=2,-1,32 </body> </Procedure> Loading @@ -77,8 +85,10 @@ device=0 calmux=TotalPower calOff ifdist=1,3,44 ifdist=2,3,32 ifdist=1,3,-1 ifdist=2,3,-1 ifdist=1,-1,10 ifdist=2,-1,10 </body> </Procedure> Loading @@ -92,8 +102,10 @@ device=0 calmux=TotalPower calOff ifdist=1,4,44 ifdist=2,3,32 ifdist=1,5,-1 ifdist=2,3,-1 ifdist=1,-1,8 ifdist=2,-1,10 </body> </Procedure> Loading @@ -107,8 +119,10 @@ device=0 calmux=TotalPower calOff ifdist=1,2,22 ifdist=2,2,22 ifdist=1,2,-1 ifdist=2,2,-1 ifdist=1,-1,44 ifdist=2,-1,44 </body> </Procedure> Loading @@ -122,8 +136,10 @@ device=0 calmux=TotalPower calOff ifdist=1,4,44 ifdist=2,4,32 ifdist=1,4,-1 ifdist=2,4,-1 ifdist=1,-1,8 ifdist=2,-1,8 </body> </Procedure> Loading @@ -137,8 +153,10 @@ device=0 calmux=TotalPower calOff ifdist=1,3,44 ifdist=2,5,32 ifdist=1,5,-1 ifdist=2,3,-1 ifdist=1,-1,8 ifdist=2,-1,10 </body> </Procedure> Loading
Noto/Configuration/CDB/alma/DataBlock/MMC/NormalModeSetup/NormalModeSetup.xml +1 −1 Original line number Diff line number Diff line Loading @@ -18,7 +18,7 @@ Feeds="1" IFs="2" Polarization="L R" DefaultLO="6956.0 6956.0" DefaultLO="6936.0 6936.0" LOMultiplier="1 1" FixedLO2="0.0 0.0" LOMin="5000.0 5000.0" Loading