klove Posted January 18, 2005 Report Share Posted January 18, 2005 I am trying to figure out how to set a resource name for a TCP/IP VISA connection. From my searching, it looks like I need to set a resource name something like: TCPIP::172.16.72.244::10001::SOCKET I have tried putting this in a String constant and Type Casting to VISA resource name, but labview (ver 6.0) bombs badly when this is executed. I have set the class of the Resource constant to the appropriate value, "TCP/IP Socket." What technology am I missing here? Thanks, Kirk :headbang: Quote Link to comment
Michael Aivaliotis Posted January 19, 2005 Report Share Posted January 19, 2005 Why are you using VISA? Why not use the standard tcpip functions? I always use those. Quote Link to comment
klove Posted January 19, 2005 Author Report Share Posted January 19, 2005 Why are you using VISA? Why not use the standard tcpip functions? I always use those. 3582[/snapback] The read function on the standard TCPIP pallette looks for a CR/LF combination to terminate the message. The device I am talking to terminates with only a linefeed. The VISA approach seemed to offer more flexibility, especially since I already have serial drivers written using VISA that should be able to be easily converted to TCPIP. Kirk Quote Link to comment
klove Posted January 28, 2005 Author Report Share Posted January 28, 2005 Problem solved: This is apparently a bug in version 6.0.0. Upgrading to 6.0.2 solved my problem. Kirk Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.