ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

delete buffer after read

I have a VI to read a serial port and when she becomme a command she close the visa read  and send something. all is in a loop. the probleme is: after reading the port and closing the visa serial read the buffer will not be deleted and the next time its  read the old things in the buffer.
 
I want to delete the readbuffer after closing the visa read.
how can I do it?
 
thanks
0 Kudos
Message 1 of 4
(3,737 Views)
0 Kudos
Message 2 of 4
(3,724 Views)
thanks
0 Kudos
Message 3 of 4
(3,721 Views)
Thanx for what?
0 Kudos
Message 4 of 4
(3,662 Views)