09-09-2005 09:45 AM
I have an AG33220A waveform generator and was looking to convert the drivers from GPIB to VISA so I can take advantage of the ethernet port. However, VISA TCPIP can't successfully send an arb waveform with size greater than 4054 to arb waveform generator. A Waveform download of size > 4054 is successful if use a GPIB write or VISA GPIB write. It only seems to be an issue if we are using the TCPIP connection on the instrument and using VISA TCPIP and the waveform size is greater than 4054. We were able to reproduce the problem using a C++ code example acquired from Agilent. The NI-VISA dll is the installed one and we can't find the Agilent visa.dll to extend the comparison.
I've tried both increasing the timeout and increasing the VISA I/O buffer and it still fails at the same point. It doesn't seem to be the Labview end so much as something in the TCPIP implementation at the visa.dll level. I understand that TCPIP has a packet size limitation of 4096 but as I understand it the protocol should break up the data into multiple packets of that size or smaller.
09-12-2005
04:42 PM
- last edited on
05-27-2025
02:04 PM
by
Content Cleaner
jae,
First, I would make sure you are using the latest NI-VISA driver, version 3.3. If you are using this version and are experiencing this problem, I would try doing an NI-SPY capture while running your program and seeing if it reveals any errors. You could post the NI-SPY capture as well.
02-07-2006 06:02 AM
02-08-2006
11:26 AM
- last edited on
05-27-2025
02:05 PM
by
Content Cleaner
I do not have an instrument to actually try this with, so I have tested the limitations of the VISA Write when using a VISA TCP Resource. I can successfully transmit at least 15 megabytes with a single VISA Write without problems. I am currently using NI-VISA 3.4.1, so I would recommend that you upgrade to the latest version and see if the behavior persists.
NI-VISA Current Version
Jason S.
Applications Engineer
National Instruments
02-09-2006 10:11 AM
02-27-2006
03:32 PM
- last edited on
05-27-2025
02:05 PM
by
Content Cleaner
Sorry for the delay. NI-VISA 3.5 has now released and should resolve this problem. It should be available for download from www.ni.com soon and it is immediately available at https://download.ni.com/#support/visa/drivers/win32/3.5/
-Josh