Cannot connect to a specific Ethernet port using Python and PyVisa

Viewed 16674

I am trying to connect to a temperature chamber via an Ethernet connection using pyVisa in Python. The device only allows connections through port 2049. I have no problems connecting to it via PuTTY or HyperTerminal, but when I try this command in Python

import visa
chamber = visa.instrument("TCPIP::10.2.17.130::2049")

I get this error:

VI_ERROR_RSRC_NFOUND: Insufficient location information or the requested device or resource is not present in the system

I know the device is there because I can talk through it in PuTTY, but I cannot seem to get the Python code to work. Any hints? Does pyvisa use SSH by default?

3 Answers
Related