Other topics about Sample Application Program
This sample program demonstrates the following operation.
Activate Marker 1.
Search Max point.
Display the marker value in the echo window.
To use this sample:
Copy the following code into a Notepad file.
Save the file on the analyzer storage in the D: folder. Name the file as "echoMarker.vbs"
dim ena
set ena = CreateObject("E5070.Application")
ena.scpi.display.table.state = true
ena.scpi.display.table.type = "echo"
ena.scpi.display.echo.clear
ena.scpi.calculate.selected.marker(1).state = true
ena.scpi.calculate.selected.marker(1).activate
ena.scpi.calculate.selected.marker(1).function.type ="maximum"
ena.scpi.calculate.selected.marker(1).function.execute
axisx = ena.scpi.calculate.selected.marker(1).x
axisy = ena.scpi.calculate.selected.marker(1).y
ena.scpi.display.echo.data = cstr(axisx)
ena.scpi.display.echo.data = cstr(axisy(0))