PyVisa and Printing New Data
<p>I am trying to use Pyvisa to capture data from one of my channels of my Keithly 2701 DMM. </p>

<p>I get a static onetime response via <code>temp = keithly.ask('SCPI COmmand')</code>, but what I want to do is constantly print new data without setting any predefined size, i.e capture 300 data points.</p>

<p>I want to determine when to stop the capture if I have seen a trend over 10000 data points, or, in another experiment, I might see a trend after 2500 data points.</p>

<pre><code>from pylab import *
from visa import instrument

inst = SerialInstument(args)

while new data:
    print inst.aks('channel')
</code></pre>
