Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

pyVISA control Fluke 8845A : I can set but not read

Solved!
Go to solution

Hello,

 

I am currently trying to control a Fluke 8845A through LAN using pyVISA.

I can correctly send commands such as : "CONF:VOLT:DC" and it works perfectly well !

But ...

I can't find a way to read from the instrument, I have a timeout error.

 

I tried different commands such as : 

 
                    ressource.write('MEAS:VOLT:DC?\n')         
                    voltage = float(ressource.read())
 
Does anyone have the same issue ?
A solution ?
 
Thank you 🙂
0 Kudos
Message 1 of 2
(1,970 Views)
Solution
Accepted by topic author HaruGlory06

The problem was solved by setting the read termination to "\r\n".

0 Kudos
Message 2 of 2
(1,939 Views)