Fabio,
if you take a look at the Online Help for the niHSDIO Tristate Channels Function in the NI-HSDIO library, you can read that calling this function allows you to immediately set the specified lines in a high-impedance state without having to stop the session that is running on the 6551 device.
Wiring in a TRUE constant Tristates the lines and wiring in a FALSE constant sets the lines back to normal impedance.
Try and see what happens using this function.
Regards,
AlessioD
National Instruments