IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 11, 2005, 10:37:51 AM (21 years ago)
Author:
eugene
Message:

moved kapa/kii communications to use SendGraphCommand functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/cmd.data/center.c

    r2843 r3693  
    2828  }
    2929
    30   write (Ximage, "CENT", 4); /* tell Ximage to look for the incoming image */
    31 
    32   sprintf (buffer, "%8.3f %8.3f %8d ", x, y, zoom);
    33   sprintf (buffer2, "NBYTES %8d ", strlen (buffer));
    34   write (Ximage, buffer2, 16);
    35   write (Ximage, buffer, strlen (buffer));
    36  
     30  SendGraphCommand (Ximage, 4, "CENT");
     31  SendGraphMessage (Ximage, "%8.3f %8.3f %8d ", x, y, zoom);
    3732  return (TRUE);
    38 
    3933}
Note: See TracChangeset for help on using the changeset viewer.