Hello I am new to scope remote control programming. Recently I have got a U2701A, using the IAgilentU2701A driver.
I cant seem to read back correct measurement from the scope unless "driverU2701A.Measurements.AutoSetup" is ran before the measurement.
I tried my own setup but it never return the right values ( measuring a 1.786MHz clock signal, 3.3V amp).
My own reading sequence is following:
driverU2701A.Channels.Item("Channel1").Enabled = True
driverU2701A.Channels.Item("Channel2").Enabled = False
driverU2701A.Acquisition.ConfigureRecord 0.000000001, 0 <-- I want 1GHz sampling rate, it is 1.25MHz as default somehow.... and samplerate is readonly property.
driverU2701A.Trigger.Configure AgilentU2701ATriggerEdge, 0.01
driverU2701A.Trigger.Edge.Configure "Channel1", 0.2, AgilentU2701ATriggerSlopePositive
driverU2701A.Measurements.Item("Channel1").ReadWaveformMeasurement AgilentU2701AMeasurementFrequency, 10, freq
this simply doesnt work, but driverU2701A.Measurements.AutoSetup does.
What is really inside driverU2701A.Measurements.AutoSetup? what is wrong with my sequence? I read through the manual many times but found no useful information.
Any help is greatly appreciated!
I cant seem to read back correct measurement from the scope unless "driverU2701A.Measurements.AutoSetup" is ran before the measurement.
I tried my own setup but it never return the right values ( measuring a 1.786MHz clock signal, 3.3V amp).
My own reading sequence is following:
driverU2701A.Channels.Item("Channel1").Enabled = True
driverU2701A.Channels.Item("Channel2").Enabled = False
driverU2701A.Acquisition.ConfigureRecord 0.000000001, 0 <-- I want 1GHz sampling rate, it is 1.25MHz as default somehow.... and samplerate is readonly property.
driverU2701A.Trigger.Configure AgilentU2701ATriggerEdge, 0.01
driverU2701A.Trigger.Edge.Configure "Channel1", 0.2, AgilentU2701ATriggerSlopePositive
driverU2701A.Measurements.Item("Channel1").ReadWaveformMeasurement AgilentU2701AMeasurementFrequency, 10, freq
this simply doesnt work, but driverU2701A.Measurements.AutoSetup does.
What is really inside driverU2701A.Measurements.AutoSetup? what is wrong with my sequence? I read through the manual many times but found no useful information.
Any help is greatly appreciated!
From the setup you have there.. seem like there are missing horizontal and vertical scale being set. And once if you directly measure without setting the scale limit, the default setting of 100us/div being set whcih is too broad to capture 1.786Mhz).
and when you use autosetup, it did the trick
For AutoSetup function, it does the auto configuration base on the input signals. For more info on how to use the autosetup in your programming, I had found Agilent had this USB Modular Scopes Programmer's Reference Guide for their IVI-Com on the scope.
http://www.home.agilent.com/agilent/edi ... id=1507892
Maybe that will help.