This widget could not be displayed.
This widget could not be displayed.

LabVIEW

This widget could not be displayed.
cancel
Showing results for 
Search instead for 
Did you mean: 

reset hub

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

This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 1 of 16
(4,424 Views)

Hi sbz,

 

Could give us some more info including the you have tken to troubleshot? Do you have firewall software installed?

Joe Daily
National Instruments
Applications Engineer

may the G be with you ....
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 2 of 16
(4,395 Views)

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.

This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 3 of 16
(4,384 Views)

there is no  firewall software installed. and also it is a switch not a hub, sorry.

thx guys

This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 4 of 16
(4,369 Views)

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).

This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 5 of 16
(4,353 Views)

 


@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?

This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 6 of 16
(4,342 Views)

yes, im using the same port and close it after each measurement. also both sides is labview based. thx

This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 7 of 16
(4,329 Views)

Why don't you keep the port open for the duration of the run?

This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 8 of 16
(4,325 Views)

labview gives an error that the port is busy.

This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 9 of 16
(4,312 Views)

Gives the error when? Please post your code, as your statements are a little too brief to really convey what you're doing.

This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 10 of 16
(4,306 Views)