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/ps.c

    r3692 r3693  
    6060  if (!RawImage && !NoScale) SendGraphCommand (Source, 4, "PSIT");
    6161
    62   /* I need to fix kapa and kii to read NBYTES, etc like other messages
    63   SendGraphMessage (Source, "%s", filename); */
    64 
    65   sprintf (buffer, "LEN: %11d", strlen(filename));
    66   write (Source, buffer, 16);
     62  /* I need to fix kapa and kii to read NBYTES, etc like other messages */
     63  SendGraphCommand (Source, 16, "LEN: %11d", strlen(filename));
    6764  write (Source, filename, strlen(filename));
    6865  read (Source, buffer, 4);
Note: See TracChangeset for help on using the changeset viewer.