Using the code in your ADC_DualMode_Config() function...
The 2 images attached suggest that you have not included the 2nd conversion in the conversion sequence, either for ADC1 or ADC2. (The 'include in sequence' item next to the 2nd conversion is not checked.) Also 'enable external trigger' is not set for ADC2.
ADC2->CR1=0x00050100; ADC2->CR2=0x0020F102; //ADC2->JSQR=0x00108c00;//0x61; //ch1 and ch3 ADC2->JSQR=0x00118400; } i have changed my code as above , in the simulator i am able to see the output but in the hardware i am not getting the output...
Create a project for your target chip. (This will create a main.c or main.cpp file.) Paste your ADC_DualMode_Config(void) function into this initial source file. Put a 'g_p' at the front of each ADC and RCC. I.e: Change ADC1 to g_pADC1, change ADC2 to g_pADC2 and change RCC to g_pRCC. Then select all of the lines of code. Open the ADC1 wizard from the Wizards menu to see how you code is configuring ADC1. Then cancel out and open the ADC2 wizard from the Wizards menu to see how you code is configuring ADC2. You should see some things that are incorrect in the 'Injected channels' tabs.