06-20-2010 08:38 PM
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.
<<
06-21-2010 03:50 AM
>>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()
06-21-2010 04:15 AM
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.