EasyManua.ls Logo

Keysight E4990A - Page 338

Keysight E4990A
669 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
E4990A Help
328
1. Copy the following code into a Notepad file.
2. Save the file on the analyzer storage in the D: folder. Name the file
as "echoMarker.vbs"
3. Double-click the file to execute.
Sample Program
dim ana
set ana = CreateObject("E4990.Application")
ana.scpi.display.table.state = true
ana.scpi.display.table.type = "echo"
ana.scpi.display.echo.clear
ana.scpi.calculate.selected.marker(1).state = true
ana.scpi.calculate.selected.marker(1).activate
ana.scpi.calculate.selected.marker(1).function.type ="maximum"
ana.scpi.calculate.selected.marker(1).function.execute
axisx = ana.scpi.calculate.selected.marker(1).x.data
axisy = ana.scpi.calculate.selected.marker(1).y
ana.scpi.display.echo.data = cstr(axisx)
ana.scpi.display.echo.data = cstr(axisy(0))
Using User Menu
Overview
Sample Program
Other topics about Using Macro
Overview
This sample program demonstrates the following operation.
1. Set the softkey label of user menu (Macro Setup > User Menu).
2. When user menu softkey is pressed, the Sub
UserMenuButton_OnPress(bNo) is executed with the key number.
3. The marker is operated according to the key number.
To use this sample:
1. Copy the following code into a Notepad file.
2. Save the file on the analyzer storage in the D: folder. Name the file
as "userMenu.vbs".
3. Double-click the file to execute.
Sample Program
dim ana

Table of Contents

Other manuals for Keysight E4990A

Related product manuals