  We show that the generating series of generalized Donaldson-Thomas invariants
on the local projective plane with any positive rank is described in terms of
modular forms and theta type series for indefinite lattices. In particular it
absolutely converges to give a holomorphic function on the upper half plane.
