02-08-2016 04:49 AM - edited 02-08-2016 05:06 AM
Hi All
I'm trying to do an autoscale command on a Agilent (Keysight) DSO-A4034A connected over ethernet.
But for some reason I get a timeout error. when cheking for system errors.
I have set up the visa session in "MAX" and use the name of the instrument session to call it in the VI.
I have based these VIs on the instrument driver from Agilent. and I can do all the other stuff I need to do without errors. EI. setup measurements Aqusition type read data and so on without error.
The error is generated by the read command just after the ": SYST:ERR?" command in the error query VI.
I have updated the firmware of the scope and upgrated to VISA 15.0.1 but so far without luck.
When I turn on "execution highlight" there is no problem...
Is there anybody that can give me some pointers as to where to look for this fault? All help would be gratefully recived.
/Regards Rasmus
Solved! Go to Solution.
02-08-2016 05:16 AM
@Rasmus.Olesen wrote:When I turn on "execution highlight" there is no problem...
That just screams "Timing Issue". Add a small wait between your autoscale command and the error check. It is likely that the oscilloscope does not look at incoming commands when it is performing the autoscale. So you need to wait for it to do the job.
02-08-2016 05:26 AM
Hi crossrulz
I tried that but only with 1000ms. turns out it needs atleast 1300 to be stable.
Thanks
/Rasmus