I have a UR5 Universal Robotics Robot Arm and PC connected via ethernet that I am attempting to have talk to each other via LabVIEW (just send strings back and forth). I have already managed to read communication from the robot to the PC using the TCP Listen VI and the TCP Read function. However, I am unable to write to the robot using TCP Write, or even initialize a connection with the robot using TCP Open connection. I have tried TCP Write after the robot had already established a connection with my computer via TCP Listen but 0 bytes were sent. How do I send strings to the robot from my PC using LabVIEW TCP/IP? If anyone has any experience using TCP/IP in LabVIEW help would be greatly appreciated.
Communicating between a PC and UR5 Universal Robotics Robot Arm using TCP/IP LabVIEW
3.3k views Asked by rachelmarie At
2
There are 2 answers
0
rachelmarie
On
I managed to fix the problem. I put each step in a frame in a stacked sequence and put the writing function before the reading function. I also looped the code in the robot that was receiving the data. It turned out to be the connection was timing out, just as Charlie was saying. Thanks for the help :)
Related Questions in SOCKETS
- Node.js Server + Socket.IO + Android Mobile Applicatoin XHR Polling Error...?
- My server TCP doesn't receive messages from the client in C
- how is strncpy able to copy from source to empty destination?
- Python Multicast packet receiver stops receiving multicast packets when computer is connected to WiFi
- Python Client-Server Communication with Protocol
- Reversed TLS re-connection issue
- Android 13 & 14 seem to close WebSocket connection, if i put app in background, after ~20s
- Java SocketException: Connection reset,. What is the cause?
- Multipart/form-data with chunked data transfer (ICAP protocol)
- View Socket View
- Client connection timeout during Android & Windows PC communication via sockets
- Browser connect to raw sockets even possible?
- Protocol 43200 after unpacking received data
- Unity SocketIo using Best http2 plugin want to use in webgl
- How does pre-allocating a pool of SocketAsyncEventArgs objects upfront improve the performance of a server application in c#
Related Questions in NETWORKING
- How to avoid duplicates with the pull-based subscribe model?
- How to simulate CSMA/CD protocol in ns3?
- Network System - Cisco Packet Tracer
- Adhoc / mesh network not working (with and without batman-adv)
- Algorithm for finding a subset of nodes in a weighted connected graph such that the distance between any pair nodes are under a postive number?
- Python Client-Server Communication with Protocol
- I registered a service in eureka which is resolving through java code. But it is not able to resolve its name when hitting through chrome or postman
- Share files from the server without data or internet usage
- Player names not synchronizing in unity Mirror Networking
- My phone can not visit the server on macos in the same local network
- Unable to ping remote websites from an ipV6 only ubuntu ec2 Instance
- Linux Networking - Routing packets from one network interface to another
- wrong output from Supernetting algorithm
- Mapping localhost port on host to docker container
- Microsoft Message Analyzer disable resolving IP address to their domain names a.k.a turn off AutoIP feature
Related Questions in TCP
- Java SocketException: Connection reset,. What is the cause?
- How does a server handle multiple requests, and how does is know where to send which response?
- How does pre-allocating a pool of SocketAsyncEventArgs objects upfront improve the performance of a server application in c#
- How to peek or ready to check whether HTTP request or not in TCP proxy?
- How does bash > /dev/tcp/"ip"/"port 0<&1 keep its connection alive?
- Python TCP Server that both sends and or receives data (independently) using asyncio streams?
- Can't remotely connect to my postgresql database on digitalocean
- Why my message doesn't write into the socket when I try to read the response after sending it?
- What makes MQTT a raw tcp connection that we can't run it in the browser?
- ImGui rendering wrong characters (characters received from tcp sockets)
- TCP/IP Server Using sockets Java
- C# tcp socket keepalive I want to visit a website, but the specified time is very slow and I cannot access it
- Java TCP socket want to multiple times input with one connection
- How do I receive TCP messages on an android Emulator from a physcal device
- Getting error while using the MessagePattern to communicate between microservices
Related Questions in LABVIEW
- Writing Waveform data into CSV file in LabVIEW
- Why does a LabVIEW VI work perfectly in a blank project, but not in a myRIO project?
- LabVIEW to .csv: Data in Header Line
- Why can't I write to a text file in a myRIO project?
- how I can include a second Compact RIO chassis in my labview project
- starting address of the delta plc AS228p-A in Modbus TCP/Ip connection
- Viewpoint .XLSX Toolkit: Writing Formulas to Excel Cell and Reading Resulting Values
- Why does a while loop prevent a case structure from changing states, and how can I fix it?
- How to create Python code from LabView code
- Running an EXE with a set WindowTitle
- open the Image from the HDF5 file using Labview
- Can I execute S-Function/C code generated by Simulink Coder in LabVIEW/FPGA?
- LabView - how to change scales on Waveform graph without changing the display?
- The [save report to file.vi] in report generation tool always Prompt regardless of whether the file to be saved already exists
- LabVIEW - Specify network card from multiple
Related Questions in ROBOTICS
- Python cv2 imwrite() - RGB or BGR
- Linear trinagulation yields poor results
- Pick and place simulation using the Robotiq 2F-140 manipulator in drake
- Calculate Velocity from Accelerometer of Android Phone
- How do the Kitronik Robotics Boards' motor outputs work only for motors specifically?
- Raspberry Pi GPIO - device or resource busy
- trouble with Python package import command in Spyder5
- Drawing a circle in a 3D enviroment using a 3DOF arm
- Mujoco - Change MjModel instance during runtime in Python
- How to set up 2D pose with IMU and odometry using robot localization ekf?
- Obtaining rotation and translation matrix from homogeneous transformation matrix
- Lidar intensity value normalization
- My MG995 servo is not working with lipo power cells even though they can provide the right current
- Robot that moves with putting in X,Y coordinates of a U shaped field
- FailSafe mode is activated [unexpectedly] when PX4Multirotor takeoff
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
A couple of points:
Did you get the provided desktop GUI working? That's always the first step.
The pic is helpful, but we need to know what you are trying to send (i.e. the data).
What you are trying to send should be a command from what I called the "spec" which is here.
So I would trying sending something like in the example such as "(0.1,0.4,0.4,0.01,3.14,0.01)” to move the robot somewhere or find some other command that you know should work.
I would send it and then listen for an error from the robot (I didn't see anything about error codes in the manual, but maybe there's a help file for the Desktop GUI that's explains them).
I wouldn't worry about LabVIEW saying that "0 bytes were written." If you think that problem is with LabVIEW or your network - I would just run a second VI that simply listens on a random port and trys writing commands to it. E.g. VI1 sends "command 1" on port 5876 and VI2 listens on 5876 and should read "command 1."
Hope that helps.