Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

USB-GPIB-HS vs USB-GPIB-B

Hello,
 
I am hoping to understand if there are any known problems with the GPIB-HS when downloading large amounts of data.
 
I have written a program to download ASCII data from an Agilent instrument.  The program is written in LV 8.2 and uses the IVI-COM driver fpr the N4903A J-BERT.  The VISA library is NI VISA 4.0 and the NI 488.2 library is 2.46.  When the data sets are small (i.e. < ~200 data points) both the 'HS' and 'B' adapter work just fine.  However, when the data sets are large only the USB-GPIB-B adapter is able to download the data. 
 
Initially, I thought the problem was the GPIB bus timeout so I increase  the timeout to 1000000 ms before data download.  However, the problem still existed using the USB-GPIB HS.  Here is the IVI-COM error number reported in LV:  "-2147219965".  I have an NI-SPY file for each adapter and mysteriously a "VI-CLEAR" is present shortly after the data download using the USB-GPIB HS.  As discussed, the USB-GPIB-B works just fine and you can see all the data in the NI-SPY file. 
 
I would be interested if anyone has come across a similar problem or knows of a solution (i.e. updated "HS" driver?).  Any thoughts are much appreciated.
 
Regards,
 
John
 
0 Kudos
Message 1 of 4
(4,407 Views)
John,

That's an odd problem.  If you'll post the NI-SPY logs I'll be happy to take a look.
Chad B. » National Instruments » ni.com
0 Kudos
Message 2 of 4
(4,368 Views)
There is an updated driver available.  I would recommend that you try NI-488.2 v2.5 to see if it resolves the issue you are seeing.

-Jason S.
0 Kudos
Message 3 of 4
(4,318 Views)

Hello All,

Thanks for your thoughts.  I will try the updated driver to see if this helps resolve the problem.  I have performed additional troubleshooting on this end as well.  Another data point is that the USB-GPIB-HS adapter can xfer the large amounts of data when using direct SCPI commands through the VISA layer.  In otherwords, the problem only occurs using the USB-GPIB-HS with the IVI-COM driver.  As discussed, the USB-GPIB-B works fine using IVI-COM driver.  Thanks for your help and I will let you know what I find.

Regards,

John

0 Kudos
Message 4 of 4
(4,296 Views)