raster calculator for conditional statement to compare two datasets

Discussion created by swamypati on Oct 19, 2010
Latest reply on Oct 19, 2010 by swamypati
I am trying to compare two raster (grid) datasets and put a condition statement if one is greater than the other take the difference if not no value. is the following statement correct for this?
(out_grid) CON([xgrid]>[ygrid], [xgrid]-[ygrid], 0)

When I tried with this statement, for the first few minutes, task bar shows that it is processing and after it hits 100%, program just freezes.  Not sure if this freeze is just GIS taking time or it is not doing anything?  So, my next part of the question is how long does this process takes, my datasets are large (3GB)? 

Thanks for any suggestions,