LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TCP/IP Conection with Yokogawa WT3001E

Hello,
I'd like to ask you for ideas on how to solve the problem. I'm trying to set up communication on the Yokogawa WT3001E TCP/IP protocol. I have successfully connected the instrument to the NI MAX application manually via SOCKET. I set the port to 10001 according to the manufacturer's manual. I have, however, a problem with sending commands, both NI MAX and Labview. I get a message indicating a timeout (see photos attached). I also tried to change the communication from asynchronous to synchronous. Over RS-232 everything works as it should. I have Labview 2022 Q3.

Snímek obrazovky 2023-10-18 112617.png

0 Kudos
Message 1 of 11
(1,398 Views)

Hi,

 

This should work although I think you don't have to add the port to the address.

Can you ping the IP address from your computer ?

 

Kees

0 Kudos
Message 2 of 11
(1,377 Views)

The PC responds positively to my ping. I set the port to 10001 according to the datasheets. I'm sure the port is fine because I will connect Yokogawa WT3001E with NI MAX. But after sending the commands, the program reports an error in relation to the timeout. Now I read that I need to log in via username and password. But I don't know how to set it up through labview.

0 Kudos
Message 3 of 11
(1,371 Views)

Looks you are not using the Yokogawa drivers of the WT3000.

The initialize VI in the package uses the standard login and password.

Login is anonymous

Password is empty

 

Kees

0 Kudos
Message 4 of 11
(1,339 Views)

I am using library for WT3000 (viz Vi file and picture). But when i switch constant in Initialize.vi the case structure switch only to connect resorce and error wire. So i will test this on Yokogawa on friday, but i cant see function for set username and password.

I testing drivers on Yokogawa from this page: 

http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=19C964F3093E540FE05400144FF936...

 

Please can you send me reference on WT3000 drivers, because i am not sure that i have right drivers. 

Thank you a lot. 

 

Best regards Michael. 

  

 

Snímek obrazovky 2023-10-18 143513.png

  

0 Kudos
Message 5 of 11
(1,315 Views)

If you want to show the LabVIEW code please share your VI.

 

The drivers at NI are the latest. In the 'YKWT3000 VI Tree.vi' you will find the 'Initialize.vi' at the left.

 

Kees

0 Kudos
Message 6 of 11
(1,296 Views)

Hi,

i am sorry but drivers is not function. I am on 100% sure that i must send commnad with username: anonymous. But i dont know how.

0 Kudos
Message 7 of 11
(1,209 Views)

Why does the driver not function? I used them in the past without any problem.

 

Beside that in the driver Initialize VI you can see how to send the login and password.

 

Kees

0 Kudos
Message 8 of 11
(1,183 Views)

When I'm at the device, I'll try the driver from 2018, in the init section there is a direct entry of username and password.

 

Yokogawa WT300 Series Meter - USB, Ethernet, IEEE 488.2 (GPIB), Serial Driver for LabVIEW - National...

0 Kudos
Message 9 of 11
(1,176 Views)

The link in your last post is for the WT300

In previous post your are referring to the WT3000.

Two different instruments !!!

Message 10 of 11
(1,151 Views)