Hi all,
I am trying to control a Keithley 2460 Sourcemeter through USB to source a current and read the value of this output current.
I took an example code from the library "Keithley 2450 read single", however error 1073807346 pops out from the "Initialize" box ; from the VISA read block precisely. Even if I just switch on the Keithley power source and only run the "Initialize" box, the error comes. The VISA ressource name chosen is : USB0::0x05E6::0x2460::04069812::INSTR
A similar post was realized on this : https://forums.ni.com/t5/Instrument-Control-GPIB-Serial/VISA-read-timeout-error-Keithley-2400/td-p/1771254, thus I tried to query the device with MAX by sending the command *IDN?\n but it returned me a timeout error VISA: (Hex 0xBFFF0015) (screenshot attached).
Still to mention that sometimes the device is recognized and work properly and then it doesn't work anymore. Therefore, I would like to point out what makes it work sometimes and sometimes not.
Thanks in advance
Nico