Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Agilent E3631A DC power supply Measurement problem

The E3631 operation manual says:

>>

It is very important that you send the SYSTem:REMote command to
place the power supply in the remote mode. Sending or receiving data
over the RS-232 interface when not configured for remote operation can
cause unpredictable results.

<<

0 Kudos
Message 11 of 13
(3,483 Views)

>>It is very important that you send the SYSTem:REMote command to

 

I also noticed that Rmt indication did not show up when the instrument is initialized,

so I added syst:rem to the init procedure. I do see Rmy indication on the instrument's display.

 

Now I am wondering how setting VoltageLevel works without syst:rmt? It does work - I see it.

 

But back to Measure()  - now instead of "not allowed in local mode" I am getting these errors:

 

Error 511: RS-232 framing error

Error -410: Query interrupted

 

from the instrument, and this from VISA:


IO timeout error: VISA error = Timeout expired before operation completed

 

The code is attachement. Starting form line 156 there are a few lines (in the if (true) clause)

to work around the problem, but I really would like to do it 'normal' way - by calling Measure()

 

 

 

 


0 Kudos
Message 12 of 13
(3,467 Views)

 

I have just tried Agilent's driver i.s.o. generic Ivi.DCPwr driver - the errors are a bit different:

 

Error -222: data out of range

Error 511: RS-232 framing error

Error -410: Query interrupted

 

from the instrument, and the same from VISA:


IO timeout error: VISA error = Timeout expired before operation completed

 

A bit improved code is attachement.

 

 

0 Kudos
Message 13 of 13
(3,463 Views)