Can't help with the wiring thingy...but, I have read that most DIGITAL ballasts don't operate well off a generator. You need magnetic ballasts.

Hope that helps some.