Changeset 3693 for trunk/Ohana/src/opihi/cmd.data/point.c
- Timestamp:
- Apr 11, 2005, 10:37:51 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/cmd.data/point.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/cmd.data/point.c
r2843 r3693 44 44 } 45 45 46 ALLOCATE (line, char, 1024); /* space to read the file */47 48 46 ra = atof(argv[3]); 49 47 dec = atof(argv[4]); … … 70 68 } 71 69 72 write (Ximage, "LOAD", 4); /* force Ximage to look for the incoming image */ 73 sprintf (line, "OVERLAY %6d ", n); 74 write (Ximage, line, 16); 75 sprintf (line, "NLINES %7d ", 1); 76 write (Ximage, line, 16); 77 sprintf (line, "%15s %20.10f %20.10f %20.10f %20.10f ", argv[2], x, y, dx, dy); 78 write (Ximage, line, 128); 79 sprintf (line, "DONE "); 80 write (Ximage, line, 16); 81 82 free (line); 83 70 SendGraphCommand (Ximage, 4, "LOAD"); 71 SendGraphCommand (Ximage, 16, "OVERLAY %6d ", n); 72 SendGraphCommand (Ximage, 16, "NLINES %7d ", 1); 73 SendGraphCommand (Ximage, 128, "%15s %20.10f %20.10f %20.10f %20.10f ", argv[2], x, y, dx, dy); 74 SendGraphCommand (Ximage, 16, "DONE"); 84 75 return (TRUE); 85 86 76 } 87 77
Note:
See TracChangeset
for help on using the changeset viewer.
