Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA Sockets

I'm having problems using the VISA library to open a raw socket. It looks like the same issue raised in this post: http://forums.ni.com/ni/board/message?board.id=140&message.id=1714&requireLogin=False .

Unfortunately, it doesn't appear that anything was resolved.

Using VISA 3.1, compiling with g++ on Solaris 9:
I am attempting to make a call to viOpen with the resource string equal to "TCPIP::198.133.201.40::4369::SOCKET". The call fails and the status description says something like "Insufficient location information or requested device or resource is not available in the system."
A call to viParseRsrc returns the same.

Does anyone have any idea why this might be failing? I don't think it's a communication issue since I have communicated with my device on that ip/port using the manufacturer's software and my own tests using sockets directly. It appears that the resource identifier isn't parsing, but the documentation I've seen points to this format. Suggestions?
0 Kudos
Message 1 of 1
(3,258 Views)