03-05-2009 04:18 AM
Dear Labview experts,
I am always getting the error 1(invalid input parameter) whenever using UDP read function in my PC. I have tried using the UDP examples(UDp multicast sender and receiver) that came together with Labview but to no avail. My pc contains two network cards. Is that the reason why UDp read is not working. For other PCs with one network card, this is not a problem. UDp read works perfectly. Pls help. Thank you.
03-05-2009 04:35 AM - edited 03-05-2009 04:36 AM
Did you wire the net address of the desired network card for "UDP open" or "UDP mulitcast open", resp.?
What is your LabVIEW version?
03-05-2009 07:55 AM
03-06-2009 01:49 AM
altenbach wrote:Did you wire the net address of the desired network card for "UDP open" or "UDP mulitcast open", resp.?
What is your LabVIEW version?
Message Edited by altenbach on 03-05-2009 02:36 AM
tried that but in vain.
Posing my VI for some help.
03-06-2009 06:01 PM
Well, looking at you image you did NOT wire the "net address" input. If you did, were you using the correct local net address?
Could you attach your VI instead of a image. It is much easier to troubleshoot a VI.
03-08-2009 10:10 AM
Here's the VI.
By the way, how do I check if UDP is properly implemented in a PC?
03-08-2009 01:59 PM - edited 03-08-2009 01:59 PM
Why do you refuse th wire the "net address" input?? It is crucial if you have multiple interfaces!
To get ALL local interfaces, configure string-to-IP for multiple outputs (right-click...). Now pick the desired interface and wire it to the net address input as shown. See if things improve. 😉 (no guarantees).
If the PC can access the network, changes are that UDP works. You still might need to adjust firewall settings to allow incoming connections.
03-10-2009 03:32 AM
It does not help. I still get the same error. Can any one solve this problem. It's driving me crazy. Even(as mentioned in the first post) in built UDP examples does not work. Why?
Thank u all for your reply so far.
03-10-2009 08:17 AM
Well, I am running out of ideas...
OK, found something. Are you using Windows Vista?
There was a LabVIEW 8.6 bug that was fixed in 8.6.1.
119890 | - | LabVIEW UDP Broadcast on Multiple NICs Does Not Work On Vista |
Could that be it? Maybe it's time to upgrade to 8.6.1. 😉
03-10-2009 10:47 AM
Hi Altenback
No. My OS is XP. Anyway, I would update to the latest to see if it works. Really appreciate your effort in helping me find a solution for the problem. Thanks a lot.