04-03-2006 05:52 PM
04-04-2006 02:20 PM
Hi Jacky!
The difference is that the VI_READ_BUF_DISCARD function is designed to be use with the formatted I/O functions like viScanf and viPrintf, while the VI_IO_IN_BUF_DISCARD is designed to be used with the viRead and viWrite functions.
I am sorry for any confusion. I have made this issue known so we will be able to correct it in the next release. Thank you for bringing it to our attention!
I hope this helps, but let me know if you have any other questions!
Chris R.
Applications Engineer
National Instruments
04-04-2006 03:02 PM