IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 8, 2005, 5:38:38 PM (21 years ago)
Author:
eugene
Message:

converted Xgraph messages to SendGraphCommand

File:
1 edited

Legend:

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

    r2843 r3692  
    5555  }
    5656 
    57   if (RawImage) write (Source, "PSRW", 4); /* tell Ximage to ps the image */
    58   if (NoScale)  write (Source, "PSNS", 4); /* tell Ximage to ps the image */
    59   if (!RawImage && !NoScale) write (Source, "PSIT", 4); /* tell Ximage to ps the image */
     57  /* tell Ximage/Xgraph to ps the image */
     58  if (RawImage) SendGraphCommand (Source, 4, "PSRW");
     59  if (NoScale)  SendGraphCommand (Source, 4, "PSNS");
     60  if (!RawImage && !NoScale) SendGraphCommand (Source, 4, "PSIT");
     61
     62  /* I need to fix kapa and kii to read NBYTES, etc like other messages
     63  SendGraphMessage (Source, "%s", filename); */
    6064
    6165  sprintf (buffer, "LEN: %11d", strlen(filename));
Note: See TracChangeset for help on using the changeset viewer.