It's absolute legitimate to cascade two amplifiers. In fact in your case an external amplifier is mandatory as a piezo is a voltage source with very high impedance that probably couldn't be measured correctly with the 9215 without external signal conditioning.
Best regards,
Jochen Klier
National Instruments Germany