Changeset 2397 in Sophya for trunk/ArchTOIPipe/Kernel
- Timestamp:
- Jun 5, 2003, 4:18:06 AM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ArchTOIPipe/Kernel/piotoirdr.cc
r2396 r2397 3 3 // Christophe Magneville 4 4 // Reza Ansari 5 // $Id: piotoirdr.cc,v 1. 8 2003-06-04 14:08:01aubourg Exp $5 // $Id: piotoirdr.cc,v 1.9 2003-06-05 02:18:06 aubourg Exp $ 6 6 7 7 #include "piotoirdr.h" … … 27 27 28 28 void PIOTOIReader::init() { 29 //pioTOI = new PIOObjectTOI(object.c_str(), "r");30 29 fits_lock(); 31 30 pioGroup = PIOOpenTOI(const_cast<char*>(group.c_str()), "r"); … … 92 91 char command[80]; 93 92 sprintf(command, "Begin=%d; End=%d", snb, sne); 94 double* data ;93 double* data = NULL; 95 94 uint_8* flags = NULL; 96 95 PIOBYTE* pioflags = NULL; … … 101 100 command, 102 101 pioGroup); 102 if ( n<0) { 103 cout << " PIOReadTOI : " << n << endl; 104 abort(); 105 } 103 106 if (flagdef != "") { 104 107 PIOLONG nf = PIOReadFLGObjectMask(&pioflags,
Note:
See TracChangeset
for help on using the changeset viewer.