10-16-2010 05:01 PM
Hi all,
I'm using an ethernet hub to network 2 homemade electronic boards and collect data from them using labview. The boards use udp for communication.
The problem is that each time that I collect data I have to either wait a couple of minutes or unplug the power of the hub in order to collect data again, otherwise it wont work.
any idea how to fix it?
thanks
sbz
10-18-2010 06:03 PM
Hi sbz,
Could give us some more info including the you have tken to troubleshot? Do you have firewall software installed?
10-18-2010 09:37 PM
I'm just trying to figure out how this is a LabVIEW question. This sounds like a hardware problem with the hub. Actually, why would you be using a hub? Hubs are pretty rare these days, as they've been supplanted by switches.
10-19-2010 01:21 PM
there is no firewall software installed. and also it is a switch not a hub, sorry.
thx guys
10-19-2010 04:15 PM
reason that i think its a labview problem is that its possible that the udp close does not close the port when it's networked with 2 instruments. (i have to use udp).
10-19-2010 07:14 PM
@sbz wrote:
reason that i think its a labview problem is that its possible that the udp close does not close the port when it's networked with 2 instruments. (i have to use udp).
Show us some code!
Are you always using the same port numbers?
How ofter do you close and re-open the ports?
Are both sides LabVIEW based?
10-20-2010 12:39 PM
yes, im using the same port and close it after each measurement. also both sides is labview based. thx
10-20-2010 12:46 PM
Why don't you keep the port open for the duration of the run?
10-20-2010 01:33 PM
labview gives an error that the port is busy.
10-20-2010 01:44 PM
Gives the error when? Please post your code, as your statements are a little too brief to really convey what you're doing.