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,674 Views)
0 Kudos
Message 2 of 4
(3,661 Views)
thanks
0 Kudos
Message 3 of 4
(3,658 Views)
Thanx for what?
0 Kudos
Message 4 of 4
(3,599 Views)