LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to send username to access the device via TCP/IP

Solved!
Go to solution

Hi,
I need to get access to connect a device via ethernet. I can connect to the device via IP address and port without any problem. But when I start sending SCPI commands through VISU the device does not respond. I am 100% sure that I need to send a certain command to enter the username. Username is anonymous. Please does anyone know how to send username to the device to allow access?

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

What device is this? TCP/IP is simply a binary byte streaming link, what is send over this byte stream is VERY device specific. So you will need to read the Programmers Manual for your device to see what commands your device supports and expects.

Rolf Kalbermatter
My Blog
0 Kudos
Message 2 of 11
(1,106 Views)

Hi Misha,

 


@Misha4200 wrote:

I need to get access to connect a device via ethernet. I can connect to the device via IP address and port without any problem. But when I start sending SCPI commands through VISU the device does not respond. I am 100% sure that I need to send a certain command to enter the username. Username is anonymous. Please does anyone know how to send username to the device to allow access?


Which device are you talking about? Can you provide manufacturer, type, (programming) manual?

The answer to your question should be found in that programming manual!

 

Are you really sure about this "username" thing? I never heard of SCPI-compatible devices requiring a user login…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 11
(1,104 Views)

I have Yogokawa WT3001E. My mistake in the description. I dont know how in labview send username to device.

0 Kudos
Message 4 of 11
(1,091 Views)
0 Kudos
Message 5 of 11
(1,089 Views)

Hi Misha,

 


@Misha4200 wrote:

I have Yogokawa WT3001E. My mistake in the description. I dont know how in labview send username to device.


Where in this manual did you read about some "username" account settings?

Did you follow chapter 5 when sending commands to your device?

Did you try to use the device driver available in IDNet?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 11
(1,042 Views)

Yes i try this driver. This driver is function for Rs232 but not for ethernet. And in manual is described all about set username in Yokogawa but not how send this user name from PC to Yokogawa. 

0 Kudos
Message 7 of 11
(1,027 Views)
Solution
Accepted by topic author Misha4200

@Misha4200 wrote:

Yes i try this driver. This driver is function for Rs232 but not for ethernet. And in manual is described all about set username in Yokogawa but not how send this user name from PC to Yokogawa. 


I'm not sure where you looked but this seems quite clear (although a bit involved):

 

rolfk_0-1698060276148.png

 

This is from the download page for the WT3000E Series Analyzer

I downloaded the 2018 version.

Rolf Kalbermatter
My Blog
0 Kudos
Message 8 of 11
(1,018 Views)

Hi Misha,

 


@Misha4200 wrote:

And in manual is described all about set username in Yokogawa


Where? Which page, which chapter?

 


@Misha4200 wrote:

Yes i try this driver. This driver is function for Rs232 but not for ethernet.


Most often there only are some different settings (like TermChar) and getting rid of BytesAtPort property…

The SCPI commands stay the same!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 9 of 11
(1,017 Views)

@GerdW wrote:

Hi Misha,

 


@Misha4200 wrote:

And in manual is described all about set username in Yokogawa


Where? Which page, which chapter?



They mention in chapter 5 that you have to possibly login with a username, but fail to explain anywhere how to do that in detail. They do reference chapter 5.1 in a different manual for more details, but that manual only explains in more details how to setup the TCP/IP settings in the device for various use cases, nothing about the protocol to use to do the actual login.

 

I'm sure it is somewhere, but which manual, which chapter and in what version of the manual seems very unclear.

 

I only downloaded the 2018 driver as that is the LabVIEW version I have installed on this computer, but I doubt that the other versions would be really different, but who knows maybe the support person had a bad Monday when they did update the drivers page.

Rolf Kalbermatter
My Blog
0 Kudos
Message 10 of 11
(937 Views)