Teledyne LeCroy WaveExpert 100H Operators Manual User Manual
Page 315

Wave Expert
WE-OM-E Rev A
313
1. Start a new VB project. Select ActiveX Control from the New tab.
2. Resize the control. A. In the Properties window set Width 11940. B. In the Properties
window set Height 2475.
3. Place two buttons on the control.
A. Double click on the command button at left of screen (left arrow below).
B. Move and resize the resulting button as required, using the handles (right arrow below).
C. Repeat for the second button. D. In the Properties window set the Name properties to
SingleButton and AutoButton, respectively. E. Set the button Caption properties to
Single and Auto, respectively
4. Create code for the buttons. A. Double click on the Single button. B. In the resulting code
window, insert code to make the following subroutine:
Private Sub SingleButton_Click()
Dim app as Object
Set app = CreateObject(“LeCroy.XStreamApplication”)
app.Acquistion.TriggerMode = “Stopped”
End Sub
Double click on the Auto button.
In the resulting code window, insert code to make the following subroutine: