01-30-2013 03:35 AM - edited 01-30-2013 03:41 AM
Hi all!
I'm trying to made a communication between two computers through TCP/IP protocol. I create New VISA TCP/IP Resource, choose Manual Entry of Raw Socket, enter IP address and Port Number and have next error:
What is the solution to this problem?
Solved! Go to Solution.
01-30-2013 03:36 AM
Help me, please
01-30-2013 09:31 AM
Why don't you just use the normal TCP/IP functions? I'm not even sure you can talk to a non-VXI-11 device with VISA. You've got numerous TCP/IP examples, pick one.
01-30-2013 09:49 AM
@Dennis_Knutson wrote:
Why don't you just use the normal TCP/IP functions? I'm not even sure you can talk to a non-VXI-11 device with VISA. You've got numerous TCP/IP examples, pick one.
VISA TCP will work with any generic TCP device.
Also, to the OP your resource name is incorrect. It should be TCPIP::<IP Address>::<Port>::SOCKET.
01-30-2013 09:52 AM
@goodboycowboy wrote:
Hi all!
I'm trying to made a communication between two computers through TCP/IP protocol. I create New VISA TCP/IP Resource, choose Manual Entry of Raw Socket, enter IP address and Port Number and have next error:
What is the solution to this problem?
I think you're a bit confused. Are you trying to do this?
01-30-2013 10:16 AM - edited 01-30-2013 10:16 AM
You said you are trying to establish a communication between two computers, but in your example the client and the server address are the same. This leads me to think that you misunderstood the concept of creating a VISA resource. When you create with address x.x.x.x and port y, MAX tries to connect to that port as a client. It doesn't create a server.
The operation you are trying to do can be successful if there is actually a TCP server waiting on the same computer at port 50000, though.
01-30-2013 10:39 AM
@Mark_Yedinak wrote:
@Dennis_Knutson wrote:
Why don't you just use the normal TCP/IP functions? I'm not even sure you can talk to a non-VXI-11 device with VISA. You've got numerous TCP/IP examples, pick one.
VISA TCP will work with any generic TCP device.
Also, to the OP your resource name is incorrect. It should be TCPIP::<IP Address>::<Port>::SOCKET.
Okay. I've never used the SOCKET type.
02-03-2013 11:56 PM
Thank you for responding!
I used only TCP/IP functions. All works=)
01-20-2015 08:25 AM
please i'm facing somesing like that ,i'm trying to control tegam 1830 power meter to labview but when using visa write function i have error
and when using TCP\IP functions i don't know what to connected to tcp open function in port i\p
please any help
01-21-2015 09:36 AM
Hello e.gtoto88,
The original post to this forum has been resolved. I would suggest posting your question in your own forum page as the question you are asking is very different from the original post. Asking your question in your own forum page will make is easier for the community to help you.
Regards,
J_Bou