I'm an ICU fellow and this comes up from time to time. I don't consider the use of NIPPV a violation of a DNI request, but when I'm talking about "goals of care" and "code status" with patients, I mention NIPPV as one option on a continuum of respiratory support and give them the option.
Some people's reason for being DNI is not wanting to be in a position of discomfort and inability to communicate w/ family and eat, all of which are largely as true w/ NIPPV as with intubation. These people will likely decline NIPPV. However, if their problem is something likely temporary and reversible (flash pulmonary edema, TRALI, etc), I'll try to guide them to accept it.
For others, the DNI stems from a desire not to have a painful, invasive procedure or to be on "life support," and these people will usually accept NIPPV.
Anyway, in short, I don't think NIPPV violates a DNI and, when possible, I include it in the discussion of respiratory support options so they can decide for themselves.