Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Agilent U2300 series

I have just downloaded the driver for the Agilent U2300 series DAQ.  I'm using the U2356A. 

 

The Initialize.vi fails to run correctly most of the time.  I get an error code -1073807305 "VISA:  (Hex 0xBFFF0037) Device reported an input protocol error during transfer."   I am able to do a *IDN? query using MAX without a problem.

 

I have tried changing USB ports, powering off/on, etc. without success.

 

Any suggestions??

 

>

"There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
0 Kudos
Message 1 of 14
(8,055 Views)

This runs without failure sometimes? If so, are there any conditions that seem to be correlated to success or failure?

 

Can you test this on another machine to see if the error persists?

 

Just some suggestions, for now...

 

 

---

Peter Flores
Applications Engineer
0 Kudos
Message 2 of 14
(8,029 Views)

It seems this issue may be caused by the firmware of U2356A. You can try the following three ways and tell us the results:

 

1. Please update the firmware of the U2356A to the latest one
2. Try the Initialize.vi with other U2300 models (e.g. U2331A) to see any difference if you do have one

3. Replace the new Initialize.vi with the one in the attachment (I add "\n" after the "*IDN?"), and try again

 

Good luck!

Message 3 of 14
(8,017 Views)

xiexiangchao wrote:

It seems this issue may be caused by the firmware of U2356A. You can try the following three ways and tell us the results:

 

1. Please update the firmware of the U2356A to the latest one
2. Try the Initialize.vi with other U2300 models (e.g. U2331A) to see any difference if you do have one

3. Replace the new Initialize.vi with the one in the attachment (I add "\n" after the "*IDN?"), and try again

 

Good luck!


 

Thanks for the reply.

 

1.) I have the latest firmware.

2.) Unfortunately, I don't have any other U2300 series models to try.

3.) I will try your Initialize.vi

 

I did go back and try some old driver VIs that I had written.  I was getting the same error until I found a problem with the read data query.  Apparently, the "3FFF0006" warning was being generated, but there were no more bytes, so the device stopped responding.  I removed the while loop and now my drivers work fine.  

(This was code generated using the Instr. I/O assistant)

 

 

Message Edited by vt92 on 04-23-2009 02:11 PM
Message Edited by vt92 on 04-23-2009 02:12 PM
>

"There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
Message 4 of 14
(8,001 Views)

vt92 wrote:

I have just downloaded the driver for the Agilent U2300 series DAQ.  I'm using the U2356A. 

 

The Initialize.vi fails to run correctly most of the time.  I get an error code -1073807305 "VISA:  (Hex 0xBFFF0037) Device reported an input protocol error during transfer."   I am able to do a *IDN? query using MAX without a problem.

 

I have tried changing USB ports, powering off/on, etc. without success.

 

Any suggestions??

 


 


vt92 wrote:

I have just downloaded the driver for the Agilent U2300 series DAQ.  I'm using the U2356A. 

 

The Initialize.vi fails to run correctly most of the time.  I get an error code -1073807305 "VISA:  (Hex 0xBFFF0037) Device reported an input protocol error during transfer."   I am able to do a *IDN? query using MAX without a problem.

 

I have tried changing USB ports, powering off/on, etc. without success.

 

Any suggestions??

 


 

Hi!

I have the same problem with the Initialize.vi driver. I have  a U2351A unit and when I run the U2300series drivers I receive the same error....

What can I try to solve this problem?

I tried to replace the initialize.vi file but the acquisition don't work,too.

But with the Agilent Interactive IO the unit reads correctly the idn string and write the "Agilent Technologies,U2351A,TW47100008,A.2006.10.10" string.

Please help to me....

 

Thank you in advance.

 

Alex

0 Kudos
Message 5 of 14
(7,830 Views)

Hello Alex,

       Please email instrument.drivers@ni.com if you are willing to test some pre-release updates to the U2300 series instrument driver.

 

Thank you,

 

NathanT

0 Kudos
Message 6 of 14
(7,816 Views)

 

Hello,

 

I'm havig the same problem as Alex with an U2351A unit. I've tried with device driver versions

     - IVI 1.1.1.0 (delivered with the instalation CD)

     - IVI 2.0.12.0 (downloaded from Agilent web site)

     - IVI 2.0.12.1 (downloaded from Agilent web site)

 

I'm working with LabView 8.5 and have tried with both VISA 4.0 and 4.2.  

 

I've noticed no behavior improvement.

 

Do you have any solution for this?

 

 

Thanks in advance,

 

Martí.

 

0 Kudos
Message 7 of 14
(7,372 Views)

Hello Marti,

      Please try the LabVIEW Plug and Play Instrument Driver that National Instruments developed.  It is available here on IDNet

 

Cheers,

 

NathanT

0 Kudos
Message 8 of 14
(7,362 Views)

 

Hello Nathan,

 

Thanks for your fast response.

I'm already using the Plug and Play Instrument Driver you are referring to. Actually, I thought all this thread was about a problem found when using this Plug and Play driver. Now, revewing the posts dates I see the previous posts must referr to a previous release, but it's not my case.

 

This 1.4 release from sept-2009 is the only one I've known.

In fact I would have tested previous releases before posting if I could have found them.

 

 

 

Kind regards,

 

 

Martí

0 Kudos
Message 9 of 14
(7,354 Views)

Hello again,

 

I've found an error case that may add some information to anyone versed with these drivers (not me)

 

Using "Agilent Interactive IO" I can send and read commands to/from the device.

 

 

 

 


If I try to read from the device without having sent the function before, I get a timeout error

 

! VI_ERROR_TMO: A timeout occurred

Visa ErrorCode: 0xBFFF0015 (-1073807339)

 

As we would expect. If, afterwards, I poll and read again the device responds accordingly, showing that it has recovered from the error forced previously.

 

 

When I try to do the same using NI software, that is, "Measurement and Automation explorer" and “VISA test Panel” I succeed to make a write/read sequence, obtaining the device details.

 

 

 

 

If I try to read from the device without having sent the polling command before, however, the error I get is 0xBFFF0037 instead of the timeout error I would expect.

 

 

Which is the same error I get when running the VI downloaded from NI.

Once in this state, the device cannot recover and it returns error 0xBFFF0037 any time I try to read, no matter If I send a “*IDN?\n” message before.

0 Kudos
Message 10 of 14
(7,311 Views)