| 
						
						
							
								
							
						
						
					 | 
					@ -652,25 +652,9 @@ void TrxBoard::mcsRead(const QString path) const | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					void TrxBoard::setProbeDependParams(ScenPrbDepHardwareParam& prbDepParams) | 
					 | 
					 | 
					void TrxBoard::setProbeDependParams(ScenPrbDepHardwareParam& prbDepParams) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					{ | 
					 | 
					 | 
					{ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    /////////////////////////// DSP setting ///////////////////////////
 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    if(prbDepParams.prbDepParams.apodizationLut.size() != APODIZATIONLUT_LUT_MAX) | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    { | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        throw HardwareException(SCN_ERROR, "Apodization lut is out of range."); | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    this->_beamFormerSlave0->apodizationLut(prbDepParams.prbDepParams.apodizationLut); | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    this->_beamFormerSlave1->apodizationLut(prbDepParams.prbDepParams.apodizationLut); | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    this->_beamFormerSlave2->apodizationLut(prbDepParams.prbDepParams.apodizationLut); | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    scenParamsFilling(set); | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    if(prbDepParams.prbDepParams.atgcLut.size() != ATGC_LUT_MAX) | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    { | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        throw HardwareException(SCN_ERROR, "Atgc lut is out of range."); | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    this->_dsp->atgcLut(prbDepParams.prbDepParams.atgcLut); | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    /////////////////////////// AFE setting ///////////////////////////
 | 
					 | 
					 | 
					    /////////////////////////// AFE setting ///////////////////////////
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    setAfeConfig(prbDepParams.afeCfg); | 
					 | 
					 | 
					    setAfeConfig(prbDepParams.afeCfg); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					    setAfesPwr(afePwrdnEnable); | 
					 | 
					 | 
					//    setAfesPwr(afePwrdnEnable);
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					//    setAfesFastPwr(afePwrdnEnable);
 | 
					 | 
					 | 
					//    setAfesFastPwr(afePwrdnEnable);
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					} | 
					 | 
					 | 
					} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -970,6 +954,18 @@ void TrxBoard::setScenario(ScenHardware& scenGenHw) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    _scenParams->rxParams->rxR0CenterActiveElementNumber = | 
					 | 
					 | 
					    _scenParams->rxParams->rxR0CenterActiveElementNumber = | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
							scenGenHw.rxParams.rxR0CenterActiveElementNumber; | 
					 | 
					 | 
							scenGenHw.rxParams.rxR0CenterActiveElementNumber; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    if(scenGenHw.apodizationLut.size() != APODIZATIONLUT_LUT_MAX) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        throw HardwareException(SCN_ERROR, "Apodization lut is out of range."); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    _scenParams->apodizationLut = scenGenHw.apodizationLut; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    if(scenGenHw.atgcLut.size() != ATGC_LUT_MAX) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        throw HardwareException(SCN_ERROR, "Atgc lut is out of range."); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    _scenParams->atgcLut = scenGenHw.atgcLut; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    this->setScenario(_scenParams); | 
					 | 
					 | 
					    this->setScenario(_scenParams); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					} | 
					 | 
					 | 
					} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					@ -1152,6 +1148,13 @@ void TrxBoard::setScenario (ScenGenHardwareParam* _scenParams) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    this->_dsp->dualPathWeight(_scenParams->hwRegister->dualPathWeight); | 
					 | 
					 | 
					    this->_dsp->dualPathWeight(_scenParams->hwRegister->dualPathWeight); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    this->_beamFormerSlave0->apodizationLut(_scenParams->apodizationLut); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    this->_beamFormerSlave1->apodizationLut(_scenParams->apodizationLut); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    this->_beamFormerSlave2->apodizationLut(_scenParams->apodizationLut); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    scenParamsFilling(set); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					    this->_dsp->atgcLut(_scenParams->atgcLut); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						///////////////////////////////// Sram setting ///////////////////////////////
 | 
					 | 
					 | 
						///////////////////////////////// Sram setting ///////////////////////////////
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    this->_sram->setSramIndex(_scenParams->totalTxShotNumber, _scenParams->indexParams); | 
					 | 
					 | 
					    this->_sram->setSramIndex(_scenParams->totalTxShotNumber, _scenParams->indexParams); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |