LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Yokogawa wt3000 over LAN, tmctl.dll

Solved!
Go to solution

I also forgot me. You really deserve some kudo's.

My application perfectly works due your help, KC. Smiley Wink

0 Kudos
Message 41 of 51
(1,236 Views)

Dear KC

first of all sorry for my bad english. 🙂

I have the same problem and I can not communicate with wt3000 over the ethernet.

I ve' creadted the visa in max and it was created succesfully, but I could not read from the device and time out was occured.

I saw the init vi that you uploaded and it is totally different from the driver vi page of ni.

I upload the current driver vi and as you see it does not have user pass and it seems it is created just for GPIB.

it would be a great favour if you can share your driver.

image.png

0 Kudos
Message 42 of 51
(491 Views)

@ehsan_ee1201 wrote:

 

I upload the current driver vi and as you see it does not have user pass and it seems it is created just for GPIB.


It's definitely not just for GPIB. The Intf Type == 4 comparison with the following case structure clearly is meant to handle the case when you connect through a serial port to the device. It should also work for TCP/IP except that it does not terminate the commands with a carriage return and/or line feed. So in that respect you are correct that the driver you have won't work as is through a TCP/IP connection.

Rolf Kalbermatter
My Blog
0 Kudos
Message 43 of 51
(485 Views)

Thanks a lot for fast replying.

In the previous comments I saw an attached png that show the initializing vi, and in that VI if the intf type == 6, setting for tcp/ip is performed. but in current VI driver this case structure does not exist.as you see in this VI username and password are sent to the instrument. 

Do I need to send user pass to wt3000 or it is not necessary? 

Thanks againInit.VI.png

0 Kudos
Message 44 of 51
(465 Views)

I don't know if the password and username is really needed. I guess it is something that can be enabled in the device and may only be needed when that was enabled.

 

Are you by any chance making the same error as in this thread where you look at the drivers for the WT300 and think the drivers for the WT3000 should be the same?

 

https://forums.ni.com/t5/LabVIEW/TCP-IP-Conection-with-Yokogawa-WT3001E/m-p/4335112

 

Rolf Kalbermatter
My Blog
0 Kudos
Message 45 of 51
(455 Views)

Dear Rolph

Thanks for fast replying and helping me to solve the problem.

Actually my instrument is WT3000 and I can ping to it in windows cmd.

In the threads that you mentioned I found the WT3000E driver and in the initializing VI of it I saw the case structure for setting TCP/IP with user pass.

I don't know if it works but I want to use this driver for my WT3000.

I can test it on Thursday and I will share the results.

Thanks again.

 

0 Kudos
Message 46 of 51
(446 Views)

Dear Rolph

I used the WT3000E Library for my instrument (WT3000) and I could connect to it over the ethernet (DHCP configuration and without DNS).

I used the initialize vi without id query and reset as you can see in the attached screenshot

But just the first vi after initialize vi responded and the others did not worked and the error "read from instrument" was happened.

But when I used the initialize vi before every vi that get data from WT3000 it worked but the speed is not good and the maximum transfer rate was about 0.5 sec

 

image.png

0 Kudos
Message 47 of 51
(435 Views)

Not quite understanding your explanation. But check if the driver appends a carriage return to all commands it sends and if it enables the end Read on termination character.

Rolf Kalbermatter
My Blog
0 Kudos
Message 48 of 51
(424 Views)

Thanks Dear Rolph

Sorry for my bad English.

Unfortunately I did not checked the carriage return sending When I accessed to the instrument.

I checked the driver package and it seems it does not send the carriage return.

I will test it as soon as I accessed to the instrument.

Thanks again

0 Kudos
Message 49 of 51
(390 Views)

Hello All,
is there anyone left who has old driver available and would be able to tell me what formatting is hidden in "Write Username" and "Write Password" VIs?

Honza_K_0-1728895351731.png

It is not included in any available driver version, and manufacturer did not specify formatting anywhere in the manual.
Thanks to everyone.

0 Kudos
Message 50 of 51
(181 Views)