Closed chrisu-mi closed 5 months ago
Hi chrisu-mi, sorry for the late answer. What instrument are you communicating with?
Hi Miloslav, i am using a RTM3004 with the latest firmware update applied 2 weeks ago.
Hi Chrisu-mi, with the RTM3004, try this constructor: Instrument = RsInstrument(visaResourceAddr, True, False, options='AddTermCharToWriteBinBlock=True')
I hope that helped, Chrisu-mi, if not, please reopen the issue.
@Miloslav-RS Thanks for your help, it works like this!
When running the following code, I get a timeout error:
Traceback (most recent call last): ... RsInstrument.Internal.InstrumentErrors.StatusException: 'TCPIP0::192.168.1.10::inst0::INSTR': Query '*STB?' - VISA Timeout error occurred (5000 milliseconds) and ... Instrument error detected: -101,"Invalid character"
But the file gets transferred, so when I apply error handling with try:/except:..closing the current session and reopening a new one I can remotely load the transferred setup-file with no problem.