The 27-year-old has been struggling with the illness during the off-season but he's now likely to be fit to take some part in the Knicks training camp on October 1.
"He looked good," Knicks point guard Raymond Felton told reporters. "He's been really sick though. He's a little winded right now."
"That guy looked great, in my opinion."
Bargnani joined the Knicks from the Toronto Raptors in July.