Hi,
I did some testing here and I think if you pass 0 or NULL to the file path input the "print to file" option is not selected. I have this behaviour here using CVI 7.0 and CVI 6.0.
Please give this a try and let me know how this goes!
Regards,
Juan Carlos
N.I.