The aims of the present investigation (MOT114479) are to assess the pharmacodynamic effects (gastric emptying and symptoms), safety, tolerability, and pharmacokinetics of GSK962040 after 28 days of once-daily dosing in Type I and Type II diabetic subjects with gastroparesis. An additional aim is to characterize the dose/exposure - pharmacodynamic effect relationship.