
The argument “LeCroy.XStreamDSO” refers to our DSO application. Set XStreamDSO = CreateObject("LeCroy.XStreamDSO")ĬreateObject is the Visual Basic function that creates an instance of a COM Server (a.k.a. The second line of the setup file contains a Create Object Statement The CreateObject statement Part of a setup (.lss) file showing Visual Basic commands The scope display should be similar to Figure 1.

WaveRunner 6 Zi series or equivalent XStream oscilloscopeĭisplays shown in the tutorial are based on the following initial setup on a WaveRunner 6 Zi scope: The XStream browser introduction can be found in the remote manual on page 72 and in the Automation Manual on page 1-5.

(This is a nice way to find and test commands). It will let you make changes to the scope from it and you can also make a change on the scope and then refresh the browser to read the new value. This application connects to the scope and exposes the automation items. Among the topics discussed is the use of the XStream Browser. This manual is a comprehensive resource on all the aspects of automation programming. Users are strongly urged to consult LeCroy’s Automation manual on the LeCroy Website at: It doesn’t rely upon any third-party development tools, since it uses Windows’ built-in text editor (Notepad) and the Visual Basic Script interpreter (VBScript), which is also installed on all LeCroy XSream oscillocopes. This tutorial presents a procedure of how to create a simple remote control application, which will run on the instrument, from scratch. In effect, each time a panel is saved, the instrument effectively writes you a program that, when executed, returns the instrument to the saved state. Scope setup files, in X-Stream DSOs, are ASCII text files that contain a complete Visual Basic Script “program” that, when “executed,” will restore the instrument to a previously recorded state.

Using COM, the controlling application can run directly on the instrument without requiring an external controller. In addition to supporting the familiar ASCII-based remote commands that have been used to control all LeCroy DSOs for many years, all of the Windows-based “X-Stream” instruments fully support control by Automation interfaces based on Microsoft’s Component Object Model (COM).
