Author Topic: SCPI access to LeCroy Wavesurfer 3054?  (Read 2428 times)

0 Members and 1 Guest are viewing this topic.

Offline ColibanTopic starter

  • Regular Contributor
  • *
  • Posts: 62
  • Country: de
SCPI access to LeCroy Wavesurfer 3054?
« on: August 13, 2020, 08:03:32 am »
Hello,

i am trying to connect (telnet, sockets) to LeCroy WS3054.

But that is not working :-(

I can connect with telnet without a port an login to the system. But then there is only (presumably) the Embedded Windows environment which is useless for accessing the functions of the WS304.

Is it possible to establish such a socket connection?

"If Lyfe were a Thing that Monie could buy -- the Poor could not live & the Rich would not die." Quote on a gravestone from a glove maker, Scotland, 17th century
 

Offline tv84

  • Super Contributor
  • ***
  • Posts: 3217
  • Country: pt
Re: SCPI access to LeCroy Wavesurfer 3054?
« Reply #1 on: August 13, 2020, 08:10:18 am »
Try to see what ports are open:

nmap -p- <IP>
 

Online tautech

  • Super Contributor
  • ***
  • Posts: 28308
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: SCPI access to LeCroy Wavesurfer 3054?
« Reply #2 on: August 13, 2020, 08:15:43 am »
Try port 5024 as it's common to many Siglent models.
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline Sighound36

  • Frequent Contributor
  • **
  • Posts: 549
  • Country: gb
Re: SCPI access to LeCroy Wavesurfer 3054?
« Reply #3 on: August 13, 2020, 08:31:34 am »
Try port 5024 as it's common to many Siglent models.

However the software and encryption are on another level  ;D
Seeking quality measurement equipment at realistic cost with proper service backup. If you pay peanuts you employ monkeys.
 

Offline ColibanTopic starter

  • Regular Contributor
  • *
  • Posts: 62
  • Country: de
Re: SCPI access to LeCroy Wavesurfer 3054?
« Reply #4 on: August 13, 2020, 08:44:54 am »
There is no way to establish a socket connection :-(

Following ports are available:

Quote
PORT      STATE SERVICE
23/tcp    open  telnet
111/tcp   open  rpcbind
824/tcp   open  unknown
825/tcp   open  unknown
1861/tcp  open  lecroy-vicp
49999/tcp open  unknown


"If Lyfe were a Thing that Monie could buy -- the Poor could not live & the Rich would not die." Quote on a gravestone from a glove maker, Scotland, 17th century
 

Online tautech

  • Super Contributor
  • ***
  • Posts: 28308
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: SCPI access to LeCroy Wavesurfer 3054?
« Reply #5 on: August 13, 2020, 08:45:48 am »
Try port 5024 as it's common to many Siglent models.

However the software and encryption are on another level  ;D
:-//
It's one of these right ?
https://www.siglent.com/products-overview/sds3000x/
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Online 2N3055

  • Super Contributor
  • ***
  • Posts: 6571
  • Country: hr
Re: SCPI access to LeCroy Wavesurfer 3054?
« Reply #6 on: August 13, 2020, 11:11:11 am »
 

Offline ColibanTopic starter

  • Regular Contributor
  • *
  • Posts: 62
  • Country: de
Re: SCPI access to LeCroy Wavesurfer 3054?
« Reply #7 on: August 13, 2020, 02:34:58 pm »
@PeDre: that is very kind, thank you, but i am working on Linux.

@2N3055: thank you. But it seems that LeCroy is depending on Windows/Basic and so on.

I didnt manage to get SCPI fully to work on LeCroy (nor LXI). While i can attach the Device and, for example, set an SCPI command, for example *IDN?, it seems that the Lecroy is not fully supporting SCPI because the other commands are not working and the (very) old Error Messages ( at least 5 years old) is given by th LeCroy: WARNING : CURRENT REMOTE CONTROL INTERFACE IS TCPI


This message is given regardless if connected with visa or vxi.

My opinion is that I have no problems connecting all sorts of devices, Rhode & Schwarz, Keysight, Socket, GBIP, etc.,  etc. because they are supporting simple TCPIP socket connections
"If Lyfe were a Thing that Monie could buy -- the Poor could not live & the Rich would not die." Quote on a gravestone from a glove maker, Scotland, 17th century
 

Offline ColibanTopic starter

  • Regular Contributor
  • *
  • Posts: 62
  • Country: de
Re: SCPI access to LeCroy Wavesurfer 3054?
« Reply #8 on: August 14, 2020, 08:30:27 am »
I am not able to get SCPI on the LeCroy to run.
SCPI and socket communication is working on my Rohde & Schwarz (RTC1002) out of the box.
So i will order the R&S RTE 1024.
"If Lyfe were a Thing that Monie could buy -- the Poor could not live & the Rich would not die." Quote on a gravestone from a glove maker, Scotland, 17th century
 

Offline ollopa

  • Regular Contributor
  • *
  • Posts: 121
  • Country: 00
Re: SCPI access to LeCroy Wavesurfer 3054?
« Reply #9 on: January 09, 2022, 10:20:47 am »
For those who come across this thread seeking answers to the same issues with LeCroy scopes...

First of all SCPI is an instrument control language standard (that few vendors faithfully follow) independent of the transport (aka "connection").  Examples of transports you can talk SCPI over are GPIB, USBTMC, VXI-11, VISA SOCKET, VICP, etc.

LeCroy invented their own TCP/IP based transport for SCPI called VICP and they provide some adapter software only for NI-VISA.  This is what you get by default with the WS3K series of scopes.

The WS3K family does not support VISA SOCKET connections on port 5025 no matter what you do to it.  It does support VXI-11 but you must have the LXI option to enable the button in the remote settings.  The error message "WARNING : CURRENT REMOTE CONTROL INTERFACE IS TCPIP" is telling you that the VICP protocol has been selected and VXI-11 communications will not work. If you switch to USBTMC for remote control then the error message over VXI-11 becomes "WARNING : CURRENT REMOTE CONTROL INTERFACE IS USBTMC".

If you install the LXI option and select it as the remote control protocol then you can use the commands and queries specified in the manual http://cdn.teledynelecroy.com/files/manuals/maui-remote-control-and-automation-manual.pdf   section "Commands and Queries by Short Form"

Quote
-> *IDN?
<- *IDN LECROY,WS3054,LCRY9999N12000,9.2.0
-> CMR?
<- CMR 0
-> *STB?
<- *STB 0
-> STOP
-> TDIV 5NS
-> TDIV?
<- TDIV 5E-9 S
-> TRIG_MODE?
<- TRMD STOP
-> TRMD AUTO
-> TRMD?
<- TRMD AUTO


Good luck getting the option for the scope, though.  If you really want to talk to it over LAN then you'll probably find it easier to make or acquire a USBTMC to Ethernet bridge like this project https://goughlui.com/2021/02/20/project-a-usb-tmc-to-ethernet-lan-bridge-with-a-difference/

Or use some open-source VICP drivers like the scope HAL included in this project this https://hackaday.com/2019/05/30/glscopeclient-a-permissively-licensed-remote-oscilloscope-utility/
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf