Jump to content

How to set the network device on multi LAN system


Recommended Posts

Hi Guys,

 

I'm back again.....

I'm developing a software which talks to many devices using the TCPIP connection. On the PC where the software will work there are two lan boards. One is used to talk with the instruments and the other one will be used for other porpouse. Both are needed.

Now the issue: using the TCPIP connection I have many problem on getting the connection to the devices. I don't have the same problem if I use the VISA. The only difference I can see between the two systems is that while I can choose the board where I want to open a connection on the VISA driver I can't do the same when open the coonection with the TCPIP. Do you know if there is a method to choose the LAN board to use before opening the connection on TCPIP?
Link to comment

Make sure all the connections from one card don't use the same subnet as the connections being used from the other one and there is no router being used.

Subnet is the 3rd part of the ip. Ask your IT to help.

The rule is that if you use a router all connections should be through it and not p2p.

Try a ping and see if it goes through from each direction.

If the first ping doesn't go through or directed to the gateway or pings are blocked you'll start understanding what the problem is.

However, if possible, I would switch from using two Lans to using one Lan and a router.

Link to comment

 

@rgwagner:
 
What do you mean?? 
 
 
The addresses of the instruments are set 10.0.0.XXX mode. Can this produce issues?
 
I have changed the subnetmask of a secondary LAN board and it seems it works well, but I'm not sure it was the problem.....
I would like to be able to address the LAN board such as I can do via VISA. Do you know if I can address the LAN board which I want use on the TCP/IP functions?
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.