Changeset 410 in Sophya
- Timestamp:
- Sep 22, 1999, 2:35:06 PM (26 years ago)
- Location:
- trunk/Poubelle/archTOI.old
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Poubelle/archTOI.old/archeopsfile.cc
r409 r410 777 777 } 778 778 779 int ArcheopsFile::getDilutionBlockNum() { 780 if (!lastDilution()) return -1; 781 return numero_block(lastDilution()); 782 } 783 779 784 780 785 int ArcheopsFile::getSSTBlockNum() { … … 938 943 } 939 944 945 double ArcheopsFile::getBoloRes(int ibolo, int imesure) { 946 double i = getDACI(ibolo); // microAmps 947 double v = getMuVBolo2T(ibolo, imesure); // microVolts 948 double r = v/i; // Ohms 949 return r; 950 } 951 952 // Dilution 953 954 int4 ArcheopsFile::getADCDil(int iADC) { 955 block_type_dilution* blk = lastDilution(); 956 if (!blk) return 0; 957 if (iADC < 0 || iADC > 47) return 0; 958 return blk->ADC_dil[iADC]; 959 } 960 961 int4 ArcheopsFile::getSwitchDil() { 962 block_type_dilution* blk = lastDilution(); 963 if (!blk) return 0; 964 return blk->switch_dil; 965 } 966 967 940 968 // SST, gyros... 941 969 … … 951 979 return blockSet->sstHandler.getRawSignal(imesure, idiode); 952 980 } 981 982 long ArcheopsFile::getSSTSignalCN(int idiode, int imesure) { 983 984 } 985 986 long ArcheopsFile::getSSTRawSignalCN(int idiode, int imesure) { 987 988 } 989 990 953 991 954 992 double ArcheopsFile::getSSTStarZ(int istar, int imesure) { -
trunk/Poubelle/archTOI.old/archeopsfile.h
r409 r410 134 134 double getGainAmpli(int ibolo); 135 135 double getDACV(int ibolo); // offset en microvolt 136 double getDACI(int ibolo); // courant en picoAmps136 double getDACI(int ibolo); // courant en microAmps 137 137 double getMuVBolo2T(int ibolo, int imesure); // avec soustraction dacV 138 double getBoloRes(int ibolo, int imesure); // Ohms 139 140 // Dilution 141 int getDilutionBlockNum(); 142 int4 getADCDil(int iADC); 143 int4 getSwitchDil(); 138 144 139 145 // SST, gyros, etc … … 142 148 long getSSTRawSignal(int iDiode, int imesure); 143 149 long getSSTSignal(int iDiode, int imesure); 150 long getSSTRawSignalCN(int iDiode, int imesure); 151 long getSSTSignalCN(int iDiode, int imesure); 144 152 double getSSTStarZ(int iStar, int imesure); 145 153 double getSSTStarF(int iStar, int imesure); -
trunk/Poubelle/archTOI.old/toiiter.cc
r408 r410 214 214 case boloTens2: 215 215 case boloRaw: 216 case boloRawCN: 217 trigMask |= block_bolo_mask; 218 break; 219 case boloTens2T: 216 220 case boloRes: 217 221 case boloTemp: 218 case boloRawCN: 219 case boloTens2T: 220 trigMask |= block_bolo_mask; 221 break; 222 trigMask |= block_bolo_mask | block_reglage_mask; 223 break; 224 case dilDAC: 225 case dilSwitch: 226 trigMask |= block_dilution_mask; 222 227 case boloGainAmpli: 223 228 case boloDACV: … … 445 450 case boloDACI: 446 451 return file->lastReglage() != NULL; 452 case dilDAC: 453 case dilSwitch: 454 return file->lastDilution() != NULL; 447 455 case sstDiode: 448 456 case sstChannel: … … 531 539 case boloDACI: 532 540 return file->getDACI(index); 541 case boloTens2T: 542 return file->getMuVBolo2T(index, imes); 543 case boloRes: 544 return file->getBoloRes(index, imes); 545 case dilDAC: 546 return file->getADCDil(index); 547 case dilSwitch: 548 return file->getSwitchDil(); 533 549 case sstDiode: 534 550 return file->getSSTSignal(index, imes); … … 589 605 case boloTens: 590 606 case boloTens2: 607 case boloTens2T: 608 case boloRes: 591 609 return file->blockNum() == file->getBoloBlockNum(); 592 610 case boloRaw: … … 597 615 case boloDACV: 598 616 return file->blockNum() == file->getReglageBlockNum() && imes==0; 617 case dilDAC: 618 case dilSwitch: 619 return file->blockNum() == file->getDilutionBlockNum() && imes==0; 599 620 case sstChannel: 600 621 case sstDiode: -
trunk/Poubelle/archTOI.old/toiiter.h
r408 r410 21 21 boloTens2, // tension en microVolts, avec soustraction offset filtre 22 22 boloRaw, // tension brute en microVolts, non filtree indexe par bolometre, sans chgt signe 23 boloRes, // Resistance, ohms24 23 boloTemp, // Kelvins, need R(T) -> N/A 25 24 boloGainAmpli, // gain de l'ampli du bolo 26 25 boloDACV, // tension de reference du DAC (microVolts) 27 boloDACI, // courant ( picoAmps)26 boloDACI, // courant (microAmps) 28 27 boloRawCN, // compression noise on bolo raw 29 28 boloTens2T, // total, microVolts, avec consigne DAC 29 boloRes, // Resistance, ohms 30 dilDAC, // dilution DAC, index = 0-47 31 dilSwitch, // dilution, mot de 32 bits 30 32 sstDiode, // signal brut SST, indice = diode, 0-45 31 33 sstChannel, // signal brut SST, indice = canal, 0-47 -
trunk/Poubelle/archTOI.old/toisvr.cc
r408 r410 109 109 else tsttoi(boloTens2T) 110 110 else tsttoi(boloRawCN) 111 else tsttoi(dilDAC) 112 else tsttoi(dilSwitch) 111 113 else tsttoi(sstDiode) 112 114 else tsttoi(sstChannel)
Note:
See TracChangeset
for help on using the changeset viewer.