data = flush (dev) ¶data = flush (dev, "input") ¶data = flush (dev, "output") ¶Flush the udpport socket buffers
dev - open udpport device
If an additional parameter is provided of "input" or "output", then only the input or output buffer will be flushed
None
See also: udpport.
Package: instrument-control