05-26-2010 08:54 PM
05-26-2010 09:17 PM
Since it has nothing to do with NI hardware or software, not sure why you posted here. You really need to be asking Agilent.
That being said, is there an explanation in the manual about what happens with a measurement? If you use an external meter before the measure command, what do you read?
05-26-2010 10:14 PM
Saw some other people asking about Agilent products here as well. The agilent forums are not as active.
Anyway, thanks for the attention.
Didn't see anything in the manual that could explain why this happens. All it says is that a measurement will be made.
I connected a voltmeter to the outputs and found that the voltage measured does not change ie. it is the same as when I use the Set command and after the Measurement command. It does differ from the desired voltage by a little though, but that is probably normal due to non-idealities.
So what I think is that the display simply shows the measured voltage after I run the measurement command and that the measure command measures an inaccurate voltage.
06-03-2010 07:58 PM - edited 06-03-2010 08:00 PM
I personally think it is not bad to post IVI topics here even if NI product is not concering, because many people in this thread are interested in IVI/VISA drivers and SCPI command operation.
To make the symptom more clear, I have a question:
Q, When IVI driver's Measure function returns the measured voltage, is the value same with instrument panel's meter display?
If the Measure function returns the same value with meter display (but different with set voltage), it is just due to instrument output accuracy or measurement subsystem's A/D accuracy. No problem on the driver, firmware. To solve it you will need calibration.
If the Measure function returns different value that meter display, there might be some reason of this. Then you should ask the vendor.
Makoto
06-03-2010 08:45 PM
Yes, when the Measure function returns the voltage, it is the same value as on the instrument's display though it is of course different from the desired set value.
I don't think it is due to the instrument's output accuracy as the discrepancy is about 0.01 ~ 0.02 V when I use the 6V output terminal. I'm sure the instrument is more accurate than that. It is probably to do with the measurement subsystem as you mentioned. Thanks for helping.
06-03-2010 09:00 PM
06-03-2010 09:14 PM
06-18-2010 04:22 AM
Isaacwu, how did you managed to get Measure() working?
We are using Agilent e3631a, our test app is also in c#.
Everything works fine besides Measure() -
we get an IO Timeout exception, and these errors:
Error 550: Command not allowed in local
Error 511: RS-232 framing error
in the error queue.
I am wondering how you initialize e3631a?
06-20-2010 07:22 PM
> Error 550: Command not allowed in local
Probably the instrument requires REMOTE operation. Try to send ":SYST:REM" command.
06-20-2010 08:26 PM
Hello there, I don't see why there should be a problem with Measure() if you can get the other things to work. I based my code on the Example1 program provided by Agilent in the example folder, you can refer to it. Btw my code is in Visual Basic .Net.
@olkhov wrote:
Isaacwu, how did you managed to get Measure() working?
We are using Agilent e3631a, our test app is also in c#.
Everything works fine besides Measure() -
we get an IO Timeout exception, and these errors:
Error 550: Command not allowed in local
Error 511: RS-232 framing error
in the error queue.
I am wondering how you initialize e3631a?