Commit b644ef63 authored by Fabio Roberto Vitello's avatar Fabio Roberto Vitello
Browse files

Reopen branch to track modified files on Noto server

parent d3164e5d
Loading
Loading
Loading
Loading
+11 −4
Original line number Diff line number Diff line
@@ -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,
+1 −1
Original line number Diff line number Diff line
@@ -146,7 +146,7 @@ class PyCalmuxImpl(CalMux, cc, services, lcycle):

        s.sendall(command)

        time.sleep(0.1)
#        time.sleep(0.1)

        response = s.recv(1024)
        s.close()
+7 −3
Original line number Diff line number Diff line
@@ -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;
    }
+13 −11
Original line number Diff line number Diff line
@@ -47,8 +47,8 @@
	device=0
	calmux=TotalPower
	calOff
	ifdist=1,1,44
	ifdist=2,1,32
	ifdist=1,1,36
	ifdist=2,1,34
</body>
</Procedure>

@@ -107,8 +107,10 @@
	device=0
	calmux=TotalPower
	calOff
	ifdist=1,2,44
	ifdist=2,2,32
   ifdist=1,2,-1
   ifdist=2,2,-1
	ifdist=1,-1,44
	ifdist=2,-1,44
</body>
</Procedure>

+1 −1
Original line number Diff line number Diff line
@@ -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