03-24-2010 07:10 AM
Hello,
I'm trying to make a Control program for my robot, so I can drive my robot with a joystick and WiFi. On the robot is a PC with windows Vista an LV9.0 and a USB camera. I want to send some data (setpoint for motors) that moves the robot. And Send back the video feed.
I had made a program using TCP communication send data to robot and then send de video data back. That works but it takes allong time. So the reaction of the robot to the Joystick is to slow. For the video this isn't a problem. So I thought make to TCP connections with to while loops, one for the Video and one for the data. But I can't get it to work. If I only use video or data then it works but both on not.
I also want to use UDP for the data and the video feed. But I get the error that is to big.
I have added the programs I made in labview 2009.
03-24-2010 08:58 AM
03-24-2010 09:03 AM
Ah, stupid of me. I will edit this and test it. And is there a way to send the video that via UDP ? off must I split the that, don't no what the max data length is of a UDP packet in LV ?
Greetz,
Jeroen
03-24-2010 09:31 AM
03-24-2010 09:47 AM
I have changed the software but It doesn't work quiet yet, still struggeling. Video on TCP and Data on UDP with different ports.
I let you know when it works.