LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Connecting instruments via an ethernet switch

Solved!
Go to solution

Hello,

 

I'm looking forward to implementing the following configuration in order to complete the instrumentation of a dynamometer via LabView:

 

 

Displaying noname

 

Firstly (and since we're still waiting for some of the Hardware) I've tried to connect the Yokogawa Power Analyzer to the Host Computer via the Ethernet Switch. So, the Ethernet switch has 8 ports, 3 of them are currently being used:

Port 1: Host Computer
Port 2: Internet

Port 3: Yokogawa Power Analyzer

I determined the IP address of the power analyzer and tried to ping it to see if the connection was working correctly but I received no answer from it. Is there something that could be going wrong?

The user manual for the power analyzer follows: http://www.yokogawa.co.jp/ftp/dist/ks/eusers/wt/ked5s/im/IMWT1801-02EN_020.pdf

Section 20.2 speaks about TCP/IP connections. I've been looking on the forums and haven't managed to find an answer,

 

Thankyou for your help.

0 Kudos
Message 1 of 17
(7,951 Views)

Did you follow the procedures described in Chapter 20 for connecting your PC to the device?  Did it work?  Can your PC connect to a normal network?  Have you tried connecting your PC directly to the device (perhaps through a simple hub so you don't need to worry about whether you need a straight-through or cross-over cable)?

 

Bob Schor

0 Kudos
Message 2 of 17
(7,934 Views)
Is the ip address of the instrument on the same subnet as your pc?

The link to the picture throws an error. Silly to host the image someplace other than right here as a direct attachment.
0 Kudos
Message 3 of 17
(7,924 Views)
Solution
Accepted by topic author Florasga

Hi,

 

Try this one.

 

Kees

0 Kudos
Message 4 of 17
(7,882 Views)

What are the IP addresses of your instrument and your PC.  My very first thought is that you will need to enable the Ethernet port on the instrument.  My second thought was incompatible IP addresses (ie different subnets).


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 5 of 17
(7,861 Views)

@Bob_Schor

I did follow such procedures, and it didn't work. Since the connection is via the school network, I'm pending the school technological service to allow network access to the device. I tried connecting it directly but the manual itself states that the connection isn't guaranteed to work if it's done directly (although i'm using an ethernet switch). I will get to you once network access is allowed with whatever turns out.

 

Thankyou

0 Kudos
Message 6 of 17
(7,818 Views)

@Dennis_Knutson

Yes, both the instrument and the host pc are on the same subnet. I actually copied the image into the post, didn't host it somewhere else. Anyway here it is since I can't edit the original post.

 

 

0 Kudos
Message 7 of 17
(7,814 Views)

@K C

Hello,
I will try that whenever the device has network access enabled. So, whenever I follow that procedure that will allow me to find the device under the connected components?

So, whenever I try to use the drivers I downloaded for the WT1800, I will only need to use the VISA alias I gave on the configuration? I'm sorry if I didn't express myself good enough, I feel a bit lost.

Thankyou once more!

0 Kudos
Message 8 of 17
(7,805 Views)

@Crossrulz

Both IP addresses are assigned by the network (DHCP). These are:

 

Device

IP Address: 172.16.144.206

Net Mask: 255.255.255.0

Gate Way: 172.16.144.2

 

Host Computer

IP Address: 216.47.158.30
Net Mask: 255.255.255.0

Gate Way: 216.47.158.2

 

The ethernet port on the instrument is enabled.

Thankyou very much!

0 Kudos
Message 9 of 17
(7,800 Views)
Solution
Accepted by topic author Florasga

Somethong is odd about the values assigned by the DHCP Server. In my experience, DHCP servers normally give IP addresses from a limited range. So they should be more similar than that. Secondly the gateway should be the same if assigned by the same server. I bet the DHCP is turned on on your switch, and / or you have the internet or host PC plugged into the WAN port. The gateway is where your computer looks when a resource is on a different subnet. Your PC is probably try to send the instrument commands out the gateway cause its not on its local subnet.

 

To sum up - make sure you're not actually using a router instead of a switch. If it is a router, its OK, just log into the control panel, and disable the local DHCP - only one DHCP server should exist on your network, also make sure no one is plugged into the WAN port so all addresses are assigned by the main DHCP server.

 

BTW - the subnet is not part of the physical layout, its part of the address related to the subnet mask. Wiki it for more info

 

Hope that helps

0 Kudos
Message 10 of 17
(7,794 Views)