<p>我正在尝试使用Python中的pyVisa通过以太网连接到温度室。设备只允许通过端口2049进行连接。我可以通过<a href="http://en.wikipedia.org/wiki/PuTTY" rel="nofollow">PuTTY</a>或<a href="https://en.wikipedia.org/wiki/Hilgraeve" rel="nofollow">HyperTerminal</a>连接到它,但是当我在Python中尝试这个命令时</p>
<pre><code>import visa
chamber = visa.instrument("TCPIP::10.2.17.130::2049")
</code></pre>
<p>我得到这个错误:</p>
<blockquote>
<p>VI_ERROR_RSRC_NFOUND: Insufficient location information or the requested device or resource is not present in the system</p>
</blockquote>
<p>我知道这个设备在那里,因为我可以用PuTTY语言通过它,但是我似乎无法让Python代码工作。有什么线索吗?pyvisa默认使用<a href="http://en.wikipedia.org/wiki/Secure_Shell" rel="nofollow">SSH</a>吗?</p>