Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Have to add a delay in Agilent 3446x labview driver

I was seeing a weird bug in the Agilent 3446x driver on the driver page.

 

Running initialize.vi results in a long wait (~2 minutes) followed by this error:

 

Error -1073807339 occurred at VISA Read in Agilent 3446X Series.lvlib:Error Query.vi->Agilent 3446X Series.lvlib:Reset.vi->Agilent 3446X Series.lvlib:Initialize.vi

 

Possible reason(s):

VISA: (Hex 0xBFFF0015) Timeout expired before operation completed.

 

Then if I run the code again I get this error:

 

Error -1073807360 occurred at VISA Open in Agilent 3446X Series.lvlib:Initialize.vi->Ivan acquire single.vi

Possible reason(s):

VISA: (Hex 0xBFFF0000) Unknown system error (miscellaneous error).

 

I narrowed it down to a read call in Error Query.vi. I was able to fix it by inserting a 1 second delay in between.

 

error query.PNG

 

I thought I'd write this up for anyone encountering this issue in the future.

 

I'm testing with a keysight 34465A firmware V, Windows 10, and Labview 2017.

Message 1 of 6
(4,998 Views)

Thanks for the info! I'm sure this will help people in the future.

 

You can also email instrument.drivers@ni.com with this write up to provide direct feedback.

0 Kudos
Message 2 of 6
(4,958 Views)

Thank you so much, finally it works Heart

This bug is still existing...

0 Kudos
Message 3 of 6
(4,726 Views)

To echo Salazaar.Slytherin above, giving feedback to instrument.drivers@ni.com directly would be helpful feedback.

0 Kudos
Message 4 of 6
(4,711 Views)

This is a sneaky bug in the driver. I was tinkering with the driver for 2 days. Thank you for the solution.

 

Added the delay in the error query.vi and it works perfectly

Windows 7 64bit with Labview 2017 32bits.

 

Now I can code!

0 Kudos
Message 5 of 6
(4,115 Views)

Delay is needed once after the reset (speed up meas)

0 Kudos
Message 6 of 6
(3,746 Views)