Hi, Ahmed

I Finally got it !!!

the problem is in the Waiting loop ... that doesn't wait !!!

sooo... add :

Code:
 Busy VAR BIT
at the top of the program

and change :

Code:
WaitLoop:
 
' While not DQ                      ' NOT Working !!!
' Wend
by

Code:
WaitLoop:

OWIn DQ, 4, [Busy] 			' Check for still busy converting

'PORTC.4 = 1				' Show waiting for conv complete

If Busy = 0 Then 

 GOTO waitloop
 
ENDIF

' PORTC.4 = 0
Port C.4 was chosen to show the time the DS is Busy ... very useful tool to verify conversion is really complete !!!

Have fun,

Alain