LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

UDP protocol

Solved!
Go to solution
I have ver8.6 UDP commo protocol that works, but when upgraded to LabView2009, it errors. It errors in the basic UDP Open vi. My only work around is to un-install 2009, groan.
Download All
0 Kudos
Message 1 of 5
(4,397 Views)
What error. We can't run this as we do not have the according device, so please give ALL the information you have!
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 2 of 5
(4,391 Views)
Solution
Accepted by topic author ronrodrig

Hi Ronrodrig

 

The conversion of the VI to 2009 seems to be the problem. I got error 1 when I ran your VI, it only worked only if the net address was my local address. I rebuilt your VI from scratch in 2009 and I got no errors.I didn't see this is LabVIEW 2009s known issues. There is a 2009 patch but I haven't installed it to see if that fixes it. Unless maybe I've missed something

 

J

0 Kudos
Message 3 of 5
(4,385 Views)

Usually UDP protocol does not need ack, but I have a device which uses. Now problem is I opened UDP port but the connection ID is of TCP type UDP Read and close have the TCP type connection ID so when I read from this port, it works but now I am using UDP write to ack, to my surprise this has UDP connection ID. Now I have open UDP port, I can read it but could not write because I get an error "ref conflict: caannot connect diff refnum types, your source is tcp network connection & sink is udp network connection".

 Any one has any solution.

0 Kudos
Message 4 of 5
(4,241 Views)

What you describe is as clear as mud. I didn't understand much of it. Sometimes attaching some code that has been thought about some can make wonders for others to understand what you might be having problems with.

 

What I currently feel you are trying to do, is mixing UDP and TCP nodes and that you CAN'T do.If your device is UDP and does need some form of ack you have to implement that ack yourself using UDP nodes. If that can't work for whatever obscure reasons, your device does not really implement UDP but some other form of protocol that might only be solvable using directly raw sockets, and that is not supported in LabVIEW.

Message Edited by rolfk on 12-16-2009 08:51 AM
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 5 of 5
(4,238 Views)