What do you mean by "output" - what data are you having trouble storing?
Things like the "Source" and "Distance" in your screenshot, I think Maya will store automatically, assuming you are using attributes (eg MFnNumericAttribute.create) for them.
I have never created a constraint node though.