Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA ERROR -1073807239 in NI VISA2.5 for TCP/IP resource

Hi AEs and Experts
I m using NI VISA2.5 for communicating with an instrument using TCP/IP resource and its working perfect. Once I read a data block of size more than around 1500 bytes using ViRead(),i m getting ERROR -1073807239. Is there any limitation of VISA while using TCPIP resource?? ViRead() is working perfect for more than even 10MB data read in case of GPIB resource.

Please through some pointer and soolution for this.

Regards
santanu
0 Kudos
Message 1 of 2
(3,617 Views)
Santanu:

Are you using INSTR or SOCKET? If INSTR, then there were several bugs fixed in the 2.6 release, specifically regarding large viRead operations. You should consider upgrading.

Also try copying the patches (available from ftp://ftp.ni.com/support/visa/drivers/win32/2.5/patch or ftp://ftp.ni.com/support/visa/drivers/win32/2.6/patch) over the existing NiViEnet.dll on your machine.

If your problems are when using SOCKET, this is not a problem I have heard of before. You may want to use NI Spy and send a capture file to technical support to see if they can help you further.

Dan Mondrik
Senior Software Engineer, NI-VISA
National Instruments
Message 2 of 2
(3,617 Views)