Keysight Pathwave 89600 VSA .NET API
Run Method
See Also 
Agilent.SA.Vsa.Interfaces Assembly > Agilent.SA.Vsa Namespace > Macro Class : Run Method


Glossary Item Box

Start the macro running.

Syntax

Visual Basic (Declaration) 
Public MustOverride Sub Run() 
C# 
public abstract void Run()
C++/CLI 
public:
abstract void Run(); 

Remarks

Macros run on a background thread. This method starts the macro running and returns immediately. The macro will run until it terminates on its own, or the Quit method is called. If the caller needs to know the termination status of the macro, watch for a PropertyChanged notification on the IsRunning property. When IsRunning toggles from true to false, then the TerminationStatus property can be queried to determine why the macro terminated.

Note that it is possible to run multiple macros simultaneously. Each macro runs on its own thread. It is up to the caller to ensure that the macros do not interfere with each other by attempting to perform conflicting actions.

Requirements

Target Platforms: Windows 11 Professional or Enterprise; Windows 10 Professional, Enterprise, or Education (64-bit)

See Also