pi+ for D0 and D* at pp 510 GeV run17