heating element not heating during wash cycle

Dishes not getting clean, residue getting "baked on" during dry cycle
Water not getting hot during wash cycle (used to be steaming hot if washer was opened during wash cycle). Now, water is luke-warm (measured with thermometer at 90 degrees). However, heating element is good, works great during dry cycle (dishes are very warm to the touch)

Any thoughts? Has the control board gone bad?

A wiring diagram and/or schematic would be most helpful. As would a parts catalog with parts diagrams

Thanks in advance

wiz

Did you test the thermostat under the bottom as well. Here is the part number with picture of it, as well as a link to the parts diagrams for your dishwasher. Hope this helps.
[part]AP3010530[/part]

Replacement parts for WHIRLPOOL DU940QWDB6 | AppliancePartsPros.com

Where can I find the thermostat? Is it near the motor? Do I have to pull the dishwasher out to get to it?
Do you maybe have a link to a wiring diagram?

tks
wiz

You should be able to access it without pulling the unit out. Here is the link to the parts diagram to show you where it will be located. It is number 18 on the diagram.
http://www.appliancepartspros.com/partsearch/model.aspx?model_id=262333&diagram_id=28227766