LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Clearing My Serial Port

Hi,

How can I clear my serial port using VISA Flush I/O Buffer.vi? I'm not sure of the connection. Can anyone please help me?

Thanks alot

From
Don
0 Kudos
Message 1 of 5
(2,772 Views)
Hi,
What you can do is read the total bytes at port from the function VISA BYTES AT SERIAL PORT,and make sure you read the whole size from VISA READ.so by this no data will be left over and your memory is flused.
Hope it solves
vicky
0 Kudos
Message 2 of 5
(2,770 Views)
Hi Vicky,

I'm still not sure what you meant. Do you have any picture illustrations. If you do I'll be alot more clear. Thanks

From
Don
0 Kudos
Message 3 of 5
(2,762 Views)
Sorry,
Plz see the attached image it may help you
cheers
vicky
0 Kudos
Message 4 of 5
(2,759 Views)
Hi Vicky,

Don't say sorry, you are a real great help to me. Thanks for helping me. I'll try the connection it out.

Thanks again!!

From
Don 🙂
0 Kudos
Message 5 of 5
(2,755 Views)